Home | History | Annotate | Download | only in rsa

Lines Matching defs:dmp1

148   BN_clear_free(rsa->dmp1);
534 BIGNUM n, pm1, qm1, lcm, gcd, de, dmp1, dmq1, iqmp;
571 BN_init(&dmp1);
621 has_crt_values = key->dmp1 != NULL;
629 if (/* dmp1 = d mod (p-1) */
630 !BN_mod(&dmp1, key->d, &pm1, ctx) ||
639 if (BN_cmp(&dmp1, key->dmp1) != 0 ||
656 BN_free(&dmp1);
674 if (rsa->p || rsa->q || rsa->dmp1 || rsa->dmq1 || rsa->iqmp) {
741 rsa->dmp1 = BN_new();
744 if (rsa->p == NULL || rsa->q == NULL || rsa->dmp1 == NULL || rsa->dmq1 ==
774 !BN_mod(rsa->dmp1, rsa->d, rem, ctx) ||
790 bn_free_and_null(&rsa->dmp1);