Psa.Key_derivationKey derivation.
See also Key derivation in Alg.
The type for psa_key_derivation_step_t.
module Operation : sig ... endKey derivation operations.
val setup : Operation.t -> Alg.t -> Status.tval get_capacity : Operation.t -> (int, Status.t) Stdlib.resultval set_capacity : Operation.t -> int -> Status.tval input_bytes : Operation.t -> step -> Bytesrw.Bytes.Slice.t -> Status.tval input_integer : Operation.t -> step -> uint64 -> Status.tval input_key : Operation.t -> step -> Key_id.t -> Status.tval output_bytes : Operation.t -> Bytesrw.Bytes.Slice.t -> Status.tval output_key :
Key_attributes.t ->
Operation.t ->
(Key_id.t, Status.t) Stdlib.resultval verify_bytes : Operation.t -> Bytesrw.Bytes.Slice.t -> Status.tval verify_key : Operation.t -> Key_id.t -> Status.tval abort : Operation.t -> Status.tval key_agreement :
Operation.t ->
step ->
private_key:Key_id.t ->
peer_key:Bytesrw.Bytes.Slice.t ->
Status.t