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 i386 provides "par...



details:   https://anonhg.NetBSD.org/src/rev/8c37704ebdc6
branches:  trunk
changeset: 829726:8c37704ebdc6
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Feb 09 13:35:45 2018 +0000

description:
i386 provides "partial words" assembly support.

diffstat:

 crypto/external/bsd/openssl/lib/libcrypto/arch/i386/bn.inc |  1 +
 crypto/external/bsd/openssl/lib/libcrypto/bn.inc           |  4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 290f05593b27 -r 8c37704ebdc6 crypto/external/bsd/openssl/lib/libcrypto/arch/i386/bn.inc
--- a/crypto/external/bsd/openssl/lib/libcrypto/arch/i386/bn.inc        Fri Feb 09 13:25:41 2018 +0000
+++ b/crypto/external/bsd/openssl/lib/libcrypto/arch/i386/bn.inc        Fri Feb 09 13:35:45 2018 +0000
@@ -1,3 +1,4 @@
 .PATH.S: ${.PARSEDIR}
 BN_SRCS = bn-586.S
 .include "../../bn.inc"
+BNCPPFLAGS+= -DOPENSSL_BN_ASM_PART_WORDS
diff -r 290f05593b27 -r 8c37704ebdc6 crypto/external/bsd/openssl/lib/libcrypto/bn.inc
--- a/crypto/external/bsd/openssl/lib/libcrypto/bn.inc  Fri Feb 09 13:25:41 2018 +0000
+++ b/crypto/external/bsd/openssl/lib/libcrypto/bn.inc  Fri Feb 09 13:35:45 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bn.inc,v 1.4 2018/02/08 21:57:24 christos Exp $
+#      $NetBSD: bn.inc,v 1.5 2018/02/09 13:35:45 christos Exp $
 #
 #      @(#) Copyright (c) 1995 Simon J. Gerraty
 #
@@ -45,5 +45,5 @@
 SRCS += ${BN_SRCS}
 
 .for cryptosrc in ${BN_SRCS}
-CPPFLAGS.${cryptosrc} = -I${OPENSSLSRC}/crypto/bn
+CPPFLAGS.${cryptosrc} = -I${OPENSSLSRC}/crypto/bn ${BNCPPFLAGS}
 .endfor



Home | Main Index | Thread Index | Old Index