/external/boringssl/src/crypto/fipsmodule/rsa/ |
D | rsa.c | 144 BN_free(rsa->dmp1); in RSA_free() 196 *out_dmp1 = rsa->dmp1; in RSA_get0_crt_params() 246 int RSA_set0_crt_params(RSA *rsa, BIGNUM *dmp1, BIGNUM *dmq1, BIGNUM *iqmp) { in RSA_set0_crt_params() argument 247 if ((rsa->dmp1 == NULL && dmp1 == NULL) || in RSA_set0_crt_params() 253 if (dmp1 != NULL) { in RSA_set0_crt_params() 254 BN_free(rsa->dmp1); in RSA_set0_crt_params() 255 rsa->dmp1 = dmp1; in RSA_set0_crt_params() 659 BIGNUM n, pm1, qm1, lcm, dmp1, dmq1, iqmp_times_q; in RSA_check_key() local 694 BN_init(&dmp1); in RSA_check_key() 727 has_crt_values = key->dmp1 != NULL; in RSA_check_key() [all …]
|
D | rsa_impl.c | 192 if (rsa->dmp1 != NULL && rsa->dmq1 != NULL) { in freeze_private_key() 208 if (!ensure_fixed_copy(&rsa->dmp1_fixed, rsa->dmp1, p_fixed->width) || in freeze_private_key() 731 if (rsa->p != NULL && rsa->q != NULL && rsa->e != NULL && rsa->dmp1 != NULL && in rsa_default_private_transform() 836 assert(rsa->dmp1 != NULL); in mod_exp() 857 const BIGNUM *dmp1 = rsa->dmp1_fixed, *dmq1 = rsa->dmq1_fixed; in mod_exp() local 862 dmp1 = rsa->dmq1_fixed; in mod_exp() 882 !BN_mod_exp_mont_consttime(r0, r1, dmp1, p, ctx, mont_p) || in mod_exp() 1136 !ensure_bignum(&rsa->dmp1) || in rsa_generate_key_impl() 1210 !bn_div_consttime(NULL, rsa->dmp1, rsa->d, pm1, ctx) || in rsa_generate_key_impl() 1283 replace_bignum(&rsa->dmp1, &tmp->dmp1); in RSA_generate_key_ex()
|
/external/ipsec-tools/src/racoon/ |
D | prsa_par.y | 189 if (!rsa_cur->p || !rsa_cur->q || !rsa_cur->dmp1 193 if (rsa_cur->dmp1) BN_clear_free(rsa_cur->dmp1); 199 rsa_cur->dmp1 = NULL; 301 …{ if (!rsa_cur->dmp1) rsa_cur->dmp1 = $3; else { prsaerror ("Exponent1 already defined\n"); YYABOR…
|
D | plainrsa-gen.c | 145 fprintf(fp, "\tExponent1: 0x%s\n", lowercase(BN_bn2hex(key->dmp1))); in gen_rsa_key()
|
/external/wpa_supplicant_8/src/tls/ |
D | rsa.c | 25 struct bignum *dmp1; /* d mod (p - 1); CRT exponent */ member 167 key->dmp1 = bignum_init(); in crypto_rsa_import_private_key() 172 key->p == NULL || key->q == NULL || key->dmp1 == NULL || in crypto_rsa_import_private_key() 222 pos = crypto_rsa_parse_integer(pos, end, key->dmp1); in crypto_rsa_import_private_key() 306 if (bignum_exptmod(tmp, key->dmp1, key->p, a) < 0) in crypto_rsa_exptmod() 370 bignum_deinit(key->dmp1); in crypto_rsa_free()
|
/external/boringssl/src/crypto/rsa_extra/ |
D | rsa_test.cc | 850 ASSERT_TRUE(BN_hex2bn(&rsa->dmp1, kDMP1)); in TEST() 853 BN_free(rsa->dmp1); in TEST() 854 rsa->dmp1 = nullptr; in TEST() 867 ASSERT_TRUE(BN_hex2bn(&rsa->dmp1, kDMP1)); in TEST() 872 ASSERT_TRUE(BN_add_word(rsa->dmp1, 1)); in TEST() 875 ASSERT_TRUE(BN_sub_word(rsa->dmp1, 1)); in TEST() 888 ASSERT_TRUE(BN_add(rsa->dmp1, rsa->dmp1, rsa->p)); in TEST() 891 ASSERT_TRUE(BN_sub(rsa->dmp1, rsa->dmp1, rsa->p)); in TEST() 928 EXPECT_FALSE(rsa->dmp1); in TEST() 1077 rsa->dmp1 = BN_dup(rsa_template->dmp1); in TEST() [all …]
|
D | rsa_asn1.c | 181 !parse_integer(&child, &ret->dmp1) || in RSA_parse_private_key() 225 !marshal_integer(&child, rsa->dmp1) || in RSA_marshal_private_key()
|
/external/boringssl/src/include/openssl/ |
D | rsa.h | 150 OPENSSL_EXPORT int RSA_set0_crt_params(RSA *rsa, BIGNUM *dmp1, BIGNUM *dmq1, 676 BIGNUM *dmp1; member
|
/external/openssh/ |
D | rsa.c | 178 (BN_mod(rsa->dmp1, rsa->d, aux, ctx) == 0)) { in rsa_generate_additional_parameters()
|
D | sshkey.c | 545 bn_maybe_alloc_failed(k->rsa->dmp1)) in sshkey_add_private()
|
/external/boringssl/src/crypto/evp/ |
D | print.c | 150 update_buflen(rsa->dmp1, &buf_len); in do_rsa_print() 191 !bn_print(out, "exponent1:", rsa->dmp1, m, off) || in do_rsa_print()
|
/external/boringssl/src/crypto/fipsmodule/self_check/ |
D | self_check.c | 186 !set_bignum(&rsa->dmp1, kDModPMinusOne, sizeof(kDModPMinusOne)) || in self_test_rsa_key()
|
/external/v8/benchmarks/ |
D | crypto.js | 1505 this.dmp1 = null; 1585 this.dmp1 = parseBigInt(DP,16); 1619 this.dmp1 = this.d.mod(p1); 1633 var xp = x.mod(this.p).modPow(this.dmp1, this.p);
|
/external/conscrypt/common/src/jni/main/cpp/conscrypt/ |
D | native_crypto.cc | 893 jbyteArray dmp1, jbyteArray dmq1, jbyteArray iqmp) { in NativeCrypto_EVP_PKEY_new_RSA() argument 896 p, q, dmp1, dmq1, iqmp); in NativeCrypto_EVP_PKEY_new_RSA() 931 if (dmp1 != nullptr && !arrayToBignum(env, dmp1, &rsa->dmp1)) { in NativeCrypto_EVP_PKEY_new_RSA() 980 e, d, p, q, dmp1, dmq1, iqmp, pkey.get()); in NativeCrypto_EVP_PKEY_new_RSA() 1607 if (rsa->dmp1 != nullptr) { in NativeCrypto_get_RSA_private_params() 1608 jbyteArray dmp1 = bignumToArray(env, rsa->dmp1, "dmp1"); in NativeCrypto_get_RSA_private_params() local 1612 env->SetObjectArrayElement(joa, 5, dmp1); in NativeCrypto_get_RSA_private_params()
|
/external/scapy/test/ |
D | cert.uts | 116 assert(x_privNum.dmp1 == 46171616708754015342920807261537213121074749458020000367465429453038710215…
|
/external/scapy/scapy/layers/tls/ |
D | cert.py | 468 dmp1=exponent1, dmq1=exponent2,
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | NativeCrypto.java | 88 byte[] dmp1, byte[] dmq1, byte[] iqmp); in EVP_PKEY_new_RSA() argument
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | NativeCrypto.java | 91 byte[] dmp1, byte[] dmq1, byte[] iqmp); in EVP_PKEY_new_RSA() argument
|