Home
last modified time | relevance | path

Searched refs:r1x2 (Results 1 – 1 of 1) sorted by relevance

/third_party/openssl/crypto/bn/
Dbn_rsa_fips186_4.c252 BIGNUM *tmp, *R, *r1r2x2, *y1, *r1x2; in ossl_bn_rsa_fips186_4_derive_prime() local
263 r1x2 = BN_CTX_get(ctx); in ossl_bn_rsa_fips186_4_derive_prime()
264 if (r1x2 == NULL) in ossl_bn_rsa_fips186_4_derive_prime()
289 if (!(BN_lshift1(r1x2, r1) in ossl_bn_rsa_fips186_4_derive_prime()
291 && BN_gcd(tmp, r1x2, r2, ctx) in ossl_bn_rsa_fips186_4_derive_prime()
294 && BN_mod_inverse(R, r2, r1x2, ctx) in ossl_bn_rsa_fips186_4_derive_prime()
296 && BN_mod_inverse(tmp, r1x2, r2, ctx) in ossl_bn_rsa_fips186_4_derive_prime()
297 && BN_mul(tmp, tmp, r1x2, ctx) /* tmp = (2r1^-1 mod r2)*2r1 */ in ossl_bn_rsa_fips186_4_derive_prime()
300 && BN_mul(r1r2x2, r1x2, r2, ctx))) in ossl_bn_rsa_fips186_4_derive_prime()