package pkcs11

  1. Overview
  2. Docs
PKCS#11 ocaml types

Install

Dune Dependency

Authors

Maintainers

Sources

pkcs11-v1.0.0.tbz
sha256=eee2e67fff116d747d1d0f6229af9e952cbb4f9a56765c069c63c1e1bbbc67a3
sha512=3a1090b0cd53b09dffb4c2a2d591e290ff3fe9add1217797f9746a1a6af0d41239b217f1dd45354e3ee457ff007d68bb4d8d83f07001d6ad9870e7aaba4fd434

doc/pkcs11/P11_aes_ctr_params/index.html

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.