Realm

oa::crypto::pqc::device::mlkem_keygen

Generate a retained ML-KEM-512/768/1024 key from fresh OS entropy. Errors Rejects unsupported kernels, capture, allocation, entropy, or submission errors.

FnRust public API

Function Documentation

pub fn mlkem_keygen( engine: &Engine, parameters: MlKemParameters ) -> Result<DeviceMlKemKey>
Generate a retained ML-KEM-512/768/1024 key from fresh OS entropy. Errors Rejects unsupported kernels, capture, allocation, entropy, or submission errors.