BN_bin2bn
if ((*bn = BN_bin2bn((unsigned char *) var->v, var->l, NULL)) == NULL)
exp = BN_bin2bn((unsigned char *) (binbuf->v + 1), binbuf->v[0], NULL);
mod = BN_bin2bn((unsigned char *) (binbuf->v + binbuf->v[0] + 1),
BIGNUM *BN_bin2bn(const uint8_t */*buf*/, int /*size*/, BIGNUM */*bn*/);
sn = BN_bin2bn(tmp, sizeof(tmp), NULL);
BIGNUM *bn = BN_bin2bn(tmp, sizeof(tmp), NULL);
priv = BN_bin2bn(p, plen, NULL);
p = BN_bin2bn(dh1024_p, sizeof(dh1024_p), NULL);
g = BN_bin2bn(dh1024_g, sizeof(dh1024_g), NULL);