Realm

oa::crypto::pqc::device::mldsa_sign_hash_message

Hash and sign original public U8 message bytes on device (HashML-DSA). Errors Rejects dtype/ownership/alias/context errors, capture, or execution failure.

FnRust public API

Function Documentation

pub fn mldsa_sign_hash_message( key: &DeviceMlDsaKey, message: &Matrix, context: &Matrix, algorithm: MlDsaPrehash, mode: SigningMode ) -> Result<DeviceSignature>
Hash and sign original public U8 message bytes on device (HashML-DSA). Errors Rejects dtype/ownership/alias/context errors, capture, or execution failure.