summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/arch/sparc64
diff options
context:
space:
mode:
authormiod <>2016-11-04 18:12:14 +0000
committermiod <>2016-11-04 18:12:14 +0000
commit95c92d8519666cd42fcb0aaea340ec1d508fafcd (patch)
tree6208734128a5fa1fe8eb659032f191df236270dc /src/lib/libcrypto/arch/sparc64
parent3b8a78795bef4ca09dc876e28a533d702bf5275d (diff)
downloadopenbsd-95c92d8519666cd42fcb0aaea340ec1d508fafcd.tar.gz
openbsd-95c92d8519666cd42fcb0aaea340ec1d508fafcd.tar.bz2
openbsd-95c92d8519666cd42fcb0aaea340ec1d508fafcd.zip
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 'src/lib/libcrypto/arch/sparc64')
-rw-r--r--src/lib/libcrypto/arch/sparc64/Makefile.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libcrypto/arch/sparc64/Makefile.inc b/src/lib/libcrypto/arch/sparc64/Makefile.inc
index e3f217dbb8..46f79d0f41 100644
--- a/src/lib/libcrypto/arch/sparc64/Makefile.inc
+++ b/src/lib/libcrypto/arch/sparc64/Makefile.inc
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile.inc,v 1.2 2014/11/17 20:31:22 miod Exp $ 1# $OpenBSD: Makefile.inc,v 1.3 2016/11/04 18:12:14 miod Exp $
2 2
3# sparc64-specific libcrypto build rules 3# sparc64-specific libcrypto build rules
4 4
@@ -18,6 +18,10 @@ SRCS+= des_enc-sparc.S
18GENERATED+= des_enc-sparc.S 18GENERATED+= des_enc-sparc.S
19des_enc-sparc.S: ${LCRYPTO_SRC}/des/asm/des_enc.m4 19des_enc-sparc.S: ${LCRYPTO_SRC}/des/asm/des_enc.m4
20 m4 ${LCRYPTO_SRC}/des/asm/des_enc.m4 > ${.TARGET} 20 m4 ${LCRYPTO_SRC}/des/asm/des_enc.m4 > ${.TARGET}
21# # ec
22# CFLAGS+= -DECP_NISTZ256_ASM
23# SRCS+= ecp_nistz256.c
24# SSLASM+= ec ecp_nistz256-sparcv9
21# modes 25# modes
22CFLAGS+= -DGHASH_ASM 26CFLAGS+= -DGHASH_ASM
23SSLASM+= modes ghash-sparcv9 ghash-sparcv9 27SSLASM+= modes ghash-sparcv9 ghash-sparcv9