1# $NetBSD: engine.inc,v 1.1 2009/07/19 23:30:43 christos Exp $ 2# 3# @(#) Copyright (c) 1995 Simon J. Gerraty 4# 5# SRCS extracted from src/crypto/dist/openssl/crypto/engine/Makefile 6# 7 8.PATH: ${OPENSSLSRC}/crypto/engine ${OPENSSLSRC}/engines \ 9 ${OPENSSLSRC}/engines/ccgost 10 11 12ENGINE_SRCS = eng_err.c eng_lib.c eng_list.c eng_init.c eng_ctrl.c \ 13 eng_table.c eng_pkey.c eng_fat.c eng_all.c tb_asnmth.c \ 14 tb_rsa.c tb_dsa.c tb_dh.c tb_rand.c tb_cipher.c tb_digest.c \ 15 eng_openssl.c eng_dyn.c eng_cnf.c \ 16 eng_cryptodev.c tb_store.c tb_ecdsa.c tb_ecdh.c tb_pkmeth.c \ 17 e_4758cca.c e_4758cca_err.c \ 18 e_aep.c e_aep_err.c \ 19 e_atalla.c e_atalla_err.c \ 20 e_chil.c e_chil_err.c \ 21 e_cswift.c e_cswift_err.c \ 22 e_gmp.c e_gmp_err.c \ 23 e_nuron.c e_nuron_err.c \ 24 e_sureware.c e_sureware_err.c \ 25 e_ubsec.c e_ubsec_err.c \ 26 27.if defined(AESNI) 28ENGINE_SRCS+= eng_aesni.c 29.else 30AESCPPFLAGS=-DOPENSSL_NO_HW_AESNI 31.endif 32 33#ENGINE_SRCS += gost2001.c gost2001_keyx.c gost89.c gost94_keyx.c gost_ameth.c \ 34# gost_asn1.c gost_crypt.c gost_ctl.c gost_eng.c gosthash.c \ 35# gost_keywrap.c gost_md.c gost_params.c gost_pmeth.c gost_sign.c 36 37SRCS += ${ENGINE_SRCS} 38 39.for cryptosrc in ${ENGINE_SRCS} 40CPPFLAGS.${cryptosrc} = -I${OPENSSLSRC}/crypto/engine ${AESCPPFLAGS} 41.endfor 42