/external/ipsec-tools/src/racoon/ |
D | prsa_par.y | 190 || !rsa_cur->dmq1 || !rsa_cur->iqmp) { 195 if (rsa_cur->iqmp) BN_clear_free(rsa_cur->iqmp); 201 rsa_cur->iqmp = NULL; 305 …{ if (!rsa_cur->iqmp) rsa_cur->iqmp = $3; else { prsaerror ("Coefficient already defined\n"); YYAB…
|
D | plainrsa-gen.c | 147 fprintf(fp, "\tCoefficient: 0x%s\n", lowercase(BN_bn2hex(key->iqmp))); in gen_rsa_key()
|
/external/wpa_supplicant_8/src/tls/ |
D | rsa.c | 27 struct bignum *iqmp; /* 1 / q mod p; CRT coefficient */ member 169 key->iqmp = bignum_init(); in crypto_rsa_import_private_key() 173 key->dmq1 == NULL || key->iqmp == NULL) { in crypto_rsa_import_private_key() 224 pos = crypto_rsa_parse_integer(pos, end, key->iqmp); in crypto_rsa_import_private_key() 315 bignum_mulmod(tmp, key->iqmp, key->p, tmp) < 0) in crypto_rsa_exptmod() 372 bignum_deinit(key->iqmp); in crypto_rsa_free()
|
/external/boringssl/src/crypto/fipsmodule/rsa/ |
D | rsa.c | 146 BN_free(rsa->iqmp); in RSA_free() 202 *out_iqmp = rsa->iqmp; 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 249 (rsa->iqmp == NULL && iqmp == NULL)) { in RSA_set0_crt_params() 261 if (iqmp != NULL) { in RSA_set0_crt_params() 262 BN_free(rsa->iqmp); in RSA_set0_crt_params() 263 rsa->iqmp = iqmp; in RSA_set0_crt_params() 729 has_crt_values != (key->iqmp != NULL)) { in RSA_check_key() 740 !check_mod_inverse(&iqmp_ok, key->q, key->iqmp, key->p, in RSA_check_key()
|
D | rsa_impl.c | 194 if (rsa->iqmp == NULL) { in freeze_private_key() 195 BIGNUM *iqmp = BN_new(); in freeze_private_key() local 196 if (iqmp == NULL || in freeze_private_key() 197 !bn_mod_inverse_secret_prime(iqmp, rsa->q, rsa->p, ctx, in freeze_private_key() 199 BN_free(iqmp); in freeze_private_key() 202 rsa->iqmp = iqmp; in freeze_private_key() 226 BN_to_montgomery(inv_small_mod_large_mont, rsa->iqmp, in freeze_private_key() 732 rsa->dmq1 != NULL && rsa->iqmp != NULL && in rsa_default_private_transform() 838 assert(rsa->iqmp != NULL); in mod_exp() 1285 replace_bignum(&rsa->iqmp, &tmp->iqmp); in RSA_generate_key_ex()
|
/external/boringssl/src/crypto/rsa_extra/ |
D | rsa_test.cc | 862 ASSERT_TRUE(BN_hex2bn(&rsa->iqmp, kIQMP)); in TEST() 882 ASSERT_TRUE(BN_add_word(rsa->iqmp, 1)); in TEST() 885 ASSERT_TRUE(BN_sub_word(rsa->iqmp, 1)); in TEST() 898 ASSERT_TRUE(BN_add(rsa->iqmp, rsa->iqmp, rsa->p)); in TEST() 901 ASSERT_TRUE(BN_sub(rsa->iqmp, rsa->iqmp, rsa->p)); in TEST() 930 EXPECT_FALSE(rsa->iqmp); in TEST() 1081 rsa->iqmp = BN_dup(rsa_template->iqmp); in TEST() 1082 ASSERT_TRUE(rsa->iqmp); in TEST()
|
D | rsa_asn1.c | 183 !parse_integer(&child, &ret->iqmp)) { in RSA_parse_private_key() 227 !marshal_integer(&child, rsa->iqmp) || in RSA_marshal_private_key()
|
/external/boringssl/src/include/openssl/ |
D | rsa.h | 151 BIGNUM *iqmp); 678 BIGNUM *iqmp; member
|
/external/boringssl/src/crypto/evp/ |
D | print.c | 152 update_buflen(rsa->iqmp, &buf_len); in do_rsa_print() 193 !bn_print(out, "coefficient:", rsa->iqmp, m, off)) { in do_rsa_print()
|
/external/boringssl/src/crypto/fipsmodule/self_check/ |
D | self_check.c | 188 !set_bignum(&rsa->iqmp, kQInverseModP, sizeof(kQInverseModP))) { in self_test_rsa_key()
|
/external/openssh/ |
D | sshkey.c | 541 bn_maybe_alloc_failed(k->rsa->iqmp) || in sshkey_add_private() 2594 (r = sshbuf_put_bignum2(b, key->rsa->iqmp)) != 0 || in sshkey_private_serialize() 2606 (r = sshbuf_put_bignum2(b, key->rsa->iqmp)) != 0 || in sshkey_private_serialize() 2775 (r = sshbuf_get_bignum2(buf, k->rsa->iqmp)) != 0 || in sshkey_private_deserialize() 2785 (r = sshbuf_get_bignum2(buf, k->rsa->iqmp)) != 0 || in sshkey_private_deserialize() 3451 (r = sshbuf_put_bignum1(buffer, key->rsa->iqmp)) != 0 || in sshkey_private_rsa1_to_blob() 3740 (r = sshbuf_get_bignum1(decrypted, prv->rsa->iqmp)) != 0 || in sshkey_parse_private_rsa1()
|
D | authfd.c | 508 (r = sshbuf_put_bignum1(b, key->iqmp)) != 0 || in ssh_encode_identity_rsa1()
|
D | ssh-agent.c | 577 (r = sshbuf_get_bignum1(m, k->rsa->iqmp)) != 0 || in agent_decode_rsa1()
|
D | ssh-keygen.c | 514 buffer_get_bignum_bits(b, key->rsa->iqmp); in do_convert_private_ssh2_from_blob()
|
/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() 939 if (iqmp != nullptr && !arrayToBignum(env, iqmp, &rsa->iqmp)) { in NativeCrypto_EVP_PKEY_new_RSA() 980 e, d, p, q, dmp1, dmq1, iqmp, pkey.get()); in NativeCrypto_EVP_PKEY_new_RSA() 1623 if (rsa->iqmp != nullptr) { in NativeCrypto_get_RSA_private_params() 1624 jbyteArray iqmp = bignumToArray(env, rsa->iqmp, "iqmp"); in NativeCrypto_get_RSA_private_params() local 1628 env->SetObjectArrayElement(joa, 7, iqmp); in NativeCrypto_get_RSA_private_params()
|
/external/scapy/scapy/layers/tls/ |
D | cert.py | 469 iqmp=coefficient, d=privExp,
|
/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
|