ACVP KAT JSON File Format for ML-KEM encapDecap mode

432 views
Skip to first unread message

Anjan Roy

unread,
Sep 22, 2025, 11:38:13 AMSep 22
to pqc-forum
Dear NIST and broader PQC community,

I'm adding support for ML-KEM ACVP KATs in my C++ zero-dependency header-only implementation @ https://github.com/itzmeanjan/ml-kem.

I'm looking at internalProjection.json file @ https://github.com/usnistgov/ACVP-Server/blob/d98cad66639bf9d0822129c4bcae7a169fcf9ca6/gen-val/json-files/ML-KEM-encapDecap-FIPS203/internalProjection.json, where in "tgID-{4,5,6}" tests, it doesn't have any "testPassed" field. It's present in other "VAL" tests, which is really helpful as I'm trying to parse this JSON file into another plaintext format.

Screenshot From 2025-09-22 20-53-40.png

Would not it make sense to add a "testPassed" field for those three categories of tests? Or am I missing some other way of parsing these files?

Screenshot From 2025-09-22 20-54-06.png

To give some more context, I'm using https://github.com/itzmeanjan/ml-kem/blob/43c7e02b4f652d2e89af5fcf525322b5578d0071/kats/scripts/sync_acvp_kats.sh sort of script to parse to desired format.

Kind regards,
Anjan

Anjan Roy

unread,
Oct 31, 2025, 12:50:00 PMOct 31
to pqc-forum
Dear NIST,

Just wondering if you got a chance to look at this.

Kind regards,
Anjan

Jacob Alperin-Sheriff

unread,
Oct 31, 2025, 12:58:26 PMOct 31
to Anjan Roy, pqc-forum
There is an ongoing US government shutdown, man 

-Jacob Alperin-Sheriff


--
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/8ec72d81-beb5-43e7-8b5f-cf595f756603n%40list.nist.gov.

Anjan Roy

unread,
Nov 1, 2025, 3:52:34 AMNov 1
to Jacob Alperin-Sheriff, pqc-forum
Indeed. How did I completely forget about it.

Anjan Roy

Ben Livelsberger

unread,
Nov 6, 2025, 12:02:58 PM (10 days ago) Nov 6
to pqc-forum, Anjan Roy, pqc-forum, Jacob Alperin-Sheriff

Hi Anjan,

One small note that there is more than one group at NIST involved with PQC. The CT Group develops algorithm standards. The Cryptographic Algorithm Validation Program (CAVP) is generally responsible for creating KATs and for writing conformance tests for those algorithm standards. 

CAVP generally does not follow topics on pqc-...@list.nist.gov closely, whereas the CT Group does. But if you raise a CAVP-related topic on this forum, I'd expect the CT Group would forward that topic onto CAVP. As it happens, the CT Group is shutdown and not working right now, but the CAVP team is working full-time. 

If you experience any issues with content on https://github.com/usnistgov/ACVP-Server, please open an issue to let CAVP know about it directly.

I'll forward this conversation to Chris Celi. Chris wrote the ML-KEM testing and will be able to answer your question. You'll hear back from us shortly.

Cheers!

Ben

To unsubscribe from this group and stop receiving emails from it, send an email to pqc-forum+unsubscribe@list.nist.gov.

Celi, Christopher T. (Fed)

unread,
Nov 6, 2025, 1:07:31 PM (10 days ago) Nov 6
to Anjan Roy, Jacob Alperin-Sheriff, pqc-forum
Hi Anjan,

You’re right, I missed adding the testPassed flag for the decapsulation tests here. It’s easy to piece together because it is just testPassed = (reason == “valid decapsulation”). I’ve fixed it internally and will appear in a future update. 

As Ben mentioned, CAVP is working, but given the volume here we don’t monitor this forum too closely. Usually our colleagues in the CT group pass things along to us, but none of them are working now. Reaching out to ca...@nist.gov is preferred, but we’ll try to monitor things here better during the shutdown. 

Thanks,
Chris Celi

Anjan Roy

unread,
Nov 7, 2025, 1:21:13 AM (9 days ago) Nov 7
to Celi, Christopher T. (Fed), Jacob Alperin-Sheriff, pqc-forum
Perfect. Thank you very much to both of you, Ben and Chris.

Regards, 
Anjan
Anjan Roy
Software Engineer, India
Reply all
Reply to author
Forward
0 new messages