Module crypto

Source
Expand description

Dependencies of CryptoProvider and CipherSuiteProvider

Structs§

HpkeCiphertext
Ciphertext produced by CipherSuiteProvider::hpke_seal
HpkePublicKey
Byte representation of an HPKE public key. For ciphersuites using elliptic curves, the public key should be represented in the uncompressed format.
HpkeSecretKey
Byte representation of an HPKE secret key.
Secret
Wrapper struct that represents a zeroize-on-drop Vec<u8>
SignaturePublicKey
Byte representation of a signature public key. For ciphersuites using elliptic curves, the public key should be represented in the uncompressed format.
SignatureSecretKey
Byte representation of a signature key.

Traits§

HpkeContextR
The HPKE context for receiver outputted by hpke_setup_r. The context internally stores secrets received from the sender by hpke_setup_r.
HpkeContextS
The HPKE context for sender outputted by hpke_setup_s. The context internally stores the secrets generated by hpke_setup_s.