diff options
| author | beck <> | 2025-08-14 15:48:48 +0000 |
|---|---|---|
| committer | beck <> | 2025-08-14 15:48:48 +0000 |
| commit | 6452fa9fc6f33dac80ee572764b9fe29a469f8ce (patch) | |
| tree | 0956ae670e4f193442bcf99d2b1fb70a43a6b5b5 /src/lib/libcrypto/Makefile | |
| parent | 9bef27f78e41e8026f1d588e4e36e385061f3deb (diff) | |
| download | openbsd-6452fa9fc6f33dac80ee572764b9fe29a469f8ce.tar.gz openbsd-6452fa9fc6f33dac80ee572764b9fe29a469f8ce.tar.bz2 openbsd-6452fa9fc6f33dac80ee572764b9fe29a469f8ce.zip | |
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@
Diffstat (limited to 'src/lib/libcrypto/Makefile')
| -rw-r--r-- | src/lib/libcrypto/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
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 @@ | |||
| 1 | # $OpenBSD: Makefile,v 1.241 2025/07/16 15:59:26 tb Exp $ | 1 | # $OpenBSD: Makefile,v 1.242 2025/08/14 15:48:48 beck Exp $ |
| 2 | 2 | ||
| 3 | LIB= crypto | 3 | LIB= crypto |
| 4 | LIBREBUILD=y | 4 | LIBREBUILD=y |
| @@ -374,8 +374,10 @@ SRCS+= md4.c | |||
| 374 | SRCS+= md5.c | 374 | SRCS+= md5.c |
| 375 | 375 | ||
| 376 | # mlkem/ | 376 | # mlkem/ |
| 377 | SRCS+= mlkem.c | ||
| 377 | SRCS+= mlkem768.c | 378 | SRCS+= mlkem768.c |
| 378 | SRCS+= mlkem1024.c | 379 | SRCS+= mlkem1024.c |
| 380 | SRCS+= mlkem_key.c | ||
| 379 | 381 | ||
| 380 | # modes/ | 382 | # modes/ |
| 381 | SRCS+= cbc128.c | 383 | SRCS+= cbc128.c |
| @@ -668,6 +670,7 @@ HDRS=\ | |||
| 668 | ${LCRYPTO_SRC}/lhash/lhash.h \ | 670 | ${LCRYPTO_SRC}/lhash/lhash.h \ |
| 669 | ${LCRYPTO_SRC}/md4/md4.h \ | 671 | ${LCRYPTO_SRC}/md4/md4.h \ |
| 670 | ${LCRYPTO_SRC}/md5/md5.h \ | 672 | ${LCRYPTO_SRC}/md5/md5.h \ |
| 673 | ${LCRYPTO_SRC}/mlkem/mlkem.h \ | ||
| 671 | ${LCRYPTO_SRC}/modes/modes.h \ | 674 | ${LCRYPTO_SRC}/modes/modes.h \ |
| 672 | ${LCRYPTO_SRC}/objects/objects.h \ | 675 | ${LCRYPTO_SRC}/objects/objects.h \ |
| 673 | ${LCRYPTO_SRC}/ocsp/ocsp.h \ | 676 | ${LCRYPTO_SRC}/ocsp/ocsp.h \ |
