diff options
| author | jsing <> | 2023-06-21 07:41:55 +0000 |
|---|---|---|
| committer | jsing <> | 2023-06-21 07:41:55 +0000 |
| commit | e977838d69c1994d3229516f8fca1fe64aafb9cb (patch) | |
| tree | fd160d47e7a4a56b7a1cb2b7a25b722886a6a475 /src/lib/libcrypto/Makefile | |
| parent | 66de59424a5c1e76a91fc81a1b29df9eb1801d46 (diff) | |
| download | openbsd-e977838d69c1994d3229516f8fca1fe64aafb9cb.tar.gz openbsd-e977838d69c1994d3229516f8fca1fe64aafb9cb.tar.bz2 openbsd-e977838d69c1994d3229516f8fca1fe64aafb9cb.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/Makefile | 3 |
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 | ||
| 3 | LIB= crypto | 3 | LIB= crypto |
| 4 | LIBREBUILD=y | 4 | LIBREBUILD=y |
| @@ -195,6 +195,7 @@ SRCS+= bn_mod_sqrt.c | |||
| 195 | SRCS+= bn_mont.c | 195 | SRCS+= bn_mont.c |
| 196 | SRCS+= bn_mul.c | 196 | SRCS+= bn_mul.c |
| 197 | SRCS+= bn_prime.c | 197 | SRCS+= bn_prime.c |
| 198 | SRCS+= bn_primitives.c | ||
| 198 | SRCS+= bn_rand.c | 199 | SRCS+= bn_rand.c |
| 199 | SRCS+= bn_recp.c | 200 | SRCS+= bn_recp.c |
| 200 | SRCS+= bn_shift.c | 201 | SRCS+= bn_shift.c |
