eay_bn2v
eay_bn2v(&res, r);
if (eay_bn2v(pub, __UNCONST(pub_key)) < 0)
if (eay_bn2v(priv, __UNCONST(priv_key)) < 0) {
extern int eay_bn2v(vchar_t **, BIGNUM *);