package pkcs11

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module P11_gcm_paramsSource

Parameter for AES GCM. In PKCS11 applications:

  • the length of iv can be any number between 1 and 256.
  • tag_bits can be any value between 0 and 128.

These invariants are not checked, in order to represent invalid states that DLLs may return.

Sourcetype t
Sourceval compare : t -> t -> Ppx_deriving_runtime.int
Sourceval to_yojson : t -> Yojson.Safe.t
Sourceval make : iv:string -> aad:string -> tag_bits:P11_ulong.t -> t
Sourceval iv : t -> string
Sourceval aad : t -> string
Sourceval tag_bits : t -> P11_ulong.t
OCaml

Innovation. Community. Security.