Home
last modified time | relevance | path

Searched refs:iqmp (Results 1 – 11 of 11) 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/boringssl/src/crypto/rsa/
Drsa.c150 BN_clear_free(rsa->iqmp); in RSA_free()
534 BIGNUM n, pm1, qm1, lcm, gcd, de, dmp1, dmq1, iqmp; in RSA_check_key() local
573 BN_init(&iqmp); in RSA_check_key()
623 has_crt_values != (key->iqmp != NULL)) { in RSA_check_key()
634 !BN_mod_inverse(&iqmp, key->q, key->p, ctx)) { in RSA_check_key()
641 BN_cmp(&iqmp, key->iqmp) != 0) { in RSA_check_key()
658 BN_free(&iqmp); in RSA_check_key()
674 if (rsa->p || rsa->q || rsa->dmp1 || rsa->dmq1 || rsa->iqmp) { in RSA_recover_crt_params()
743 rsa->iqmp = BN_new(); in RSA_recover_crt_params()
745 NULL || rsa->iqmp == NULL) { in RSA_recover_crt_params()
[all …]
Drsa_impl.c569 (rsa->dmq1 != NULL) && (rsa->iqmp != NULL))) { in rsa_default_private_transform()
703 if (!BN_mul(r1, r0, rsa->iqmp, ctx)) { in mod_exp()
887 if (!rsa->iqmp && ((rsa->iqmp = BN_new()) == NULL)) { in rsa_default_multi_prime_keygen()
1067 if (!BN_mod_inverse(rsa->iqmp, rsa->q, p, ctx)) { in rsa_default_multi_prime_keygen()
Drsa_asn1.c231 !parse_integer(&child, &ret->iqmp)) { in RSA_parse_private_key()
320 !marshal_integer(&child, rsa->iqmp)) { in RSA_marshal_private_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/evp/
Dp_rsa_asn1.c203 update_buflen(rsa->iqmp, &buf_len); in do_rsa_print()
257 !ASN1_bn_print(out, "coefficient:", rsa->iqmp, m, off)) { in do_rsa_print()
/external/boringssl/src/include/openssl/
Drsa.h557 BIGNUM *iqmp; member
/external/conscrypt/src/main/java/org/conscrypt/
DNativeCrypto.java86 byte[] dmp1, byte[] dmq1, byte[] iqmp); in EVP_PKEY_new_RSA() argument
/external/conscrypt/src/main/native/
Dorg_conscrypt_NativeCrypto.cpp2592 jbyteArray iqmp) { argument
2594 n, e, d, p, q, dmp1, dmq1, iqmp);
2636 if (iqmp != nullptr && !arrayToBignum(env, iqmp, &rsa->iqmp)) {
2676 n, e, d, p, q, dmp1, dmq1, iqmp, pkey.get());
3323 if (rsa->iqmp != nullptr) {
3324 jbyteArray iqmp = bignumToArray(env, rsa->iqmp, "iqmp"); local
3328 env->SetObjectArrayElement(joa, 7, iqmp);
/external/curl/lib/vtls/
Dopenssl.c2522 print_pubkey_BN(rsa, iqmp, i); in get_cert_chain()