From 08207128cece13bd849c4c2206ab0b2a8338e790 Mon Sep 17 00:00:00 2001 From: Theo Buehler Date: Sat, 14 Dec 2024 13:49:05 -0700 Subject: Link mlkem to build --- crypto/CMakeLists.txt | 3 +++ crypto/Makefile.am | 6 ++++++ update.sh | 3 ++- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt index f9ac149..7b3439d 100644 --- a/crypto/CMakeLists.txt +++ b/crypto/CMakeLists.txt @@ -416,6 +416,8 @@ set( lhash/lhash.c md4/md4.c md5/md5.c + mlkem/mlkem768.c + mlkem/mlkem1024.c modes/cbc128.c modes/ccm128.c modes/cfb128.c @@ -753,6 +755,7 @@ target_include_directories(crypto_obj hidden hmac lhash + mlkem modes ocsp pkcs12 diff --git a/crypto/Makefile.am b/crypto/Makefile.am index 0d86eed..06fde29 100644 --- a/crypto/Makefile.am +++ b/crypto/Makefile.am @@ -16,6 +16,7 @@ AM_CPPFLAGS += -I$(top_srcdir)/crypto/err AM_CPPFLAGS += -I$(top_srcdir)/crypto/evp AM_CPPFLAGS += -I$(top_srcdir)/crypto/hmac AM_CPPFLAGS += -I$(top_srcdir)/crypto/lhash +AM_CPPFLAGS += -I$(top_srcdir)/crypto/mlkem AM_CPPFLAGS += -I$(top_srcdir)/crypto/modes AM_CPPFLAGS += -I$(top_srcdir)/crypto/ocsp AM_CPPFLAGS += -I$(top_srcdir)/crypto/pkcs12 @@ -697,6 +698,11 @@ libcrypto_la_SOURCES += md4/md4.c # md5 libcrypto_la_SOURCES += md5/md5.c +# mlkem +libcrypto_la_SOURCES += mlkem/mlkem768.c +libcrypto_la_SOURCES += mlkem/mlkem1024.c +noinst_HEADERS += mlkem/mlkem_internal.h + # modes libcrypto_la_SOURCES += modes/cbc128.c libcrypto_la_SOURCES += modes/ccm128.c diff --git a/update.sh b/update.sh index 729c65a..e1b91f8 100755 --- a/update.sh +++ b/update.sh @@ -127,10 +127,11 @@ copy_hdrs() { copy_hdrs $libcrypto_src "stack/stack.h lhash/lhash.h stack/safestack.h ossl_typ.h err/err.h crypto.h comp/comp.h x509/x509.h buffer/buffer.h + bytestring/bytestring.h objects/objects.h asn1/asn1.h asn1/posix_time.h bn/bn.h ec/ec.h ecdsa/ecdsa.h ecdh/ecdh.h rsa/rsa.h sha/sha.h x509/x509_vfy.h pkcs7/pkcs7.h pem/pem.h hkdf/hkdf.h hmac/hmac.h rand/rand.h md5/md5.h - x509/x509v3.h conf/conf.h ocsp/ocsp.h + x509/x509v3.h conf/conf.h mlkem/mlkem.h ocsp/ocsp.h aes/aes.h modes/modes.h asn1/asn1t.h bf/blowfish.h bio/bio.h cast/cast.h cmac/cmac.h cms/cms.h des/des.h dh/dh.h dsa/dsa.h engine/engine.h ui/ui.h pkcs12/pkcs12.h ts/ts.h -- cgit v1.2.3-55-g6feb