1 1.1.1.2 christos # $NetBSD: evp.inc,v 1.1.1.2 2023/04/18 14:19:04 christos Exp $ 2 1.1 christos # 3 1.1 christos # @(#) Copyright (c) 1995 Simon J. Gerraty 4 1.1 christos # 5 1.1 christos # SRCS extracted from src/crypto/dist/openssl/crypto/evp/Makefile 6 1.1 christos # 7 1.1 christos 8 1.1 christos .PATH: ${OPENSSLSRC}/crypto/evp 9 1.1 christos 10 1.1 christos 11 1.1.1.2 christos EVP_SRCS = \ 12 1.1.1.2 christos bio_b64.c \ 13 1.1.1.2 christos bio_enc.c \ 14 1.1.1.2 christos bio_md.c \ 15 1.1.1.2 christos bio_ok.c \ 16 1.1.1.2 christos c_allc.c \ 17 1.1.1.2 christos c_alld.c \ 18 1.1.1.2 christos cmeth_lib.c \ 19 1.1.1.2 christos digest.c \ 20 1.1.1.2 christos e_aes.c \ 21 1.1.1.2 christos e_aes_cbc_hmac_sha1.c \ 22 1.1.1.2 christos e_aes_cbc_hmac_sha256.c \ 23 1.1.1.2 christos e_aria.c \ 24 1.1.1.2 christos e_bf.c \ 25 1.1.1.2 christos e_camellia.c \ 26 1.1.1.2 christos e_cast.c \ 27 1.1.1.2 christos e_chacha20_poly1305.c \ 28 1.1.1.2 christos e_des.c \ 29 1.1.1.2 christos e_des3.c \ 30 1.1.1.2 christos e_idea.c \ 31 1.1.1.2 christos e_null.c \ 32 1.1.1.2 christos e_old.c \ 33 1.1.1.2 christos e_rc2.c \ 34 1.1.1.2 christos e_rc4.c \ 35 1.1.1.2 christos e_rc4_hmac_md5.c \ 36 1.1.1.2 christos e_rc5.c \ 37 1.1.1.2 christos e_seed.c \ 38 1.1.1.2 christos e_sm4.c \ 39 1.1.1.2 christos e_xcbc_d.c \ 40 1.1.1.2 christos encode.c \ 41 1.1.1.2 christos evp_cnf.c \ 42 1.1.1.2 christos evp_enc.c \ 43 1.1.1.2 christos evp_err.c \ 44 1.1.1.2 christos evp_key.c \ 45 1.1.1.2 christos evp_lib.c \ 46 1.1.1.2 christos evp_pbe.c \ 47 1.1.1.2 christos evp_pkey.c \ 48 1.1.1.2 christos m_md2.c \ 49 1.1.1.2 christos m_md4.c \ 50 1.1.1.2 christos m_md5.c \ 51 1.1.1.2 christos m_md5_sha1.c \ 52 1.1.1.2 christos m_mdc2.c \ 53 1.1.1.2 christos m_null.c \ 54 1.1.1.2 christos m_ripemd.c \ 55 1.1.1.2 christos m_sha1.c \ 56 1.1.1.2 christos m_sha3.c \ 57 1.1.1.2 christos m_sigver.c \ 58 1.1.1.2 christos m_wp.c \ 59 1.1.1.2 christos names.c \ 60 1.1.1.2 christos p5_crpt.c \ 61 1.1.1.2 christos p5_crpt2.c \ 62 1.1.1.2 christos p_dec.c \ 63 1.1.1.2 christos p_enc.c \ 64 1.1.1.2 christos p_lib.c \ 65 1.1.1.2 christos p_open.c \ 66 1.1.1.2 christos p_seal.c \ 67 1.1.1.2 christos p_sign.c \ 68 1.1.1.2 christos p_verify.c \ 69 1.1.1.2 christos pbe_scrypt.c \ 70 1.1.1.2 christos pmeth_fn.c \ 71 1.1.1.2 christos pmeth_gn.c \ 72 1.1.1.2 christos pmeth_lib.c \ 73 1.1.1.2 christos scrypt.c 74 1.1.1.2 christos 75 1.1 christos SRCS += ${EVP_SRCS} 76 1.1 christos 77 1.1 christos .for cryptosrc in ${EVP_SRCS} 78 1.1 christos CPPFLAGS.${cryptosrc} = -I${OPENSSLSRC}/crypto/evp 79 1.1 christos .endfor 80 1.1 christos 81 1.1 christos EVP_AES_SRCS = e_aes.c 82 1.1 christos 83 1.1 christos # XXX Should do this too, but it requires some other asm changes. 84 1.1 christos #EVP_AES_SRCS += e_aes_cbc_hmac_sha1.c 85 1.1 christos 86 1.1 christos .for cryptosrc in ${EVP_AES_SRCS} 87 1.1 christos CPPFLAGS.${cryptosrc} += ${AESCPPFLAGS} 88 1.1 christos .endfor 89 1.1 christos 90 1.1 christos CPPFLAGS.e_aes.c += -I${OPENSSLSRC}/crypto/modes 91