noble-post-quantum icon indicating copy to clipboard operation
noble-post-quantum copied to clipboard

ML-DSA: missing context encoding step (only `internal` functions implemented?)

Open larabr opened this issue 5 months ago • 1 comments

It seems that the exposed mldsa sign and verify functions correspond to ML-DSA.Sign_internal and Verify_internal (i.e. Algo 7 and 8 in FIPS 204), rather than Algo 2 and 3, which additionally encode a context string in input.

Is this intended? If so, I think this should be clarified in the README, as interoperability with other libs is affected.

larabr avatar Sep 23 '24 14:09 larabr