Home
last modified time | relevance | path

Searched refs:dmp1 (Results 1 – 12 of 12) sorted by relevance

/external/ipsec-tools/src/racoon/
Dprsa_par.y189 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…
Dplainrsa-gen.c145 fprintf(fp, "\tExponent1: 0x%s\n", lowercase(BN_bn2hex(key->dmp1))); in gen_rsa_key()
/external/boringssl/src/crypto/rsa/
Drsa.c148 BN_clear_free(rsa->dmp1); in RSA_free()
534 BIGNUM n, pm1, qm1, lcm, gcd, de, dmp1, dmq1, iqmp; in RSA_check_key() local
571 BN_init(&dmp1); in RSA_check_key()
621 has_crt_values = key->dmp1 != NULL; in RSA_check_key()
630 !BN_mod(&dmp1, key->d, &pm1, ctx) || in RSA_check_key()
639 if (BN_cmp(&dmp1, key->dmp1) != 0 || in RSA_check_key()
656 BN_free(&dmp1); in RSA_check_key()
674 if (rsa->p || rsa->q || rsa->dmp1 || rsa->dmq1 || rsa->iqmp) { in RSA_recover_crt_params()
741 rsa->dmp1 = BN_new(); in RSA_recover_crt_params()
744 if (rsa->p == NULL || rsa->q == NULL || rsa->dmp1 == NULL || rsa->dmq1 == in RSA_recover_crt_params()
[all …]
Drsa_impl.c568 ((rsa->p != NULL) && (rsa->q != NULL) && (rsa->dmp1 != NULL) && in rsa_default_private_transform()
621 BIGNUM *dmp1, *dmq1, *c, *pr1; in mod_exp() local
686 dmp1 = &local_dmp1; in mod_exp()
687 BN_with_flags(dmp1, rsa->dmp1, BN_FLG_CONSTTIME); in mod_exp()
688 if (!rsa->meth->bn_mod_exp(r0, r1, dmp1, rsa->p, ctx, rsa->mont_p)) { in mod_exp()
881 if (!rsa->dmp1 && ((rsa->dmp1 = BN_new()) == NULL)) { in rsa_default_multi_prime_keygen()
1054 if (!BN_mod(rsa->dmp1, d, r1, ctx)) { in rsa_default_multi_prime_keygen()
Drsa_asn1.c229 !parse_integer(&child, &ret->dmp1) || in RSA_parse_private_key()
318 !marshal_integer(&child, rsa->dmp1) || in RSA_marshal_private_key()
/external/wpa_supplicant_8/src/tls/
Drsa.c25 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/evp/
Dp_rsa_asn1.c201 update_buflen(rsa->dmp1, &buf_len); in do_rsa_print()
255 !ASN1_bn_print(out, "exponent1:", rsa->dmp1, m, off) || in do_rsa_print()
/external/boringssl/src/include/openssl/
Drsa.h555 BIGNUM *dmp1; member
/external/v8/benchmarks/
Dcrypto.js1505 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/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.cpp2591 jbyteArray dmp1, jbyteArray dmq1, argument
2594 n, e, d, p, q, dmp1, dmq1, iqmp);
2628 if (dmp1 != nullptr && !arrayToBignum(env, dmp1, &rsa->dmp1)) {
2676 n, e, d, p, q, dmp1, dmq1, iqmp, pkey.get());
3307 if (rsa->dmp1 != nullptr) {
3308 jbyteArray dmp1 = bignumToArray(env, rsa->dmp1, "dmp1"); local
3312 env->SetObjectArrayElement(joa, 5, dmp1);
/external/curl/lib/vtls/
Dopenssl.c2520 print_pubkey_BN(rsa, dmp1, i); in get_cert_chain()