diff options
author | miod <> | 2016-11-04 18:12:14 +0000 |
---|---|---|
committer | miod <> | 2016-11-04 18:12:14 +0000 |
commit | 95c92d8519666cd42fcb0aaea340ec1d508fafcd (patch) | |
tree | 6208734128a5fa1fe8eb659032f191df236270dc /src/lib/libcrypto/arch/amd64 | |
parent | 3b8a78795bef4ca09dc876e28a533d702bf5275d (diff) | |
download | openbsd-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.inc | 6 |
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 | |||
28 | SSLASM+= camellia cmll-x86_64 | 28 | SSLASM+= camellia cmll-x86_64 |
29 | # des | 29 | # des |
30 | SRCS+= des_enc.c fcrypt_b.c | 30 | SRCS+= des_enc.c fcrypt_b.c |
31 | # ec | ||
32 | CFLAGS+= -DECP_NISTZ256_ASM | ||
33 | SRCS+= ecp_nistz256.c | ||
34 | SSLASM+= ec ecp_nistz256-x86_64 | ||
31 | # md5 | 35 | # md5 |
32 | CFLAGS+= -DMD5_ASM | 36 | CFLAGS+= -DMD5_ASM |
33 | SSLASM+= md5 md5-x86_64 | 37 | SSLASM+= md5 md5-x86_64 |