RSA_get0_p
bn = RSA_get0_p(r);
if (RSA_get0_p(r) == NULL)
sk_BIGNUM_const_push(primes, RSA_get0_p(r));
OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_p(const RSA *d);