Re: Pure ML-DSA signature verification

Christian Schmidt <[email protected]> Tue, 24 Feb 2026 14:38:03 +0100
Newsgroups gmane.comp.encryption.openssl.user
Message-ID <[email protected]>
On 2/24/26 1:19 PM, Manish Patidar wrote:
> Hi
> 
> I am attempting to verify the Pure ML-DSA signature, but I have 
> encountered an issue. OpenSSL does not support the Verify update 
> operation, meaning the data to be verified must be provided in one 
> instance.
> Is this a limitation of OpenSSL or the Pure ML-DSA algorithm?

If it's like ED25519 signatures, it's a limitation of openssl. I need to 
add a large patch with an init_ex function as this digest algorithms 
requires the signature during the initialization, which the current API 
does not support.

Looking at page 27 of FIPS 204 to me implies that in ML-DSA the 
signature that is to be verified also is processed before the actual 
message data, though I did not actually try to understand the algorithm 
in detail. So ML-DSA would also need an init_ex function that can 
receive the signature early.

As such, I'd say it's a limitation of openssl for ML-DSA, too.

Regards,
Christian

> Regards
> Manish
> 
> -- 
> You received this message because you are subscribed to the Google 
> Groups "openssl-users" group.
> To unsubscribe from this group and stop receiving emails from it, send 
> an email to openssl-users+unsubscribe-MCmKBN63+BlAfugRpC6u6w@public.gmane.org <mailto:openssl- 
> [email protected]>.
> To view this discussion visit https://groups.google.com/a/openssl.org/d/ 
> msgid/openssl-users/CAN6ajHKQXjhD- 
> TxyVCtEamJq242q35cK%2BNqOffZAXM6_XeXAvw%40mail.gmail.com <https:// 
> groups.google.com/a/openssl.org/d/msgid/openssl-users/CAN6ajHKQXjhD- 
> TxyVCtEamJq242q35cK%2BNqOffZAXM6_XeXAvw%40mail.gmail.com? 
> utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups "openssl-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openssl-users+unsubscribe-MCmKBN63+Bmbup2nOX2J7Q@public.gmane.org
To view this discussion visit https://groups.google.com/a/openssl.org/d/msgid/openssl-users/b375bf68-0284-47c4-9d18-af7b23482cf5%40digadd.de.