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/dist/crypto/engine use aes-ni fo...



details:   https://anonhg.NetBSD.org/src/rev/beebb3846209
branches:  trunk
changeset: 766966:beebb3846209
user:      spz <spz%NetBSD.org@localhost>
date:      Tue Jul 05 10:25:45 2011 +0000

description:
use aes-ni for i386 also: from jym@

diffstat:

 crypto/external/bsd/openssl/dist/crypto/engine/eng_aesni.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r b84b8c6c2749 -r beebb3846209 crypto/external/bsd/openssl/dist/crypto/engine/eng_aesni.c
--- a/crypto/external/bsd/openssl/dist/crypto/engine/eng_aesni.c        Tue Jul 05 10:06:10 2011 +0000
+++ b/crypto/external/bsd/openssl/dist/crypto/engine/eng_aesni.c        Tue Jul 05 10:25:45 2011 +0000
@@ -92,6 +92,7 @@
 #undef COMPILE_HW_AESNI
 #if (defined(__x86_64) || defined(__x86_64__) || \
      defined(_M_AMD64) || defined(_M_X64) || \
+     defined(__i386__) || defined(__i386) || \
      defined(OPENSSL_IA32_SSE2)) && !defined(OPENSSL_NO_ASM)
 #define COMPILE_HW_AESNI
 static ENGINE *ENGINE_aesni (void);



Home | Main Index | Thread Index | Old Index