xref: /freebsd/secure/lib/libcrypto/modules/legacy/Makefile (revision b370fb00c89e9182f650943902a008f0c60883d6)
1b077aed3SPierre ProncherySHLIB_NAME?=	legacy.so
21a18383aSPierre ProncheryLIBADD=		crypto
3b077aed3SPierre Pronchery
4*b370fb00SGleb SmirnoffSRCS+=	legacyprov.c prov_running.c params_idx.c
587e08018SPierre Pronchery
687e08018SPierre Pronchery# ciphers
787e08018SPierre ProncherySRCS+=	ciphercommon.c ciphercommon_hw.c ciphercommon_block.c \
887e08018SPierre Pronchery	ciphercommon_gcm.c ciphercommon_gcm_hw.c \
987e08018SPierre Pronchery	ciphercommon_ccm.c ciphercommon_ccm_hw.c
1087e08018SPierre ProncherySRCS+=	cipher_desx.c cipher_desx_hw.c cipher_des.c cipher_des_hw.c
1187e08018SPierre ProncherySRCS+=	cipher_tdes_common.c
1287e08018SPierre ProncherySRCS+=	cipher_blowfish.c cipher_blowfish_hw.c
1387e08018SPierre ProncherySRCS+=	cipher_cast5.c cipher_cast5_hw.c
1487e08018SPierre ProncherySRCS+=	cipher_rc2.c cipher_rc2_hw.c
1587e08018SPierre ProncherySRCS+=	cipher_rc4.c cipher_rc4_hw.c
1687e08018SPierre ProncherySRCS+=	cipher_rc4_hmac_md5.c cipher_rc4_hmac_md5_hw.c
1787e08018SPierre ProncherySRCS+=	cipher_seed.c cipher_seed_hw.c
1887e08018SPierre Pronchery
1987e08018SPierre Pronchery# digests
2087e08018SPierre ProncherySRCS+=	digestcommon.c
2187e08018SPierre ProncherySRCS+=	md4_prov.c wp_prov.c ripemd_prov.c
2287e08018SPierre Pronchery
2387e08018SPierre Pronchery# kdfs
24*b370fb00SGleb SmirnoffSRCS+=	pbkdf1.c pvkkdf.c
2587e08018SPierre Pronchery
26b077aed3SPierre Pronchery.include <bsd.lib.mk>
2787e08018SPierre Pronchery
28*b370fb00SGleb Smirnoff.PATH:	${LCRYPTO_SRC}/crypto \
29*b370fb00SGleb Smirnoff	${LCRYPTO_SRC}/providers/implementations/ciphers \
3087e08018SPierre Pronchery	${LCRYPTO_SRC}/providers/implementations/digests \
3187e08018SPierre Pronchery	${LCRYPTO_SRC}/providers/implementations/kdfs \
3287e08018SPierre Pronchery	${LCRYPTO_SRC}/ssl
33