Rename bn_expand() to bn_expand_bits().
authorjsing <jsing@openbsd.org>
Tue, 16 Apr 2024 13:04:05 +0000 (13:04 +0000)
committerjsing <jsing@openbsd.org>
Tue, 16 Apr 2024 13:04:05 +0000 (13:04 +0000)
commitf89a836ad1734e271b7d920cdde1316cadb7f536
treed50eb6e479782306196b425a6bf3c0c384f68790
parent00dd306946903dc5215e47918b7f5a3d599480c5
Rename bn_expand() to bn_expand_bits().

Also change the bits type from int to size_t, since that's what the callers
are passing and we can avoid unnecessary input validation.

ok tb@
lib/libcrypto/bn/bn_convert.c
lib/libcrypto/bn/bn_lib.c
lib/libcrypto/bn/bn_local.h