Searched defs:dmq1 (Results 1 - 10 of 10) sorted by relevance

/external/wpa_supplicant_8/hostapd/src/tls/
H A Drsa.c26 struct bignum *dmq1; /* d mod (q - 1); CRT exponent */ member in struct:crypto_rsa_key
168 key->dmq1 = bignum_init();
173 key->dmq1 == NULL || key->iqmp == NULL) {
223 pos = crypto_rsa_parse_integer(pos, end, key->dmq1);
293 * dmq1 = (1/e) mod (q-1)
296 * m2 = c^dmq1 mod q
309 /* b = tmp^dmq1 mod q */
310 if (bignum_exptmod(tmp, key->dmq1, key->q, b) < 0)
371 bignum_deinit(key->dmq1);
/external/wpa_supplicant_8/src/tls/
H A Drsa.c26 struct bignum *dmq1; /* d mod (q - 1); CRT exponent */ member in struct:crypto_rsa_key
168 key->dmq1 = bignum_init();
173 key->dmq1 == NULL || key->iqmp == NULL) {
223 pos = crypto_rsa_parse_integer(pos, end, key->dmq1);
293 * dmq1 = (1/e) mod (q-1)
296 * m2 = c^dmq1 mod q
309 /* b = tmp^dmq1 mod q */
310 if (bignum_exptmod(tmp, key->dmq1, key->q, b) < 0)
371 bignum_deinit(key->dmq1);
/external/wpa_supplicant_8/wpa_supplicant/src/tls/
H A Drsa.c26 struct bignum *dmq1; /* d mod (q - 1); CRT exponent */ member in struct:crypto_rsa_key
168 key->dmq1 = bignum_init();
173 key->dmq1 == NULL || key->iqmp == NULL) {
223 pos = crypto_rsa_parse_integer(pos, end, key->dmq1);
293 * dmq1 = (1/e) mod (q-1)
296 * m2 = c^dmq1 mod q
309 /* b = tmp^dmq1 mod q */
310 if (bignum_exptmod(tmp, key->dmq1, key->q, b) < 0)
371 bignum_deinit(key->dmq1);
/external/boringssl/src/crypto/rsa/
H A Drsa_impl.c569 (rsa->dmq1 != NULL) && (rsa->iqmp != NULL))) {
621 BIGNUM *dmp1, *dmq1, *c, *pr1; local
671 /* compute r1^dmq1 mod q */
672 dmq1 = &local_dmq1;
673 BN_with_flags(dmq1, rsa->dmq1, BN_FLG_CONSTTIME);
674 if (!rsa->meth->bn_mod_exp(m1, r1, dmq1, rsa->q, ctx, rsa->mont_q)) {
884 if (!rsa->dmq1 && ((rsa->dmq1 = BN_new()) == NULL)) {
1059 if (!BN_mod(rsa->dmq1,
[all...]
H A Drsa.c149 BN_clear_free(rsa->dmq1);
534 BIGNUM n, pm1, qm1, lcm, gcd, de, dmp1, dmq1, iqmp; local
572 BN_init(&dmq1);
622 if (has_crt_values != (key->dmq1 != NULL) ||
631 /* dmq1 = d mod (q-1) */
632 !BN_mod(&dmq1, key->d, &qm1, ctx) ||
640 BN_cmp(&dmq1, key->dmq1) != 0 ||
657 BN_free(&dmq1);
674 if (rsa->p || rsa->q || rsa->dmp1 || rsa->dmq1 || rs
[all...]
/external/boringssl/include/openssl/
H A Drsa.h291 * values are set in the |p|, |q|, |dmp1|, |dmq1| and |iqmp| members of |rsa|,
556 BIGNUM *dmq1; member in struct:rsa_st
/external/boringssl/src/include/openssl/
H A Drsa.h291 * values are set in the |p|, |q|, |dmp1|, |dmq1| and |iqmp| members of |rsa|,
556 BIGNUM *dmq1; member in struct:rsa_st
/external/curl/lib/vtls/
H A Dopenssl.c2479 const BIGNUM *dmq1; local
2484 RSA_get0_crt_params(rsa, &dmp1, &dmq1, &iqmp);
2493 print_pubkey_BN(rsa, dmq1, i);
2505 print_pubkey_BN(rsa, dmq1, i);
/external/conscrypt/src/main/java/org/conscrypt/
H A DNativeCrypto.java86 byte[] dmp1, byte[] dmq1, byte[] iqmp);
139 * @return array of {n, e, d, p, q, dmp1, dmq1, iqmp}
85 EVP_PKEY_new_RSA(byte[] n, byte[] e, byte[] d, byte[] p, byte[] q, byte[] dmp1, byte[] dmq1, byte[] iqmp) argument
/external/conscrypt/src/main/native/
H A Dorg_conscrypt_NativeCrypto.cpp2591 jbyteArray dmp1, jbyteArray dmq1,
2593 JNI_TRACE("EVP_PKEY_new_RSA(n=%p, e=%p, d=%p, p=%p, q=%p, dmp1=%p, dmq1=%p, iqmp=%p)",
2594 n, e, d, p, q, dmp1, dmq1, iqmp);
2632 if (dmq1 != nullptr && !arrayToBignum(env, dmq1, &rsa->dmq1)) {
2675 JNI_TRACE("EVP_PKEY_new_RSA(n=%p, e=%p, d=%p, p=%p, q=%p dmp1=%p, dmq1=%p, iqmp=%p) => %p",
2676 n, e, d, p, q, dmp1, dmq1, iqmp, pkey.get());
3315 if (rsa->dmq1 != nullptr) {
3316 jbyteArray dmq1 local
2588 NativeCrypto_EVP_PKEY_new_RSA(JNIEnv* env, jclass, jbyteArray n, jbyteArray e, jbyteArray d, jbyteArray p, jbyteArray q, jbyteArray dmp1, jbyteArray dmq1, jbyteArray iqmp) argument
[all...]

Completed in 416 milliseconds