Expand description
There are no advanced features in this low memory crate that are not already documented in the standard [bouncycastle_mlkem] crate.
Structs§
- MLKEM
- The core internal implementation of the ML-KEM algorithm. This needs to be public for the compiler to be able to find it, but you shouldn’t ever need to use this directly. Please use the named public types.
Constants§
- MLKE
M512_ CT_ LEN - Length of the [u8] holding a ML-KEM-512 ciphertext.
- MLKE
M512_ FULL_ SK_ LEN - Length of the [u8] holding a full ML-KEM-512 private key in the NIST encoding.
- MLKE
M512_ PK_ LEN - Length of the [u8] holding a ML-KEM-512 public key.
- MLKE
M512_ SK_ LEN - Length of the [u8] holding a ML-KEM-512 seed-based private key.
- MLKE
M768_ CT_ LEN - Length of the [u8] holding a ML-KEM-768 ciphertext.
- MLKE
M768_ FULL_ SK_ LEN - Length of the [u8] holding a full ML-KEM-768 private key in the NIST encoding.
- MLKE
M768_ PK_ LEN - Length of the [u8] holding a ML-KEM-768 public key.
- MLKE
M768_ SK_ LEN - Length of the [u8] holding a ML-KEM-768 seed-based private key.
- MLKE
M1024_ CT_ LEN - Length of the [u8] holding a ML-KEM-1024 ciphertext.
- MLKE
M1024_ FULL_ SK_ LEN - Length of the [u8] holding a full ML-KEM-512 private key in the NIST encoding.
- MLKE
M1024_ PK_ LEN - Length of the [u8] holding a ML-KEM-1024 public key.
- MLKE
M1024_ SK_ LEN - Length of the [u8] holding a ML-KEM-512 seed-based private key.
- MLKEM_
RND_ LEN - Length of the [u8] holding an ML-KEM encaps random value, also sometimes called the message
m - MLKEM_
SEED_ LEN - Length of the [u8] holding an ML-KEM seed value.
- MLKEM_
SS_ LEN - Size of in bytes of an ML-KEM shared secret key.
- ML_
KEM_ 512_ NAME - ML_
KEM_ 768_ NAME - ML_
KEM_ 1024_ NAME
Traits§
- MLKEM
Trait - Trait for all three of the ML-DSA algorithm variants.