Home
last modified time | relevance | path

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

/external/openssl/crypto/rsa/
Drsa_test.c27 key->dmp1 = BN_bin2bn(dmp1, sizeof(dmp1)-1, key->dmp1); \
60 static unsigned char dmp1[] = in key1() local
106 static unsigned char dmp1[] = in key2() local
167 static unsigned char dmp1[] = in key3() local
Drsa_eay.c427 (rsa->dmp1 != NULL) && in RSA_eay_private_encrypt()
561 (rsa->dmp1 != NULL) && in RSA_eay_private_decrypt()
741 BIGNUM *dmp1,*dmq1,*c,*pr1; in RSA_eay_mod_exp() local
823 dmp1 = &local_dmp1; in RSA_eay_mod_exp()
824 BN_with_flags(dmp1, rsa->dmp1, BN_FLG_CONSTTIME); in RSA_eay_mod_exp()
827 dmp1 = rsa->dmp1; in RSA_eay_mod_exp()
828 if (!rsa->meth->bn_mod_exp(r0,r1,dmp1,rsa->p,ctx, in RSA_eay_mod_exp()
Drsa_lib.c181 ret->dmp1=NULL; in RSA_new_method()
248 if (r->dmp1 != NULL) BN_clear_free(r->dmp1); in RSA_free()
301 t[3]= &r->dmp1; in RSA_memory_lock()
Drsa_gen.c126 if(!rsa->dmp1 && ((rsa->dmp1=BN_new()) == NULL)) goto err; in rsa_builtin_keygen()
204 if (!BN_mod(rsa->dmp1,d,r1,ctx)) goto err; in rsa_builtin_keygen()
Drsa_chk.c131 if (key->dmp1 != NULL && key->dmq1 != NULL && key->iqmp != NULL) in RSA_check_key()
140 if (BN_cmp(j, key->dmp1) != 0) in RSA_check_key()
Drsa_asn1.c89 ASN1_SIMPLE(RSA, dmp1, BIGNUM),
Drsa_ameth.c199 update_buflen(x->dmp1, &buf_len); in do_rsa_print()
242 if (!ASN1_bn_print(bp,"exponent1:",x->dmp1,m,off)) in do_rsa_print()
Drsa.h143 BIGNUM *dmp1; member
/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/wpa_supplicant_8/src/tls/
Drsa.c25 struct bignum *dmp1; /* d mod (p - 1); CRT exponent */ member
144 key->dmp1 = bignum_init(); in crypto_rsa_import_private_key()
149 key->p == NULL || key->q == NULL || key->dmp1 == NULL || in crypto_rsa_import_private_key()
199 pos = crypto_rsa_parse_integer(pos, end, key->dmp1); in crypto_rsa_import_private_key()
283 if (bignum_exptmod(tmp, key->dmp1, key->p, a) < 0) in crypto_rsa_exptmod()
347 bignum_deinit(key->dmp1); in crypto_rsa_free()
/external/wpa_supplicant_6/wpa_supplicant/src/tls/
Drsa.c32 struct bignum *dmp1; /* d mod (p - 1); CRT exponent */ member
152 key->dmp1 = bignum_init(); in crypto_rsa_import_private_key()
157 key->p == NULL || key->q == NULL || key->dmp1 == NULL || in crypto_rsa_import_private_key()
207 pos = crypto_rsa_parse_integer(pos, end, key->dmp1); in crypto_rsa_import_private_key()
292 if (bignum_exptmod(tmp, key->dmp1, key->p, a) < 0) in crypto_rsa_exptmod()
356 bignum_deinit(key->dmp1); in crypto_rsa_free()
/external/openssh/
Drsa.c145 (BN_mod(rsa->dmp1, rsa->d, aux, ctx) == 0)) in rsa_generate_additional_parameters()
Dkey.c151 if ((k->rsa->dmp1 = BN_new()) == NULL) in key_add_private()
/external/openssl/crypto/pem/
Dpvkfmt.c396 if (!read_lebn(&p, hnbyte, &rsa->dmp1)) in b2i_rsa()
600 || (BN_num_bytes(rsa->dmp1) > hnbyte) in check_bitlen_rsa()
622 write_lebn(out, rsa->dmp1, hnbyte); in write_rsa()
/external/dropbear/
Dkeyimport.c710 mp_int dmp1, dmq1, iqmp, tmpval; /* for rsa */ in openssh_write() local
775 m_mp_init(&dmp1); in openssh_write()
784 if (mp_mod(key->rsakey->d, &tmpval, &dmp1) != MP_OKAY) { in openssh_write()
806 buf_putmpint(extrablob, &dmp1); in openssh_write()
810 mp_clear(&dmp1); in openssh_write()
/external/openssl/include/openssl/
Drsa.h143 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/webkit/PerformanceTests/SunSpider/tests/v8-v6/
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-v4/
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/
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/
Deng_cryptodev.c1084 if (!rsa->p || !rsa->q || !rsa->dmp1 || !rsa->dmq1 || !rsa->iqmp) { in cryptodev_rsa_mod_exp()
1098 if (bn2crparam(rsa->dmp1, &kop.crk_param[3])) in cryptodev_rsa_mod_exp()