Link mlkem to build

This commit is contained in:
Theo Buehler
2024-12-14 13:49:05 -07:00
parent 7b5be5b0e5
commit 08207128ce
3 changed files with 11 additions and 1 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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