Refactor BN_bn2hex()
authortb <tb@openbsd.org>
Sun, 9 Jul 2023 18:27:22 +0000 (18:27 +0000)
committertb <tb@openbsd.org>
Sun, 9 Jul 2023 18:27:22 +0000 (18:27 +0000)
commitbeecfe2b5000324c1df621c4c33f83625c811183
tree3aa16dad689be38d1ea3332082adb3794b932003
parent20dcd18953d75a89c65396d88ad2c5850f091bee
Refactor BN_bn2hex()

Various outputting functions are variants of BN_bn2hex(). They do not
want a sign or they display the BIGNUM at nibble granularity instead
of byte granularity. So add this functionality to an internal variant
of BN_bn2hex().

with/ok jsing
lib/libcrypto/bn/bn_convert.c
lib/libcrypto/bn/bn_local.h