Searched refs:dmp1 (Results 1 - 17 of 17) sorted by relevance

/external/boringssl/src/crypto/rsa/
H A Drsa_test.c74 key->dmp1 = BN_bin2bn(dmp1, sizeof(dmp1) - 1, key->dmp1); \
106 static unsigned char dmp1[] = local
151 static unsigned char dmp1[] = local
211 static unsigned char dmp1[] = local
H A Drsa.c140 BN_clear_free(rsa->dmp1);
502 BIGNUM n, pm1, qm1, lcm, gcd, de, dmp1, dmq1, iqmp; local
539 BN_init(&dmp1);
567 has_crt_values = key->dmp1 != NULL;
575 if (/* dmp1 = d mod (p-1) */
576 !BN_mod(&dmp1, key->d, &pm1, ctx) ||
585 if (BN_cmp(&dmp1, key->dmp1) != 0 ||
602 BN_free(&dmp1);
620 if (rsa->p || rsa->q || rsa->dmp1 || rs
[all...]
H A Drsa_asn1.c88 ASN1_SIMPLE(RSA, dmp1, BIGNUM),
H A Drsa_impl.c564 ((rsa->p != NULL) && (rsa->q != NULL) && (rsa->dmp1 != NULL) &&
617 BIGNUM *dmp1, *dmq1, *c, *pr1; local
679 /* compute r1^dmp1 mod p */
680 dmp1 = &local_dmp1;
681 BN_with_flags(dmp1, rsa->dmp1, BN_FLG_CONSTTIME);
682 if (!rsa->meth->bn_mod_exp(r0, r1, dmp1, rsa->p, ctx, rsa->_method_mod_p)) {
808 if (!rsa->dmp1 && ((rsa->dmp1 = BN_new()) == NULL)) {
898 if (!BN_mod(rsa->dmp1,
[all...]
/external/ipsec-tools/src/racoon/
H A 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"); YYABORT; } }
H A Dplainrsa-gen.c145 fprintf(fp, "\tExponent1: 0x%s\n", lowercase(BN_bn2hex(key->dmp1)));
/external/wpa_supplicant_8/hostapd/src/tls/
H A Drsa.c25 struct bignum *dmp1; /* d mod (p - 1); CRT exponent */ member in struct:crypto_rsa_key
167 key->dmp1 = bignum_init();
172 key->p == NULL || key->q == NULL || key->dmp1 == NULL ||
222 pos = crypto_rsa_parse_integer(pos, end, key->dmp1);
292 * dmp1 = (1/e) mod (p-1)
295 * m1 = c^dmp1 mod p
305 /* a = tmp^dmp1 mod p */
306 if (bignum_exptmod(tmp, key->dmp1, key->p, a) < 0)
370 bignum_deinit(key->dmp1);
/external/wpa_supplicant_8/src/tls/
H A Drsa.c25 struct bignum *dmp1; /* d mod (p - 1); CRT exponent */ member in struct:crypto_rsa_key
167 key->dmp1 = bignum_init();
172 key->p == NULL || key->q == NULL || key->dmp1 == NULL ||
222 pos = crypto_rsa_parse_integer(pos, end, key->dmp1);
292 * dmp1 = (1/e) mod (p-1)
295 * m1 = c^dmp1 mod p
305 /* a = tmp^dmp1 mod p */
306 if (bignum_exptmod(tmp, key->dmp1, key->p, a) < 0)
370 bignum_deinit(key->dmp1);
/external/wpa_supplicant_8/wpa_supplicant/src/tls/
H A Drsa.c25 struct bignum *dmp1; /* d mod (p - 1); CRT exponent */ member in struct:crypto_rsa_key
167 key->dmp1 = bignum_init();
172 key->p == NULL || key->q == NULL || key->dmp1 == NULL ||
222 pos = crypto_rsa_parse_integer(pos, end, key->dmp1);
292 * dmp1 = (1/e) mod (p-1)
295 * m1 = c^dmp1 mod p
305 /* a = tmp^dmp1 mod p */
306 if (bignum_exptmod(tmp, key->dmp1, key->p, a) < 0)
370 bignum_deinit(key->dmp1);
/external/openssh/
H A Drsa.c178 (BN_mod(rsa->dmp1, rsa->d, aux, ctx) == 0)) {
H A Dsshkey.c569 bn_maybe_alloc_failed(k->rsa->dmp1))
/external/boringssl/src/crypto/evp/
H A Dp_rsa_asn1.c198 update_buflen(rsa->dmp1, &buf_len);
239 !ASN1_bn_print(out, "exponent1:", rsa->dmp1, m, off) ||
/external/boringssl/include/openssl/
H A Drsa.h284 * values are set in the |p|, |q|, |dmp1|, |dmq1| and |iqmp| members of |rsa|,
473 BIGNUM *dmp1; member in struct:rsa_st
/external/boringssl/src/include/openssl/
H A Drsa.h284 * values are set in the |p|, |q|, |dmp1|, |dmq1| and |iqmp| members of |rsa|,
473 BIGNUM *dmp1; member in struct:rsa_st
/external/v8/benchmarks/
H A 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/
H A DNativeCrypto.java85 byte[] dmp1, byte[] dmq1, byte[] iqmp);
136 * @return array of {n, e, d, p, q, dmp1, dmq1, iqmp}
84 EVP_PKEY_new_RSA(byte[] n, byte[] e, byte[] d, byte[] p, byte[] q, byte[] dmp1, byte[] dmq1, byte[] iqmp) argument
/external/conscrypt/src/main/native/
H A Dorg_conscrypt_NativeCrypto.cpp2617 jbyteArray dmp1, jbyteArray dmq1,
2619 JNI_TRACE("EVP_PKEY_new_RSA(n=%p, e=%p, d=%p, p=%p, q=%p, dmp1=%p, dmq1=%p, iqmp=%p)",
2620 n, e, d, p, q, dmp1, dmq1, iqmp);
2654 if (dmp1 != NULL && !arrayToBignum(env, dmp1, &rsa->dmp1)) {
2701 JNI_TRACE("EVP_PKEY_new_RSA(n=%p, e=%p, d=%p, p=%p, q=%p dmp1=%p, dmq1=%p, iqmp=%p) => %p",
2702 n, e, d, p, q, dmp1, dmq1, iqmp, pkey.get());
3363 if (rsa->dmp1 != NULL) {
3364 jbyteArray dmp1 local
2614 NativeCrypto_EVP_PKEY_new_RSA(JNIEnv* env, jclass, jbyteArray n, jbyteArray e, jbyteArray d, jbyteArray p, jbyteArray q, jbyteArray dmp1, jbyteArray dmq1, jbyteArray iqmp) argument
[all...]

Completed in 589 milliseconds