1SHLIB_NAME?= legacy.so 2LIBADD= crypto 3 4SRCS+= legacyprov.c prov_running.c 5 6# ciphers 7SRCS+= ciphercommon.c ciphercommon_hw.c ciphercommon_block.c \ 8 ciphercommon_gcm.c ciphercommon_gcm_hw.c \ 9 ciphercommon_ccm.c ciphercommon_ccm_hw.c 10SRCS+= cipher_desx.c cipher_desx_hw.c cipher_des.c cipher_des_hw.c 11SRCS+= cipher_tdes_common.c 12SRCS+= cipher_blowfish.c cipher_blowfish_hw.c 13SRCS+= cipher_cast5.c cipher_cast5_hw.c 14SRCS+= cipher_rc2.c cipher_rc2_hw.c 15SRCS+= cipher_rc4.c cipher_rc4_hw.c 16SRCS+= cipher_rc4_hmac_md5.c cipher_rc4_hmac_md5_hw.c 17SRCS+= cipher_seed.c cipher_seed_hw.c 18 19# crypto 20SRCS+= cpuid.c 21SRCS+= ctype.c 22 23# crypto/des 24SRCS+= des_enc.c 25SRCS+= fcrypt_b.c 26 27# crypto/md5 28SRCS+= md5_dgst.c 29SRCS+= md5_one.c 30SRCS+= md5_sha1.c 31 32# providers/implementations/digests 33SRCS+= digestcommon.c 34SRCS+= md4_prov.c wp_prov.c ripemd_prov.c 35 36# providers/implementations/kdfs 37SRCS+= pbkdf1.c 38SRCS+= pvkkdf.c 39 40# common 41SRCS+= provider_err.c provider_ctx.c 42SRCS+= provider_util.c 43 44SRCS+= tls_pad.c 45 46# This is needed so the provider can be loaded for us. 47# 48# There's a discrepancy between how this provider gets built in OpenSSL proper 49# and FreeBSD. 50SRCS+= params_idx.c 51 52.include <bsd.lib.mk> 53 54.PATH: ${LCRYPTO_SRC}/crypto \ 55 ${LCRYPTO_SRC}/crypto/des \ 56 ${LCRYPTO_SRC}/crypto/md5 \ 57 ${LCRYPTO_SRC}/providers \ 58 ${LCRYPTO_SRC}/providers/common \ 59 ${LCRYPTO_SRC}/providers/implementations/ciphers \ 60 ${LCRYPTO_SRC}/providers/implementations/digests \ 61 ${LCRYPTO_SRC}/providers/implementations/kdfs \ 62 ${LCRYPTO_SRC}/ssl \ 63 ${LCRYPTO_SRC}/ssl/record/methods \ 64