Adapt bn_print() for EdDSA key printing
authortb <tb@openbsd.org>
Sat, 22 Jul 2023 17:20:50 +0000 (17:20 +0000)
committertb <tb@openbsd.org>
Sat, 22 Jul 2023 17:20:50 +0000 (17:20 +0000)
commit0a77e739b46fe8e22ca5788dcd2035d3ff537017
treeba606778b46daf84187c5ed13c186476babcf178
parent5c1ba175a9566763aab6a734f35ebfe2e385fa60
Adapt bn_print() for EdDSA key printing

This is essentially a reimplementation of ASN1_buf_print(). The latter was
only added for these printing purposes and it will be removed again since
nothing uses it. We can then simply remove t_pkey.c in the upcoming bump.

ok jsing
lib/libcrypto/ec/ecx_methods.c