From 6452fa9fc6f33dac80ee572764b9fe29a469f8ce Mon Sep 17 00:00:00 2001 From: beck <> Date: Thu, 14 Aug 2025 15:48:48 +0000 Subject: Add a reasonable ML-KEM API for public use. Adapt the tests to use this API. This does not yet make the symbols public in Symbols.list which will happen shortly with a bump. This includes some partial rototilling of the non-public interfaces which will be shortly continued when the internal code is deduplicated to not have multiple copies for ML-KEM 768 and ML-KEM 1024 (which is just an artifact of unravelling the boring C++ code). ok jsing@, tb@ --- src/lib/libcrypto/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/lib/libcrypto/Makefile') diff --git a/src/lib/libcrypto/Makefile b/src/lib/libcrypto/Makefile index b0ab507983..459b0c9235 100644 --- a/src/lib/libcrypto/Makefile +++ b/src/lib/libcrypto/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.241 2025/07/16 15:59:26 tb Exp $ +# $OpenBSD: Makefile,v 1.242 2025/08/14 15:48:48 beck Exp $ LIB= crypto LIBREBUILD=y @@ -374,8 +374,10 @@ SRCS+= md4.c SRCS+= md5.c # mlkem/ +SRCS+= mlkem.c SRCS+= mlkem768.c SRCS+= mlkem1024.c +SRCS+= mlkem_key.c # modes/ SRCS+= cbc128.c @@ -668,6 +670,7 @@ HDRS=\ ${LCRYPTO_SRC}/lhash/lhash.h \ ${LCRYPTO_SRC}/md4/md4.h \ ${LCRYPTO_SRC}/md5/md5.h \ + ${LCRYPTO_SRC}/mlkem/mlkem.h \ ${LCRYPTO_SRC}/modes/modes.h \ ${LCRYPTO_SRC}/objects/objects.h \ ${LCRYPTO_SRC}/ocsp/ocsp.h \ -- cgit v1.2.3-55-g6feb