Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/crypto/rsa/
H A Drsa_sp800_56b_check.c178 BIGNUM *r, *p1, *q1, *lcm, *p1q1, *gcd; in ossl_rsa_check_private_exponent() local
189 p1q1 = BN_CTX_get(ctx); in ossl_rsa_check_private_exponent()
196 BN_set_flags(p1q1, BN_FLG_CONSTTIME); in ossl_rsa_check_private_exponent()
205 p1q1) == 1) in ossl_rsa_check_private_exponent()
267 BIGNUM *p1q1) in ossl_rsa_get_lcm() argument
271 && BN_mul(p1q1, p1, q1, ctx) /* (p-1)(q-1) */ in ossl_rsa_get_lcm()
273 && BN_div(lcm, NULL, p1q1, gcd, ctx); /* LCM((p-1, q-1)) */ in ossl_rsa_get_lcm()
H A Drsa_sp800_56b_gen.c236 BIGNUM *p1, *q1, *lcm, *p1q1, *gcd; in ossl_rsa_sp800_56b_derive_params_from_pq() local
242 p1q1 = BN_CTX_get(ctx); in ossl_rsa_sp800_56b_derive_params_from_pq()
250 BN_set_flags(p1q1, BN_FLG_CONSTTIME); in ossl_rsa_sp800_56b_derive_params_from_pq()
254 if (ossl_rsa_get_lcm(ctx, rsa->p, rsa->q, lcm, gcd, p1, q1, p1q1) != 1) in ossl_rsa_sp800_56b_derive_params_from_pq()
331 BN_clear(p1q1); in ossl_rsa_sp800_56b_derive_params_from_pq()
H A Drsa_local.h170 BIGNUM *p1q1);