Module mls_rs_core::crypto
source · Structs§
- Wrapper type representing a ciphersuite identifier along with default values defined by the MLS RFC. Custom ciphersuites can be defined using a custom
CryptoProvider
. - Ciphertext produced by
CipherSuiteProvider::hpke_seal
- Byte representation of an HPKE public key. For ciphersuites using elliptic curves, the public key should be represented in the uncompressed format.
- Byte representation of an HPKE secret key.
- Byte representation of a signature public key. For ciphersuites using elliptic curves, the public key should be represented in the uncompressed format.
- Byte representation of a signature key.
Enums§
- Modes of HPKE operation.
Traits§
- Provides all cryptographic operations required by MLS for a given cipher suite.
- Provides implementations for several ciphersuites via
CipherSuiteProvider
. - The HPKE context for receiver outputted by hpke_setup_r. The context internally stores secrets received from the sender by hpke_setup_r.
- The HPKE context for sender outputted by hpke_setup_s. The context internally stores the secrets generated by hpke_setup_s.