CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2024/12/12 17:03:57
Modified files:
lib/libcrypto : Makefile
regress/lib/libcrypto: Makefile
Added files:
lib/libcrypto/hidden/openssl: mlkem.h
lib/libcrypto/mlkem: mlkem.h mlkem768.c mlkem_internal.h
regress/lib/libcrypto/mlkem: Makefile mlkem768_decap_tests.c
mlkem768_decap_tests.txt
mlkem768_encap_tests.c
mlkem768_encap_tests.txt
mlkem768_iteration_test.c
mlkem768_keygen_tests.c
mlkem768_keygen_tests.txt
mlkem768_nist_decap_tests.c
mlkem768_nist_decap_tests.txt
mlkem768_nist_keygen_tests.c
mlkem768_nist_keygen_tests.txt
mlkem_tests_util.c
mlkem_tests_util.h mlkem_unittest.c
Log message:
Add ML-KEM 768 from BoringSSL
Changes include conversion from C++, basic KNF, then adaptation to
use our sha3 functions for sha3 and shake instead of the BorinSSL
version. This Adds units tests to run against BoringSSL and NIST test
vectors.
The future public API is the same as Boring's - but is not yet exposed
pending making bytesring.h public (which will happen separately) and
a minor bump
Currently this will just ensure we build and run regress.
ok tb@ to get it into the tree and massage from there.