Lines Matching refs:pinfo
812 RSA_PRIME_INFO *pinfo; in rsa_ossl_mod_exp() local
854 pinfo = sk_RSA_PRIME_INFO_value(rsa->prime_infos, i); in rsa_ossl_mod_exp()
855 BN_with_flags(factor, pinfo->r, BN_FLG_CONSTTIME); in rsa_ossl_mod_exp()
856 if (!BN_MONT_CTX_set_locked(&pinfo->m, rsa->lock, factor, ctx)) { in rsa_ossl_mod_exp()
999 pinfo = sk_RSA_PRIME_INFO_value(rsa->prime_infos, i); in rsa_ossl_mod_exp()
1003 BN_with_flags(di, pinfo->d, BN_FLG_CONSTTIME); in rsa_ossl_mod_exp()
1005 if (!BN_mod(r1, cc, pinfo->r, ctx)) { in rsa_ossl_mod_exp()
1011 if (!rsa->meth->bn_mod_exp(m[i], r1, di, pinfo->r, ctx, pinfo->m)) { in rsa_ossl_mod_exp()
1074 pinfo = sk_RSA_PRIME_INFO_value(rsa->prime_infos, i); in rsa_ossl_mod_exp()
1080 if (!BN_mul(r2, r1, pinfo->t, ctx)) { in rsa_ossl_mod_exp()
1087 if (!BN_mod(r1, pr2, pinfo->r, ctx)) { in rsa_ossl_mod_exp()
1093 if (!BN_add(r1, r1, pinfo->r)) { in rsa_ossl_mod_exp()
1097 if (!BN_mul(r1, r1, pinfo->pp, ctx)) { in rsa_ossl_mod_exp()
1186 RSA_PRIME_INFO *pinfo; in rsa_ossl_finish() local
1189 pinfo = sk_RSA_PRIME_INFO_value(rsa->prime_infos, i); in rsa_ossl_finish()
1190 BN_MONT_CTX_free(pinfo->m); in rsa_ossl_finish()