summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/err
diff options
context:
space:
mode:
authortb <>2024-10-30 17:49:27 +0000
committertb <>2024-10-30 17:49:27 +0000
commit75a74916383aec4f685184ee2ce694af8170a1be (patch)
treeb5f13b12e48905d5444aa9a407301866f9cff247 /src/lib/libcrypto/err
parent8368805f098f433e42ae7aec85e05e578eec3cc4 (diff)
downloadopenbsd-75a74916383aec4f685184ee2ce694af8170a1be.tar.gz
openbsd-75a74916383aec4f685184ee2ce694af8170a1be.tar.bz2
openbsd-75a74916383aec4f685184ee2ce694af8170a1be.zip
Rewrite EC_POINT_point2hex()
Instead of doing everything by hand, this can use EC_POINT_point2bn() and chain it with BN_bn2hex(), slashing the number of lines in half. This removes one of the ten remaining "01234567890ABCDEF" strings from libcrypto. Unfortunately, none of the nine others is used in an API that could convert the octet string directly, so we use that ugly detour via a bignum. Still it's better than what was there. ok jsing
Diffstat (limited to 'src/lib/libcrypto/err')
0 files changed, 0 insertions, 0 deletions