Module Psa.Key_location

Key locations.

Key locations

type t

The type for psa_key_location_t.

val local_storage : t
val primary_secure_element : t

Predicates and comparisons

val equal : t -> t -> bool

equal l0 l1 is true iff l0 and l1 are equal.

val compare : t -> t -> int

compare is a total order compatible with equal.

Converting

val to_uint32 : t -> uint32

to_uint32 l is l as an unsigned 32-bit integer.

val of_uint32 : uint32 -> t

of_uint32 i is a key location from i.

Formatting

val pp : Stdlib.Format.formatter -> t -> unit

pp formats key locations for inspection.