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

/external/openssl/crypto/rsa/
H A Drsa_test.c27 key->dmp1 = BN_bin2bn(dmp1, sizeof(dmp1)-1, key->dmp1); \
60 static unsigned char dmp1[] = local
106 static unsigned char dmp1[] = local
167 static unsigned char dmp1[] = local
H A Drsa_lib.c181 ret->dmp1=NULL;
248 if (r->dmp1 != NULL) BN_clear_free(r->dmp1);
301 t[3]= &r->dmp1;
H A Drsa_chk.c131 if (key->dmp1 != NULL && key->dmq1 != NULL && key->iqmp != NULL)
133 /* dmp1 = d mod (p-1)? */
140 if (BN_cmp(j, key->dmp1) != 0)
H A Drsa_asn1.c89 ASN1_SIMPLE(RSA, dmp1, BIGNUM),
H A Drsa_gen.c126 if(!rsa->dmp1 && ((rsa->dmp1=BN_new()) == NULL)) goto err;
204 if (!BN_mod(rsa->dmp1,d,r1,ctx)) goto err;
H A Drsa_eay.c427 (rsa->dmp1 != NULL) &&
561 (rsa->dmp1 != NULL) &&
741 BIGNUM *dmp1,*dmq1,*c,*pr1; local
820 /* compute r1^dmp1 mod p */
823 dmp1 = &local_dmp1;
824 BN_with_flags(dmp1, rsa->dmp1, BN_FLG_CONSTTIME);
827 dmp1 = rsa->dmp1;
828 if (!rsa->meth->bn_mod_exp(r0,r1,dmp1,rs
[all...]
H A Drsa_ameth.c199 update_buflen(x->dmp1, &buf_len);
242 if (!ASN1_bn_print(bp,"exponent1:",x->dmp1,m,off))
H A Drsa.h143 BIGNUM *dmp1; member in struct:rsa_st
/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_6/wpa_supplicant/src/tls/
H A Drsa.c32 struct bignum *dmp1; /* d mod (p - 1); CRT exponent */ member in struct:crypto_rsa_key
152 key->dmp1 = bignum_init();
157 key->p == NULL || key->q == NULL || key->dmp1 == NULL ||
207 pos = crypto_rsa_parse_integer(pos, end, key->dmp1);
278 * dmp1 = (1/e) mod (p-1)
281 * m1 = c^dmp1 mod p
291 /* a = tmp^dmp1 mod p */
292 if (bignum_exptmod(tmp, key->dmp1, key->p, a) < 0)
356 bignum_deinit(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
144 key->dmp1 = bignum_init();
149 key->p == NULL || key->q == NULL || key->dmp1 == NULL ||
199 pos = crypto_rsa_parse_integer(pos, end, key->dmp1);
269 * dmp1 = (1/e) mod (p-1)
272 * m1 = c^dmp1 mod p
282 /* a = tmp^dmp1 mod p */
283 if (bignum_exptmod(tmp, key->dmp1, key->p, a) < 0)
347 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
144 key->dmp1 = bignum_init();
149 key->p == NULL || key->q == NULL || key->dmp1 == NULL ||
199 pos = crypto_rsa_parse_integer(pos, end, key->dmp1);
269 * dmp1 = (1/e) mod (p-1)
272 * m1 = c^dmp1 mod p
282 /* a = tmp^dmp1 mod p */
283 if (bignum_exptmod(tmp, key->dmp1, key->p, a) < 0)
347 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
144 key->dmp1 = bignum_init();
149 key->p == NULL || key->q == NULL || key->dmp1 == NULL ||
199 pos = crypto_rsa_parse_integer(pos, end, key->dmp1);
269 * dmp1 = (1/e) mod (p-1)
272 * m1 = c^dmp1 mod p
282 /* a = tmp^dmp1 mod p */
283 if (bignum_exptmod(tmp, key->dmp1, key->p, a) < 0)
347 bignum_deinit(key->dmp1);
/external/openssh/
H A Drsa.c145 (BN_mod(rsa->dmp1, rsa->d, aux, ctx) == 0))
H A Dkey.c151 if ((k->rsa->dmp1 = BN_new()) == NULL)
/external/dropbear/
H A Dkeyimport.c578 * dmp1, dmq1, iqmp in that order. (The last three are d mod
633 * OpenSSH key order is n, e, d, p, q, dmp1, dmq1, iqmp
710 mp_int dmp1, dmq1, iqmp, tmpval; /* for rsa */ local
775 m_mp_init(&dmp1);
779 /* dmp1 = d mod (p-1) */
784 if (mp_mod(key->rsakey->d, &tmpval, &dmp1) != MP_OKAY) {
785 fprintf(stderr, "Bignum error for dmp1\n");
806 buf_putmpint(extrablob, &dmp1);
810 mp_clear(&dmp1);
815 /* dmp1 */
[all...]
/external/openssl/crypto/pem/
H A Dpvkfmt.c396 if (!read_lebn(&p, hnbyte, &rsa->dmp1))
600 || (BN_num_bytes(rsa->dmp1) > hnbyte)
622 write_lebn(out, rsa->dmp1, hnbyte);
/external/openssl/include/openssl/
H A Drsa.h143 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/webkit/PerformanceTests/SunSpider/tests/v8-v4/
H A Dv8-crypto.js1497 this.dmp1 = null;
1577 this.dmp1 = parseBigInt(DP,16);
1611 this.dmp1 = this.d.mod(p1);
1625 var xp = x.mod(this.p).modPow(this.dmp1, this.p);
/external/webkit/PerformanceTests/SunSpider/tests/v8-v5/
H A Dv8-crypto.js1497 this.dmp1 = null;
1577 this.dmp1 = parseBigInt(DP,16);
1611 this.dmp1 = this.d.mod(p1);
1625 var xp = x.mod(this.p).modPow(this.dmp1, this.p);
/external/webkit/PerformanceTests/SunSpider/tests/v8-v6/
H A Dv8-crypto.js1497 this.dmp1 = null;
1577 this.dmp1 = parseBigInt(DP,16);
1611 this.dmp1 = this.d.mod(p1);
1625 var xp = x.mod(this.p).modPow(this.dmp1, this.p);
/external/openssl/crypto/engine/
H A Deng_cryptodev.c1084 if (!rsa->p || !rsa->q || !rsa->dmp1 || !rsa->dmq1 || !rsa->iqmp) {
1091 /* inputs: rsa->p rsa->q I rsa->dmp1 rsa->dmq1 rsa->iqmp */
1098 if (bn2crparam(rsa->dmp1, &kop.crk_param[3]))

Completed in 2764 milliseconds