Lines Matching refs:pm1
534 BIGNUM n, pm1, qm1, lcm, gcd, de, dmp1, dmq1, iqmp; in RSA_check_key() local
566 BN_init(&pm1); in RSA_check_key()
577 !BN_sub(&pm1, key->p, BN_value_one()) || in RSA_check_key()
579 !BN_mul(&lcm, &pm1, &qm1, ctx) || in RSA_check_key()
580 !BN_gcd(&gcd, &pm1, &qm1, ctx)) { in RSA_check_key()
595 !BN_sub(&pm1, ap->prime, BN_value_one()) || in RSA_check_key()
596 !BN_mul(&lcm, &lcm, &pm1, ctx) || in RSA_check_key()
597 !BN_gcd(&gcd, &gcd, &pm1, ctx)) { in RSA_check_key()
604 !BN_gcd(&gcd, &pm1, &qm1, ctx) || in RSA_check_key()
630 !BN_mod(&dmp1, key->d, &pm1, ctx) || in RSA_check_key()
651 BN_free(&pm1); in RSA_check_key()