CVSROOT:        /cvs
Module name:    src
Changes by:     js...@cvs.openbsd.org   2023/06/21 01:41:55

Modified files:
        lib/libcrypto  : Makefile 
        lib/libcrypto/bn: bn_internal.h bn_lib.c bn_local.h 
Added files:
        lib/libcrypto/bn: bn_primitives.c 

Log message:
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@

Reply via email to