Add a BN_num_bits() with zero padded input.
authorjsing <jsing@openbsd.org>
Wed, 21 Jun 2023 07:15:38 +0000 (07:15 +0000)
committerjsing <jsing@openbsd.org>
Wed, 21 Jun 2023 07:15:38 +0000 (07:15 +0000)
commit36ba240090a6df24c201bdfd6f435983e6ced3a4
tree88eb60fd228c4bcb339187c3e272d925d6d8d0fb
parent0b091dd3e43f8d193d16fbeaa249e595f821f060
Add a BN_num_bits() with zero padded input.

Currently BN_hex2bn() removes the leading zeros, however this will not be
the case in the future.
regress/lib/libcrypto/bn/bn_unit.c