summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/Makefile
diff options
context:
space:
mode:
authorjsing <>2023-06-21 07:41:55 +0000
committerjsing <>2023-06-21 07:41:55 +0000
commit88e97173c6cf4f4ec8c6138cff25d7b1c51a54e9 (patch)
treefd160d47e7a4a56b7a1cb2b7a25b722886a6a475 /src/lib/libcrypto/Makefile
parent49d358ba4102b545829d23eeead5528ff3342df4 (diff)
downloadopenbsd-88e97173c6cf4f4ec8c6138cff25d7b1c51a54e9.tar.gz
openbsd-88e97173c6cf4f4ec8c6138cff25d7b1c51a54e9.tar.bz2
openbsd-88e97173c6cf4f4ec8c6138cff25d7b1c51a54e9.zip
Make BN_num_bits() independent of bn->top.
Provide bn_bitsize(), which performs a constant time scan of a BN in order to determine the bit size of the BN value. Use this for BN_num_bits() such that it is no longer dependent on the bn->top value. ok tb@
Diffstat (limited to 'src/lib/libcrypto/Makefile')
-rw-r--r--src/lib/libcrypto/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/Makefile b/src/lib/libcrypto/Makefile
index 89bd94d79a..6fe129bcdd 100644
--- a/src/lib/libcrypto/Makefile
+++ b/src/lib/libcrypto/Makefile
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile,v 1.130 2023/06/11 05:35:43 tb Exp $ 1# $OpenBSD: Makefile,v 1.131 2023/06/21 07:41:55 jsing Exp $
2 2
3LIB= crypto 3LIB= crypto
4LIBREBUILD=y 4LIBREBUILD=y
@@ -195,6 +195,7 @@ SRCS+= bn_mod_sqrt.c
195SRCS+= bn_mont.c 195SRCS+= bn_mont.c
196SRCS+= bn_mul.c 196SRCS+= bn_mul.c
197SRCS+= bn_prime.c 197SRCS+= bn_prime.c
198SRCS+= bn_primitives.c
198SRCS+= bn_rand.c 199SRCS+= bn_rand.c
199SRCS+= bn_recp.c 200SRCS+= bn_recp.c
200SRCS+= bn_shift.c 201SRCS+= bn_shift.c