Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto/external/bsd/openssl/lib/libcrypto only x86 has AESNI
details: https://anonhg.NetBSD.org/src/rev/9190ffe2c6e3
branches: trunk
changeset: 780498:9190ffe2c6e3
user: christos <christos%NetBSD.org@localhost>
date: Fri Jul 27 16:05:27 2012 +0000
description:
only x86 has AESNI
diffstat:
crypto/external/bsd/openssl/lib/libcrypto/engine.inc | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
diffs (34 lines):
diff -r d3be0367c282 -r 9190ffe2c6e3 crypto/external/bsd/openssl/lib/libcrypto/engine.inc
--- a/crypto/external/bsd/openssl/lib/libcrypto/engine.inc Fri Jul 27 16:04:30 2012 +0000
+++ b/crypto/external/bsd/openssl/lib/libcrypto/engine.inc Fri Jul 27 16:05:27 2012 +0000
@@ -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 @@
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 \
Home |
Main Index |
Thread Index |
Old Index