diff options
author | jsing <> | 2023-06-21 07:41:55 +0000 |
---|---|---|
committer | jsing <> | 2023-06-21 07:41:55 +0000 |
commit | 88e97173c6cf4f4ec8c6138cff25d7b1c51a54e9 (patch) | |
tree | fd160d47e7a4a56b7a1cb2b7a25b722886a6a475 /src/lib/libc/stdlib/malloc.3 | |
parent | 49d358ba4102b545829d23eeead5528ff3342df4 (diff) | |
download | openbsd-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/libc/stdlib/malloc.3')
0 files changed, 0 insertions, 0 deletions