package hpke

  1. Overview
  2. Docs

Module Hpke.KemSource

Sourcetype id =
  1. | P256
  2. | P384
  3. | P521
  4. | X25519

The closed registry of supported RFC 9180 KEM identifiers.

Sourceval to_int : id -> int
Sourceval of_int : int -> (id, Error.t) result
Sourceval pp : Format.formatter -> id -> unit
Sourceval public_key_size : id -> int
Sourceval private_key_size : id -> int
Sourceval encapsulated_key_size : id -> int