Hi all,
The CAVP is wrapping up work on adding testing for the external interfaces for SLH-DSA. For completeness, there was a fix to the ML-DSA testing, so those files will also be updated. The compressed files are too large to upload through email.
We are planning to push this out to our Demo ACVTS next week. The algorithms will be available for validation testing at the earliest, one week after that. In general we provide pre-generated vector sets for all NIST-approved algorithms at https://github.com/usnistgov/ACVP-Server/tree/master/gen-val/json-files. Note that we update the repository when we push out to Demo, so the vector sets for ML-DSA and SLH-DSA will not yet be updated.
For brevity, ideally by Thursday 1/16, the GitHub repository will contain the updated JSON files for external interface testing for SLH-DSA and ML-DSA. When it happens, I will update the forum.
As a reminder, there are 4 important JSON files that comprise a vector set.
We also provide specifications on https://pages.nist.gov/ACVP that describe these JSON files in more detail. Of interest to this group will be https://pages.nist.gov/ACVP/draft-livelsberger-acvp-slh-dsa.html#section-6 and https://pages.nist.gov/ACVP/draft-celi-acvp-ml-dsa.html#section-6 that go into detail on the construction of the tests. Note that for ML-DSA the server does not yet perform all the listed tests for signature generation. This is something we are working on to push out soon. The test cases in Section 6 of the ML-DSA specification are valid. They are pulled from the data we will use on the server to generate vector sets in the future.
Feel free to reach out directly with questions. A lot happens on the pqc-forum and I’m not the best at monitoring it.
Thanks,
Chris Celi
CAVP Program Manager
For pre-generated vector sets, the repo has been updated: https://github.com/usnistgov/ACVP-Server/tree/master/gen-val/json-files.
Thanks,
Chris Celi
THALES GROUP LIMITED DISTRIBUTION to email recipients
From an implementer perspective, we read this text as informative rather than being something a module needs to enforce.
In particular:
We’d very much appreciate a clarification from NIST CTG as to whether this is a requirement and needs to be enforced (where possible) by modules or not.
To unsubscribe from this group and stop receiving emails from it, send an email to
pqc-forum+...@list.nist.gov.
To view this discussion visit
https://groups.google.com/a/list.nist.gov/d/msgid/pqc-forum/4ccde8bb-f968-4680-9386-6c020a320318%40amongbytes.com.
>we read this text as informative rather than being something a module needs to enforce.
>we read this text as informative rather than being something a module needs to enforce.
I agree with this interpretation. NIST has traditionally allowed combining algorithms of different strengths with the result that the resulting strength is the minimum of the algorithms.
(That said I think this is an example of how HashML-DSA creating a lot of complexity. I would be happy if HashML-DSA is not implemented.)
Cheers,
John
Correct. The CAVP worked with the standards authors on ensuring the test vectors were valid. This was one of my questions. There is no shall statement around using a hash function with at least lambda security strength. You may use any hash function, but you will lower the overall security strength of your signature based on the hash function chosen.
Thanks,
Chris Celi
I agree with this interpretation. NIST has traditionally allowed combining algorithms of different strengths with the result that the resulting strength is the minimum of the algorithms.
(That said I think this is an example of how HashML-DSA creating a lot of complexity. I would be happy if HashML-DSA is not implemented.)
100% agree. HashML-DSA does not make sense to me either, and should not be implemented/supported.
From: 'COSTA Graham' via pqc-forum <pqc-...@list.nist.gov>
Date: Tuesday, 21 January 2025 at 12:46
To: Kris Kwiatkowski <kr...@amongbytes.com>, pqc-...@list.nist.gov <pqc-...@list.nist.gov>
Subject: RE: [pqc-forum] Re: ML-DSA and SLH-DSA External Interface Test Vectors
THALES GROUP LIMITED DISTRIBUTION to email recipients
From an implementer perspective, we read this text as informative rather than being something a module needs to enforce.
In particular:
1. there is no ‘shall’ statement in the highlighted text and as such, we decided this wasn’t something the standard was requiring vendors to enforce; and
2. in the case of ‘external mu’ – there isn’t a direct guaranteed path for the module performing the signature to enforce this.
Thank you for the clarification.
Indeed, the text suggests rather than mandates which hash
function should be used. Nevertheless, I appreciate the
opportunity to discuss this further, as such an approach may
indeed lower the overall security strength of the signature.
Kind regards,
Kris
Hi Chris, PQC-forum,
Also wanted to thank you for this update! For those interested, our implementation of ML-DSA (https://github.com/aws/aws-lc/blob/main/crypto/ml_dsa/ml_dsa.c) in AWS-LC is now updated to include both pure and ExternalMu modes and passes the updated ACVP test vectors.
We’ve supplemented the unofficial ML-DSA KAT vectors from Kris Kwiatkowski (https://groups.google.com/a/list.nist.gov/g/pqc-forum/c/63upUY9hYPI) that we perform with vectors extracted from the official NIST ACVP test vectors to provide keyGen, sigGen, and sigVer, KATs from seeds. Examples of the KATs can be found here https://github.com/aws/aws-lc/tree/main/crypto/ml_dsa/kat.
Only one small nit with the draft specification (https://pages.nist.gov/ACVP/draft-celi-acvp-ml-dsa.html) in that the registration properties table use inconsistent names for “signatureInterfaces” and “signatureInterface” (without plural) – tables 6, 8 both refer to “signatureInterfaces” whereas section 6.1.2, tables 13, 14, 15, 16 all refer to the string as “signatureInterface”.
Cheers,
Jake
From: <pqc-...@list.nist.gov> on behalf of "Markku-Juhani O. Saarinen" <mjos....@gmail.com>
Date: Wednesday, January 15, 2025 at 12:40 PM
To: pqc-forum <pqc-...@list.nist.gov>
Cc: "Celi, Christopher T. (Fed)" <christop...@nist.gov>
Subject: [EXTERNAL] [pqc-forum] Re: ML-DSA and SLH-DSA External Interface Test Vectors
|
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe. |
--
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 visit https://groups.google.com/a/list.nist.gov/d/msgid/pqc-forum/d94bb5fc-26b8-4e82-8bf3-840a193fab5bn%40list.nist.gov.