/external/boringssl/src/crypto/fipsmodule/rsa/ |
D | rsa.c | 145 BN_free(rsa->dmq1); in RSA_free() 199 *out_dmq1 = rsa->dmq1; 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 248 (rsa->dmq1 == NULL && dmq1 == NULL) || in RSA_set0_crt_params() 257 if (dmq1 != NULL) { in RSA_set0_crt_params() 258 BN_free(rsa->dmq1); in RSA_set0_crt_params() 259 rsa->dmq1 = dmq1; in RSA_set0_crt_params() 659 BIGNUM n, pm1, qm1, lcm, dmp1, dmq1, iqmp_times_q; in RSA_check_key() local 695 BN_init(&dmq1); in RSA_check_key() 728 if (has_crt_values != (key->dmq1 != NULL) || in RSA_check_key() [all …]
|
D | rsa_impl.c | 192 if (rsa->dmp1 != NULL && rsa->dmq1 != NULL) { in freeze_private_key() 209 !ensure_fixed_copy(&rsa->dmq1_fixed, rsa->dmq1, q_fixed->width)) { in freeze_private_key() 732 rsa->dmq1 != NULL && rsa->iqmp != NULL && in rsa_default_private_transform() 837 assert(rsa->dmq1 != NULL); in mod_exp() 857 const BIGNUM *dmp1 = rsa->dmp1_fixed, *dmq1 = rsa->dmq1_fixed; in mod_exp() local 863 dmq1 = rsa->dmp1_fixed; in mod_exp() 879 !BN_mod_exp_mont_consttime(m1, r1, dmq1, q, ctx, mont_q) || in mod_exp() 1137 !ensure_bignum(&rsa->dmq1)) { in rsa_generate_key_impl() 1212 !bn_div_consttime(NULL, rsa->dmq1, rsa->d, qm1, ctx)) { in rsa_generate_key_impl() 1284 replace_bignum(&rsa->dmq1, &tmp->dmq1); in RSA_generate_key_ex()
|
/external/ipsec-tools/src/racoon/ |
D | prsa_par.y | 190 || !rsa_cur->dmq1 || !rsa_cur->iqmp) { 194 if (rsa_cur->dmq1) BN_clear_free(rsa_cur->dmq1); 200 rsa_cur->dmq1 = NULL; 303 …{ if (!rsa_cur->dmq1) rsa_cur->dmq1 = $3; else { prsaerror ("Exponent2 already defined\n"); YYABOR…
|
D | plainrsa-gen.c | 146 fprintf(fp, "\tExponent2: 0x%s\n", lowercase(BN_bn2hex(key->dmq1))); in gen_rsa_key()
|
/external/wpa_supplicant_8/src/tls/ |
D | rsa.c | 26 struct bignum *dmq1; /* d mod (q - 1); CRT exponent */ member 168 key->dmq1 = bignum_init(); in crypto_rsa_import_private_key() 173 key->dmq1 == NULL || key->iqmp == NULL) { in crypto_rsa_import_private_key() 223 pos = crypto_rsa_parse_integer(pos, end, key->dmq1); in crypto_rsa_import_private_key() 310 if (bignum_exptmod(tmp, key->dmq1, key->q, b) < 0) in crypto_rsa_exptmod() 371 bignum_deinit(key->dmq1); in crypto_rsa_free()
|
/external/boringssl/src/crypto/rsa_extra/ |
D | rsa_test.cc | 856 ASSERT_TRUE(BN_hex2bn(&rsa->dmq1, kDMQ1)); in TEST() 859 BN_free(rsa->dmq1); in TEST() 860 rsa->dmq1 = nullptr; in TEST() 868 ASSERT_TRUE(BN_hex2bn(&rsa->dmq1, kDMQ1)); in TEST() 877 ASSERT_TRUE(BN_add_word(rsa->dmq1, 1)); in TEST() 880 ASSERT_TRUE(BN_sub_word(rsa->dmq1, 1)); in TEST() 893 ASSERT_TRUE(BN_add(rsa->dmq1, rsa->dmq1, rsa->q)); in TEST() 896 ASSERT_TRUE(BN_sub(rsa->dmq1, rsa->dmq1, rsa->q)); in TEST() 929 EXPECT_FALSE(rsa->dmq1); in TEST() 1079 rsa->dmq1 = BN_dup(rsa_template->dmq1); in TEST() [all …]
|
D | rsa_asn1.c | 182 !parse_integer(&child, &ret->dmq1) || in RSA_parse_private_key() 226 !marshal_integer(&child, rsa->dmq1) || 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, 677 BIGNUM *dmq1; member
|
/external/openssh/ |
D | rsa.c | 176 (BN_mod(rsa->dmq1, rsa->d, aux, ctx) == 0) || in rsa_generate_additional_parameters()
|
D | sshkey.c | 544 bn_maybe_alloc_failed(k->rsa->dmq1) || in sshkey_add_private()
|
/external/boringssl/src/crypto/evp/ |
D | print.c | 151 update_buflen(rsa->dmq1, &buf_len); in do_rsa_print() 192 !bn_print(out, "exponent2:", rsa->dmq1, m, off) || in do_rsa_print()
|
/external/boringssl/src/crypto/fipsmodule/self_check/ |
D | self_check.c | 187 !set_bignum(&rsa->dmq1, kDModQMinusOne, sizeof(kDModQMinusOne)) || in self_test_rsa_key()
|
/external/v8/benchmarks/ |
D | crypto.js | 1506 this.dmq1 = null; 1586 this.dmq1 = parseBigInt(DQ,16); 1620 this.dmq1 = this.d.mod(q1); 1634 var xq = x.mod(this.q).modPow(this.dmq1, this.q);
|
/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() 935 if (dmq1 != nullptr && !arrayToBignum(env, dmq1, &rsa->dmq1)) { in NativeCrypto_EVP_PKEY_new_RSA() 980 e, d, p, q, dmp1, dmq1, iqmp, pkey.get()); in NativeCrypto_EVP_PKEY_new_RSA() 1615 if (rsa->dmq1 != nullptr) { in NativeCrypto_get_RSA_private_params() 1616 jbyteArray dmq1 = bignumToArray(env, rsa->dmq1, "dmq1"); in NativeCrypto_get_RSA_private_params() local 1620 env->SetObjectArrayElement(joa, 6, dmq1); in NativeCrypto_get_RSA_private_params()
|
/external/scapy/test/ |
D | cert.uts | 117 assert(x_privNum.dmq1 == 58077388505079936284685944662039782610415160654764308528562806086690474868…
|
/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
|