Lines Matching refs:pm1
556 BIGNUM n, pm1, qm1, lcm, gcd, de, dmp1, dmq1, iqmp_times_q; in RSA_check_key() local
588 BN_init(&pm1); in RSA_check_key()
599 !BN_sub(&pm1, key->p, BN_value_one()) || in RSA_check_key()
601 !BN_mul(&lcm, &pm1, &qm1, ctx) || in RSA_check_key()
602 !BN_gcd(&gcd, &pm1, &qm1, ctx)) { in RSA_check_key()
616 !BN_sub(&pm1, ap->prime, BN_value_one()) || in RSA_check_key()
617 !BN_mul(&lcm, &lcm, &pm1, ctx) || in RSA_check_key()
618 !BN_gcd(&gcd, &gcd, &pm1, ctx)) { in RSA_check_key()
625 !BN_gcd(&gcd, &pm1, &qm1, ctx) || in RSA_check_key()
651 !BN_mod(&dmp1, key->d, &pm1, ctx) || in RSA_check_key()
673 BN_free(&pm1); in RSA_check_key()