Lines Matching refs:iqmp
150 BN_clear_free(rsa->iqmp); in RSA_free()
534 BIGNUM n, pm1, qm1, lcm, gcd, de, dmp1, dmq1, iqmp; in RSA_check_key() local
573 BN_init(&iqmp); in RSA_check_key()
623 has_crt_values != (key->iqmp != NULL)) { in RSA_check_key()
634 !BN_mod_inverse(&iqmp, key->q, key->p, ctx)) { in RSA_check_key()
641 BN_cmp(&iqmp, key->iqmp) != 0) { in RSA_check_key()
658 BN_free(&iqmp); in RSA_check_key()
674 if (rsa->p || rsa->q || rsa->dmp1 || rsa->dmq1 || rsa->iqmp) { in RSA_recover_crt_params()
743 rsa->iqmp = BN_new(); in RSA_recover_crt_params()
745 NULL || rsa->iqmp == NULL) { in RSA_recover_crt_params()
777 !BN_mod_inverse(rsa->iqmp, rsa->q, rsa->p, ctx)) { in RSA_recover_crt_params()
792 bn_free_and_null(&rsa->iqmp); in RSA_recover_crt_params()