Home
last modified time | relevance | path

Searched refs:dmp1 (Results 1 – 18 of 18) 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.c415 (rsa->dmp1 != NULL) && in RSA_eay_private_encrypt()
539 (rsa->dmp1 != NULL) && in RSA_eay_private_decrypt()
719 BIGNUM *dmp1,*dmq1,*c,*pr1; in RSA_eay_mod_exp() local
801 dmp1 = &local_dmp1; in RSA_eay_mod_exp()
802 BN_with_flags(dmp1, rsa->dmp1, BN_FLG_CONSTTIME); in RSA_eay_mod_exp()
805 dmp1 = rsa->dmp1; in RSA_eay_mod_exp()
806 if (!rsa->meth->bn_mod_exp(r0,r1,dmp1,rsa->p,ctx, in RSA_eay_mod_exp()
Drsa_gen.c111 if(!rsa->dmp1 && ((rsa->dmp1=BN_new()) == NULL)) goto err; in rsa_builtin_keygen()
189 if (!BN_mod(rsa->dmp1,d,r1,ctx)) goto err; in rsa_builtin_keygen()
Drsa_lib.c174 ret->dmp1=NULL; in RSA_new_method()
241 if (r->dmp1 != NULL) BN_clear_free(r->dmp1); in RSA_free()
451 t[3]= &r->dmp1; in RSA_memory_lock()
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_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_asn1.c88 ASN1_SIMPLE(RSA, dmp1, BIGNUM),
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/
Drsa.c32 struct bignum *dmp1; /* d mod (p - 1); CRT exponent */ member
151 key->dmp1 = bignum_init(); in crypto_rsa_import_private_key()
156 key->p == NULL || key->q == NULL || key->dmp1 == NULL || in crypto_rsa_import_private_key()
206 pos = crypto_rsa_parse_integer(pos, end, key->dmp1); in crypto_rsa_import_private_key()
290 if (bignum_exptmod(tmp, key->dmp1, key->p, a) < 0) in crypto_rsa_exptmod()
354 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/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/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/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/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/openssl/crypto/engine/
Deng_cryptodev.c1053 if (!rsa->p || !rsa->q || !rsa->dmp1 || !rsa->dmq1 || !rsa->iqmp) { in cryptodev_rsa_mod_exp()
1067 if (bn2crparam(rsa->dmp1, &kop.crk_param[3])) in cryptodev_rsa_mod_exp()