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 Hook up x86_64 ass...



details:   https://anonhg.NetBSD.org/src/rev/615da0fb2c2c
branches:  trunk
changeset: 338269:615da0fb2c2c
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sat May 16 22:24:41 2015 +0000

description:
Hook up x86_64 assembler version for the Montgomery multiplication and
the GF routines. Put rsax glue in the right file.

diffstat:

 crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/bn.inc     |  5 +++++
 crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/engine.inc |  3 +++
 crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/modes.inc  |  2 +-
 crypto/external/bsd/openssl/lib/libcrypto/engine.inc             |  4 ++--
 4 files changed, 11 insertions(+), 3 deletions(-)

diffs (43 lines):

diff -r 57d85c0d6ee4 -r 615da0fb2c2c crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/bn.inc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/bn.inc      Sat May 16 22:24:41 2015 +0000
@@ -0,0 +1,5 @@
+.PATH.S: ${.PARSEDIR}
+.PATH.c: ${OPENSSLSRC}/crypto/bn/asm
+BN_SRCS = x86_64-gf2m.S x86_64-mont.S x86_64-mont5.S x86_64-gcc.c
+CPPFLAGS += -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m
+.include "../../bn.inc"
diff -r 57d85c0d6ee4 -r 615da0fb2c2c crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/engine.inc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/engine.inc  Sat May 16 22:24:41 2015 +0000
@@ -0,0 +1,3 @@
+.PATH.S: ${.PARSEDIR}
+ENGINE_SRCS = modexp512-x86_64.S
+.include "../../engine.inc"
diff -r 57d85c0d6ee4 -r 615da0fb2c2c crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/modes.inc
--- a/crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/modes.inc   Sat May 16 22:23:31 2015 +0000
+++ b/crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/modes.inc   Sat May 16 22:24:41 2015 +0000
@@ -1,4 +1,4 @@
 .PATH.S: ${.PARSEDIR}
-MODES_SRCS += modexp512-x86_64.S ghash-x86_64.o
+MODES_SRCS += ghash-x86_64.o
 MODESCPPFLAGS = -DGHASH_ASM
 .include "../../modes.inc"
diff -r 57d85c0d6ee4 -r 615da0fb2c2c crypto/external/bsd/openssl/lib/libcrypto/engine.inc
--- a/crypto/external/bsd/openssl/lib/libcrypto/engine.inc      Sat May 16 22:23:31 2015 +0000
+++ b/crypto/external/bsd/openssl/lib/libcrypto/engine.inc      Sat May 16 22:24:41 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: engine.inc,v 1.8 2015/03/23 10:22:49 spz Exp $
+#      $NetBSD: engine.inc,v 1.9 2015/05/16 22:24:41 joerg Exp $
 #
 #      @(#) Copyright (c) 1995 Simon J. Gerraty
 #
@@ -9,7 +9,7 @@
     ${OPENSSLSRC}/engines/ccgost
 
 
-ENGINE_SRCS = eng_err.c eng_lib.c eng_list.c eng_init.c eng_ctrl.c \
+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_openssl.c eng_dyn.c eng_cnf.c eng_rdrand.c eng_rsax.c \



Home | Main Index | Thread Index | Old Index