diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2023-06-21 07:41:56 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2023-06-21 07:41:56 +0000 |
commit | 2cd6698561d75d15cd7c626ddb33e385ec96f4f5 (patch) | |
tree | d3bf70334d4c1a3661ad10988d3ca99d5c3bea55 /lib/libcrypto/Makefile | |
parent | 66479f215750c2cdab25c1b5fdff68d6ec17f73c (diff) |
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 'lib/libcrypto/Makefile')
-rw-r--r-- | lib/libcrypto/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libcrypto/Makefile b/lib/libcrypto/Makefile index 89bd94d79ae..6fe129bcdd3 100644 --- a/lib/libcrypto/Makefile +++ b/lib/libcrypto/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.130 2023/06/11 05:35:43 tb Exp $ +# $OpenBSD: Makefile,v 1.131 2023/06/21 07:41:55 jsing Exp $ LIB= crypto LIBREBUILD=y @@ -195,6 +195,7 @@ SRCS+= bn_mod_sqrt.c SRCS+= bn_mont.c SRCS+= bn_mul.c SRCS+= bn_prime.c +SRCS+= bn_primitives.c SRCS+= bn_rand.c SRCS+= bn_recp.c SRCS+= bn_shift.c |