diff options
| author | beck <> | 2017-01-21 09:38:59 +0000 |
|---|---|---|
| committer | beck <> | 2017-01-21 09:38:59 +0000 |
| commit | a0a595cda97de2b217b0582cfa601ee4c746bfce (patch) | |
| tree | a68beae7892dad13fd8d76ba1fc45e6570e3360b /src/lib/libcrypto/Makefile | |
| parent | 0150f186622a6f660c4e80dc9a36dc843ac87b7c (diff) | |
| download | openbsd-a0a595cda97de2b217b0582cfa601ee4c746bfce.tar.gz openbsd-a0a595cda97de2b217b0582cfa601ee4c746bfce.tar.bz2 openbsd-a0a595cda97de2b217b0582cfa601ee4c746bfce.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/Makefile | 5 |
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 | ||
| 3 | LIB= crypto | 3 | LIB= crypto |
| 4 | 4 | ||
| @@ -24,7 +24,8 @@ CFLAGS+= -DLIBRESSL_INTERNAL | |||
| 24 | CFLAGS+= -DOPENSSL_NO_HW_PADLOCK # XXX enable this? | 24 | CFLAGS+= -DOPENSSL_NO_HW_PADLOCK # XXX enable this? |
| 25 | 25 | ||
| 26 | CFLAGS+= -I${LCRYPTO_SRC} | 26 | CFLAGS+= -I${LCRYPTO_SRC} |
| 27 | CFLAGS+= -I${LCRYPTO_SRC}/modes -I${LCRYPTO_SRC}/asn1 -I${LCRYPTO_SRC}/evp | 27 | CFLAGS+= -I${LCRYPTO_SRC}/asn1 -I${LCRYPTO_SRC}/bn -I${LCRYPTO_SRC}/evp |
| 28 | CFLAGS+= -I${LCRYPTO_SRC}/modes | ||
| 28 | 29 | ||
| 29 | VERSION_SCRIPT= Symbols.map | 30 | VERSION_SCRIPT= Symbols.map |
| 30 | SYMBOL_LIST= ${.CURDIR}/Symbols.list | 31 | SYMBOL_LIST= ${.CURDIR}/Symbols.list |
