bn_bn2hex_nibbles
int bn_bn2hex_nibbles(const BIGNUM *bn, char **out, size_t *out_len);
if (!bn_bn2hex_nibbles(bn, &hex, &hex_len))