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/arch/x86_64 Disabl...



details:   https://anonhg.NetBSD.org/src/rev/0ffca27fd2b4
branches:  trunk
changeset: 767378:0ffca27fd2b4
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sun Jul 17 19:48:31 2011 +0000

description:
Disable Clang's integrated assembler for the AES-NI files for now.
Somewhere in this mess of .byte streams, corruption happens. Disassembly
only shows slightly different filling of alignment sequences, further
analysis is needed.

XXX This should be rewritten to be proper assembler code

diffstat:

 crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/aes.inc |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (10 lines):

diff -r bdc4f0199d52 -r 0ffca27fd2b4 crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/aes.inc
--- a/crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/aes.inc     Sun Jul 17 15:16:58 2011 +0000
+++ b/crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/aes.inc     Sun Jul 17 19:48:31 2011 +0000
@@ -3,3 +3,6 @@
 AESCPPFLAGS = -DAES_ASM -DOPENSSL_IA32_SSE2
 AESNI = yes
 .include "../../aes.inc"
+
+COPTS.aesni-x86_64.S+= ${${ACTIVE_CC} == "clang":?-no-integrated-as:}
+COPTS.aes-x86_64.S+=   ${${ACTIVE_CC} == "clang":?-no-integrated-as:}



Home | Main Index | Thread Index | Old Index