Realm

oa::crypto::pqc::device::mldsa_sign

Sign public U8 message bytes with the FIPS 204 context (at most 255 bytes). Inputs retain the key’s Engine; neither input is copied to host. Errors Rejects dtype/ownership/alias/context errors, capture, or execution failure.

FnRust public API

Function Documentation

pub fn mldsa_sign( key: &DeviceMlDsaKey, message: &Matrix, context: &Matrix, mode: SigningMode ) -> Result<DeviceSignature>
Sign public U8 message bytes with the FIPS 204 context (at most 255 bytes). Inputs retain the key’s Engine; neither input is copied to host. Errors Rejects dtype/ownership/alias/context errors, capture, or execution failure.