summaryrefslogtreecommitdiff
path: root/lib/libcrypto/arch/sparc64
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2016-11-04 18:12:15 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2016-11-04 18:12:15 +0000
commit03692c82a96deb0f287ab03f0b730afe33a0dbdd (patch)
tree4e2aa00b7a14ca495709f23e436506ae7dffc712 /lib/libcrypto/arch/sparc64
parent396633d63aca49076ff603738e121a55b65af92d (diff)
Ride the current major bump and enable assembler code for nist 256p curve,
on amd64 only for now. Stanzas to enable it on arm, i386 and sparc64 are provided but commented out for lack of testing due to the machine room being currently in storage. ok jsing@
Diffstat (limited to 'lib/libcrypto/arch/sparc64')
-rw-r--r--lib/libcrypto/arch/sparc64/Makefile.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libcrypto/arch/sparc64/Makefile.inc b/lib/libcrypto/arch/sparc64/Makefile.inc
index e3f217dbb8f..46f79d0f414 100644
--- a/lib/libcrypto/arch/sparc64/Makefile.inc
+++ b/lib/libcrypto/arch/sparc64/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.2 2014/11/17 20:31:22 miod Exp $
+# $OpenBSD: Makefile.inc,v 1.3 2016/11/04 18:12:14 miod Exp $
# sparc64-specific libcrypto build rules
@@ -18,6 +18,10 @@ SRCS+= des_enc-sparc.S
GENERATED+= des_enc-sparc.S
des_enc-sparc.S: ${LCRYPTO_SRC}/des/asm/des_enc.m4
m4 ${LCRYPTO_SRC}/des/asm/des_enc.m4 > ${.TARGET}
+# # ec
+# CFLAGS+= -DECP_NISTZ256_ASM
+# SRCS+= ecp_nistz256.c
+# SSLASM+= ec ecp_nistz256-sparcv9
# modes
CFLAGS+= -DGHASH_ASM
SSLASM+= modes ghash-sparcv9 ghash-sparcv9