aws / aws-lc

AWS-LC is a general-purpose cryptographic library maintained by the AWS Cryptography team for AWS and their customers. It іs based on code from the Google BoringSSL project and the OpenSSL project.
Other
399 stars 118 forks source link

ML-KEM keygen Pairwise Consistency Test #1969

Closed dkostic closed 2 weeks ago

dkostic commented 2 weeks ago

This change implements the ML-KEM Pairwise Consistency Test (PCT) for key generation as required by FIPS 140-3 Implementation Guidance. This effectively triples the runtime of key generation.

Call-outs:

Cherry-pick of #1964 .

Testing:

How is this change tested (unit tests, fuzz tests, etc.)? Are there any testing steps to be verified by the reviewer?

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.

codecov-commenter commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 78.57%. Comparing base (b6490a0) to head (6d874f7).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## fips-2024-09-27 #1969 +/- ## =================================================== - Coverage 78.58% 78.57% -0.01% =================================================== Files 585 585 Lines 100509 100511 +2 Branches 14253 14253 =================================================== - Hits 78984 78978 -6 - Misses 20892 20896 +4 - Partials 633 637 +4 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.