Module Name:    src
Committed By:   joerg
Date:           Sat May 16 22:24:41 UTC 2015

Modified Files:
        src/crypto/external/bsd/openssl/lib/libcrypto: engine.inc
        src/crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64: modes.inc
Added Files:
        src/crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64: bn.inc
            engine.inc

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


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 \
    src/crypto/external/bsd/openssl/lib/libcrypto/engine.inc
cvs rdiff -u -r0 -r1.1 \
    src/crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/bn.inc \
    src/crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/engine.inc
cvs rdiff -u -r1.2 -r1.3 \
    src/crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/modes.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/crypto/external/bsd/openssl/lib/libcrypto/engine.inc
diff -u src/crypto/external/bsd/openssl/lib/libcrypto/engine.inc:1.8 src/crypto/external/bsd/openssl/lib/libcrypto/engine.inc:1.9
--- src/crypto/external/bsd/openssl/lib/libcrypto/engine.inc:1.8	Mon Mar 23 10:22:49 2015
+++ src/crypto/external/bsd/openssl/lib/libcrypto/engine.inc	Sat May 16 22:24:41 2015
@@ -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 \

Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/modes.inc
diff -u src/crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/modes.inc:1.2 src/crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/modes.inc:1.3
--- src/crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/modes.inc:1.2	Sat May 16 17:26:00 2015
+++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/modes.inc	Sat May 16 22:24:41 2015
@@ -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"

Added files:

Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/bn.inc
diff -u /dev/null src/crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/bn.inc:1.1
--- /dev/null	Sat May 16 22:24:41 2015
+++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/bn.inc	Sat May 16 22:24:41 2015
@@ -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"
Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/engine.inc
diff -u /dev/null src/crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/engine.inc:1.1
--- /dev/null	Sat May 16 22:24:41 2015
+++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/engine.inc	Sat May 16 22:24:41 2015
@@ -0,0 +1,3 @@
+.PATH.S: ${.PARSEDIR}
+ENGINE_SRCS = modexp512-x86_64.S
+.include "../../engine.inc"

Reply via email to