post-quantum-cryptography / KAT

16 stars 2 forks source link

FIPS 203 FINAL - Candidate new KAT inputs and results #15

Closed rod-chapman closed 2 months ago

rod-chapman commented 2 months ago

This PR contributes candidate KAT files for FIPS 203 FINAL (MLKEM), updated for the 13th August 2024 issue of FIPS 203.

The same random inputs, seeds, and messages are used as before.

New results were produced by the AWS LibMLKEM implementation. I hope verification of these results with other implementations will follow.

dkostic commented 2 months ago

I can confirm that AWS-LC's ML-KEM implementation successfully passes the KATs.

To check this I did the following:

[----------] Global test environment tear-down [==========] 3 tests from 1 test suite ran. (350 ms total) [ PASSED ] 3 tests.



I pushed the test to my fork of AWS-LC for posterity: https://github.com/aws/aws-lc/commit/81cb0215322f3d7764c8a27b4ec7749f06917557.

Note1: this is just a quick test in my fork of AWS-LC, I'll soon push a change to update AWS-LC itself.

Note2: that the implementation in AWS-LC was originally copied from the official Kyber repository (https://github.com/pq-crystals/kyber).
kriskwiatkowski commented 2 months ago

@rod-chapman I can confirm it works on one of my implementations. I've one more to update and check. PS: sorry for late response, I just came back from Holidays.