Realm

oa::crypto::pqc::device::mldsa_import_key

Import FIPS 204 signing-key bytes with their encoded public U8 key. The secret input range is locked best-effort and erased before return; its upload becomes the retained device secret. Importing does not prove that the secret and public halves form a consistent key pair. Errors Rejects extent/ownership mismatches, capture, or submission errors.

FnRust public API

Function Documentation

pub fn mldsa_import_key( engine: &Engine, parameters: MlDsaParameters, secret_key: &mut [u8], public_key: &Matrix ) -> Result<DeviceMlDsaKey>
Import FIPS 204 signing-key bytes with their encoded public U8 key. The secret input range is locked best-effort and erased before return; its upload becomes the retained device secret. Importing does not prove that the secret and public halves form a consistent key pair. Errors Rejects extent/ownership mismatches, capture, or submission errors.