only x86 has AESNI

This commit is contained in:
christos 2012-07-27 16:05:27 +00:00
parent c0ab76c295
commit 414b1de06c
1 changed files with 6 additions and 7 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: engine.inc,v 1.5 2012/07/26 20:21:20 christos Exp $
# $NetBSD: engine.inc,v 1.6 2012/07/27 16:05:27 christos Exp $
#
# @(#) Copyright (c) 1995 Simon J. Gerraty
#
@ -12,7 +12,6 @@
ENGINE_SRCS = eng_err.c eng_lib.c eng_list.c eng_init.c eng_ctrl.c \
eng_table.c eng_pkey.c eng_fat.c eng_all.c tb_asnmth.c \
tb_rsa.c tb_dsa.c tb_dh.c tb_rand.c tb_cipher.c tb_digest.c \
eng_aesni.c \
eng_openssl.c eng_dyn.c eng_cnf.c eng_rdrand.c eng_rsax.c \
eng_cryptodev.c tb_store.c tb_ecdsa.c tb_ecdh.c tb_pkmeth.c \
e_4758cca.c e_4758cca_err.c \
@ -26,11 +25,11 @@ ENGINE_SRCS = eng_err.c eng_lib.c eng_list.c eng_init.c eng_ctrl.c \
e_ubsec.c e_ubsec_err.c \
e_padlock.c e_seed.c
#.if defined(AESNI)
#ENGINE_SRCS+= eng_aesni.c
#.else
#AESCPPFLAGS=-DOPENSSL_NO_HW_AESNI
#.endif
.if defined(AESNI)
ENGINE_SRCS+= eng_aesni.c
.else
AESCPPFLAGS=-DOPENSSL_NO_HW_AESNI
.endif
ENGINE_SRCS += gost2001.c gost2001_keyx.c gost89.c gost94_keyx.c gost_ameth.c \
gost_asn1.c gost_crypt.c gost_ctl.c gost_eng.c gosthash.c \