summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/arch/amd64
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/amd64
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/amd64')
-rw-r--r--src/lib/libcrypto/arch/amd64/Makefile.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libcrypto/arch/amd64/Makefile.inc b/src/lib/libcrypto/arch/amd64/Makefile.inc
index 081ed3c252..8db34d74b0 100644
--- a/src/lib/libcrypto/arch/amd64/Makefile.inc
+++ b/src/lib/libcrypto/arch/amd64/Makefile.inc
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile.inc,v 1.5 2015/09/11 14:48:06 miod Exp $ 1# $OpenBSD: Makefile.inc,v 1.6 2016/11/04 18:12:13 miod Exp $
2 2
3# amd64-specific libcrypto build rules 3# amd64-specific libcrypto build rules
4 4
@@ -28,6 +28,10 @@ SRCS+= cmll_misc.c
28SSLASM+= camellia cmll-x86_64 28SSLASM+= camellia cmll-x86_64
29# des 29# des
30SRCS+= des_enc.c fcrypt_b.c 30SRCS+= des_enc.c fcrypt_b.c
31# ec
32CFLAGS+= -DECP_NISTZ256_ASM
33SRCS+= ecp_nistz256.c
34SSLASM+= ec ecp_nistz256-x86_64
31# md5 35# md5
32CFLAGS+= -DMD5_ASM 36CFLAGS+= -DMD5_ASM
33SSLASM+= md5 md5-x86_64 37SSLASM+= md5 md5-x86_64