/external/wpa_supplicant_8/src/tls/ |
rsa.c | 25 struct bignum *dmp1; /* d mod (p - 1); CRT exponent */ member in struct:crypto_rsa_key 167 key->dmp1 = bignum_init(); 172 key->p == NULL || key->q == NULL || key->dmp1 == NULL || 222 pos = crypto_rsa_parse_integer(pos, end, key->dmp1); 292 * dmp1 = (1/e) mod (p-1) 295 * m1 = c^dmp1 mod p 305 /* a = tmp^dmp1 mod p */ 306 if (bignum_exptmod(tmp, key->dmp1, key->p, a) < 0) 370 bignum_deinit(key->dmp1);
|
/external/boringssl/src/crypto/rsa/ |
rsa_impl.c | 568 ((rsa->p != NULL) && (rsa->q != NULL) && (rsa->dmp1 != NULL) && 621 BIGNUM *dmp1, *dmq1, *c, *pr1; local 685 /* compute r1^dmp1 mod p */ 686 dmp1 = &local_dmp1; 687 BN_with_flags(dmp1, rsa->dmp1, BN_FLG_CONSTTIME); 688 if (!rsa->meth->bn_mod_exp(r0, r1, dmp1, rsa->p, ctx, rsa->mont_p)) { 881 if (!rsa->dmp1 && ((rsa->dmp1 = BN_new()) == NULL)) { 1054 if (!BN_mod(rsa->dmp1, d, r1, ctx)) [all...] |
rsa.c | 148 BN_clear_free(rsa->dmp1); 534 BIGNUM n, pm1, qm1, lcm, gcd, de, dmp1, dmq1, iqmp; local 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) [all...] |
/external/boringssl/src/include/openssl/ |
rsa.h | 291 * values are set in the |p|, |q|, |dmp1|, |dmq1| and |iqmp| members of |rsa|, 555 BIGNUM *dmp1; member in struct:rsa_st
|
/external/conscrypt/src/main/native/ |
org_conscrypt_NativeCrypto.cpp | 3308 jbyteArray dmp1 = bignumToArray(env, rsa->dmp1, "dmp1"); local [all...] |