summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/Makefile
diff options
context:
space:
mode:
authorbeck <>2017-01-21 09:38:59 +0000
committerbeck <>2017-01-21 09:38:59 +0000
commitba7dab5b77b1e4dd797dbe7a4c31b5f4cbea0cd7 (patch)
treea68beae7892dad13fd8d76ba1fc45e6570e3360b /src/lib/libcrypto/Makefile
parent0c45e4e4d42eacefe309063241d5a7f6de6674e7 (diff)
downloadopenbsd-ba7dab5b77b1e4dd797dbe7a4c31b5f4cbea0cd7.tar.gz
openbsd-ba7dab5b77b1e4dd797dbe7a4c31b5f4cbea0cd7.tar.bz2
openbsd-ba7dab5b77b1e4dd797dbe7a4c31b5f4cbea0cd7.zip
Make explicit _ct and _nonct versions of bn_mod_exp funcitons that
matter for constant time, and make the public interface only used external to the library. This moves us to a model where the important things are constant time versions unless you ask for them not to be, rather than the opposite. I'll continue with this method by method. Add regress tests for same. ok jsing@
Diffstat (limited to 'src/lib/libcrypto/Makefile')
-rw-r--r--src/lib/libcrypto/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/libcrypto/Makefile b/src/lib/libcrypto/Makefile
index 29b6669a12..3fb904b470 100644
--- a/src/lib/libcrypto/Makefile
+++ b/src/lib/libcrypto/Makefile
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile,v 1.13 2016/12/21 15:49:29 jsing Exp $ 1# $OpenBSD: Makefile,v 1.14 2017/01/21 09:38:58 beck Exp $
2 2
3LIB= crypto 3LIB= crypto
4 4
@@ -24,7 +24,8 @@ CFLAGS+= -DLIBRESSL_INTERNAL
24CFLAGS+= -DOPENSSL_NO_HW_PADLOCK # XXX enable this? 24CFLAGS+= -DOPENSSL_NO_HW_PADLOCK # XXX enable this?
25 25
26CFLAGS+= -I${LCRYPTO_SRC} 26CFLAGS+= -I${LCRYPTO_SRC}
27CFLAGS+= -I${LCRYPTO_SRC}/modes -I${LCRYPTO_SRC}/asn1 -I${LCRYPTO_SRC}/evp 27CFLAGS+= -I${LCRYPTO_SRC}/asn1 -I${LCRYPTO_SRC}/bn -I${LCRYPTO_SRC}/evp
28CFLAGS+= -I${LCRYPTO_SRC}/modes
28 29
29VERSION_SCRIPT= Symbols.map 30VERSION_SCRIPT= Symbols.map
30SYMBOL_LIST= ${.CURDIR}/Symbols.list 31SYMBOL_LIST= ${.CURDIR}/Symbols.list