Home
last modified time | relevance | path

Searched refs:dmp1 (Results 1 – 15 of 15) 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.c421 (rsa->dmp1 != NULL) && in RSA_eay_private_encrypt()
543 (rsa->dmp1 != NULL) && in RSA_eay_private_decrypt()
719 BIGNUM *dmp1,*dmq1,*c,*pr1; in RSA_eay_mod_exp() local
794 dmp1 = &local_dmp1; in RSA_eay_mod_exp()
795 BN_with_flags(dmp1, rsa->dmp1, BN_FLG_CONSTTIME); in RSA_eay_mod_exp()
798 dmp1 = rsa->dmp1; in RSA_eay_mod_exp()
799 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()
232 if (r->dmp1 != NULL) BN_clear_free(r->dmp1); in RSA_free()
442 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_asn1.c98 ASN1_SIMPLE(RSA, dmp1, BIGNUM),
Drsa.h142 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/openssl/crypto/asn1/
Dt_pkey.c129 if (x->dmp1) in RSA_print()
130 if (buf_len < (i = (size_t)BN_num_bytes(x->dmp1))) in RSA_print()
171 if ((x->dmp1 != NULL) && !print(bp,"exponent1:",x->dmp1,m,off)) in RSA_print()
/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.h142 BIGNUM *dmp1; member
/external/openssl/crypto/engine/
Deng_cryptodev.c776 if (!rsa->p || !rsa->q || !rsa->dmp1 || !rsa->dmq1 || !rsa->iqmp) { in cryptodev_rsa_mod_exp()
790 if (bn2crparam(rsa->dmp1, &kop.crk_param[3])) in cryptodev_rsa_mod_exp()
/external/webkit/SunSpider/tests/
Dv8-crypto.js1495 this.dmp1 = null;
1575 this.dmp1 = parseBigInt(DP,16);
1609 this.dmp1 = this.d.mod(p1);
1623 var xp = x.mod(this.p).modPow(this.dmp1, this.p);