]> git.ipfire.org Git - thirdparty/openssl.git/commit
Split the ML-DSA internal sigver functions
authorSimo Sorce <simo@redhat.com>
Wed, 9 Apr 2025 13:35:20 +0000 (09:35 -0400)
committerTomas Mraz <tomas@openssl.org>
Wed, 23 Apr 2025 11:35:03 +0000 (13:35 +0200)
commit90f0137453aaec5f09d26fda91c6025ae25e4130
tree6ab6ebd8b32304dca7bbf15aba5b572486093f43
parent58dfbe34e1b43233bf37f1c2a47622c46532cedd
Split the ML-DSA internal sigver functions

Deconstruct the functions into 2 parts:
- mu computation (if needed)
- actual signing/verification

Adds helper to compute mu that is split in 3 parts
(init/update/finalize) where the update part can be used to feed the message
to be signed or verified in chunks of any size.

Signed-off-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27342)
crypto/ml_dsa/ml_dsa_sign.c