Expand description
Random number generators for the KyberLib library. RNG helpers.
kyberlib’s public surface consumes generic rand_core::RngCore
rand_core::CryptoRng— see the function signatures incrate::apiandcrate::ml_kem. The single helper exported here (randombytes) wrapsRngCore::try_fill_bytesto surface kyberlib’sKyberLibError::RandomBytesGenerationvariant on external-RNG faults.
Functions§
- randombytes
- Fills a buffer
xwithlenbytes of random data.