package pkcs11

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

Module P11_aes_ctr_paramsSource

Counters for AES CTR. In PKCS11 applications:

  • bits must be between 1 and 128, inclusive. It represents the number of bits that will act as a counter in block.
  • block must be a 16-byte string. Its counter part (big endian) is at the end.

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 : bits:P11_ulong.t -> block:string -> t
Sourceval bits : t -> P11_ulong.t
Sourceval block : t -> string
OCaml

Innovation. Community. Security.