Home
last modified time | relevance | path

Searched refs:iqmp (Results 1 – 16 of 16) sorted by relevance

/external/ipsec-tools/src/racoon/
Dprsa_par.y190 || !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…
Dplainrsa-gen.c147 fprintf(fp, "\tCoefficient: 0x%s\n", lowercase(BN_bn2hex(key->iqmp))); in gen_rsa_key()
/external/wpa_supplicant_8/src/tls/
Drsa.c27 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/
Drsa.c142 BN_clear_free(rsa->iqmp); in RSA_free()
192 *out_iqmp = rsa->iqmp; in RSA_get0_crt_params()
640 has_crt_values != (key->iqmp != NULL)) { in RSA_check_key()
651 !BN_mod_mul(&iqmp_times_q, key->iqmp, key->q, key->p, ctx)) { in RSA_check_key()
658 BN_cmp(key->iqmp, key->p) >= 0 || in RSA_check_key()
Drsa_impl.c598 rsa->dmq1 != NULL && rsa->iqmp != NULL) { in rsa_default_private_transform()
661 assert(rsa->iqmp != NULL); in mod_exp()
716 if (!BN_mul(r1, r0, rsa->iqmp, ctx)) { in mod_exp()
952 !ensure_bignum(&rsa->iqmp)) { in RSA_generate_key_ex()
1018 !bn_mod_inverse_secret_prime(rsa->iqmp, rsa->q, rsa->p, ctx, in RSA_generate_key_ex()
/external/boringssl/src/crypto/rsa_extra/
Drsa_asn1.c202 !parse_integer(&child, &ret->iqmp)) { in RSA_parse_private_key()
246 !marshal_integer(&child, rsa->iqmp) || in RSA_marshal_private_key()
/external/boringssl/src/crypto/evp/
Dprint.c152 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/
Dbcm.c248 !set_bignum(&rsa->iqmp, kQInverseModP, sizeof(kQInverseModP))) { in self_test_rsa_key()
/external/boringssl/src/include/openssl/
Drsa.h626 BIGNUM *iqmp; member
/external/openssh/
Dsshkey.c541 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()
Dauthfd.c508 (r = sshbuf_put_bignum1(b, key->iqmp)) != 0 || in ssh_encode_identity_rsa1()
Dssh-agent.c577 (r = sshbuf_get_bignum1(m, k->rsa->iqmp)) != 0 || in agent_decode_rsa1()
Dssh-keygen.c514 buffer_get_bignum_bits(b, key->rsa->iqmp); in do_convert_private_ssh2_from_blob()
/external/curl/lib/vtls/
Dopenssl.c2561 const BIGNUM *iqmp; in get_cert_chain() local
2565 RSA_get0_crt_params(rsa, &dmp1, &dmq1, &iqmp); in get_cert_chain()
2575 print_pubkey_BN(rsa, iqmp, i); in get_cert_chain()
2587 print_pubkey_BN(rsa, iqmp, i); in get_cert_chain()
/external/conscrypt/common/src/jni/main/cpp/
DNativeCrypto.cpp806 jbyteArray iqmp) { in NativeCrypto_EVP_PKEY_new_RSA() argument
808 n, e, d, p, q, dmp1, dmq1, iqmp); in NativeCrypto_EVP_PKEY_new_RSA()
850 if (iqmp != nullptr && !arrayToBignum(env, iqmp, &rsa->iqmp)) { in NativeCrypto_EVP_PKEY_new_RSA()
890 n, e, d, p, q, dmp1, dmq1, iqmp, pkey.get()); in NativeCrypto_EVP_PKEY_new_RSA()
1488 if (rsa->iqmp != nullptr) { in NativeCrypto_get_RSA_private_params()
1489 jbyteArray iqmp = bignumToArray(env, rsa->iqmp, "iqmp"); in NativeCrypto_get_RSA_private_params() local
1493 env->SetObjectArrayElement(joa, 7, iqmp); in NativeCrypto_get_RSA_private_params()
/external/conscrypt/common/src/main/java/org/conscrypt/
DNativeCrypto.java68 byte[] dmp1, byte[] dmq1, byte[] iqmp); in EVP_PKEY_new_RSA() argument