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