Absolutely!
I’m surprised that NIST missed that, and hope they will quickly address the problem and align (that part of) FIPS 204 with FIPS 2-5 and DER.
--
V/R,
Uri
There are two ways to design a system. One is to make it so simple there are obviously no deficiencies.
The other is to make it so complex there are no obvious deficiencies.
- C. A. R. Hoare
From: pqc-...@list.nist.gov <pqc-...@list.nist.gov> on behalf of Markku-Juhani O. Saarinen <mjos....@gmail.com>
Date: Wednesday, August 14, 2024 at 03:50
To: pqc-forum <pqc-...@list.nist.gov>
Subject: [EXT] [pqc-forum] FIPS 204: ML-DSA hash OIDs encoded backwards
Hi All, HashML-DSA. Sign() and HashML-DSA. Verify() in FIPS 204 insert the hash function OID using the primitive IntegerToBytes(), which converts the input integers to bytes in little-endian order. Since the OID is handled as a "big integer"
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside the Laboratory.
ZjQcmQRYFpfptBannerEnd
--
You received this message because you are subscribed to the Google Groups "pqc-forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pqc-forum+...@list.nist.gov.
To view this discussion on the web visit https://groups.google.com/a/list.nist.gov/d/msgid/pqc-forum/CA%2BiU_q%3De8BkrRkYCwPjx7WvdGrPeFgk1bv4QOq%2B8brJFx_tqZQ%40mail.gmail.com.
Hi Markku and Uri,
We agree. The byte ordering in HashML-DSA looks like a mistake.
We are currently looking into fixing it,
Ray
To view this discussion on the web visit https://groups.google.com/a/list.nist.gov/d/msgid/pqc-forum/PH1P110MB1412AE7E7799B98703490EBE9087A%40PH1P110MB1412.NAMP110.PROD.OUTLOOK.COM.
Dear all.
We have posted an update to FIPS 204 to correct this issue. The byte ordering of the OID should now match standard DER encoding (and the byte ordering used by FIPS 205.) We also made some minor editorial changes and modifications to the pseudocode of algorithms 9,11, and 13, to make implementation mistakes less likely in the case that the pseudocode is assumed (contrary to our intent) as passing algorithm inputs by reference. These algorithms (if interpreted as pass by value) are functionally equivalent to the pseudocode prior to our update.
Ray
--
You received this message because you are subscribed to the Google Groups "pqc-forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pqc-forum+...@list.nist.gov.
To view this discussion on the web visit https://groups.google.com/a/list.nist.gov/d/msgid/pqc-forum/SA1PR09MB86699D503A3DE0698949CA77E58F2%40SA1PR09MB8669.namprd09.prod.outlook.com.