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