Home
last modified time | relevance | path

Searched refs:dmq1 (Results 1 – 15 of 15) sorted by relevance

/external/openssl/crypto/rsa/
Drsa_test.c28 key->dmq1 = BN_bin2bn(dmq1, sizeof(dmq1)-1, key->dmq1); \
64 static unsigned char dmq1[] = in key1() local
110 static unsigned char dmq1[] = in key2() local
173 static unsigned char dmq1[] = in key3() local
Drsa_eay.c422 (rsa->dmq1 != NULL) && in RSA_eay_private_encrypt()
544 (rsa->dmq1 != NULL) && in RSA_eay_private_decrypt()
719 BIGNUM *dmp1,*dmq1,*c,*pr1; in RSA_eay_mod_exp() local
771 dmq1 = &local_dmq1; in RSA_eay_mod_exp()
772 BN_with_flags(dmq1, rsa->dmq1, BN_FLG_CONSTTIME); in RSA_eay_mod_exp()
775 dmq1 = rsa->dmq1; in RSA_eay_mod_exp()
776 if (!rsa->meth->bn_mod_exp(m1,r1,dmq1,rsa->q,ctx, in RSA_eay_mod_exp()
Drsa_gen.c112 if(!rsa->dmq1 && ((rsa->dmq1=BN_new()) == NULL)) goto err; in rsa_builtin_keygen()
192 if (!BN_mod(rsa->dmq1,d,r2,ctx)) goto err; in rsa_builtin_keygen()
Drsa_lib.c175 ret->dmq1=NULL; in RSA_new_method()
233 if (r->dmq1 != NULL) BN_clear_free(r->dmq1); in RSA_free()
443 t[4]= &r->dmq1; in RSA_memory_lock()
Drsa_chk.c131 if (key->dmp1 != NULL && key->dmq1 != NULL && key->iqmp != NULL) in RSA_check_key()
154 if (BN_cmp(j, key->dmq1) != 0) in RSA_check_key()
Drsa_asn1.c99 ASN1_SIMPLE(RSA, dmq1, BIGNUM),
Drsa.h143 BIGNUM *dmq1; member
/external/ipsec-tools/src/racoon/
Dprsa_par.y190 || !rsa_cur->dmq1 || !rsa_cur->iqmp) {
194 if (rsa_cur->dmq1) BN_clear_free(rsa_cur->dmq1);
200 rsa_cur->dmq1 = NULL;
303 …{ if (!rsa_cur->dmq1) rsa_cur->dmq1 = $3; else { prsaerror ("Exponent2 already defined\n"); YYABOR…
Dplainrsa-gen.c146 fprintf(fp, "\tExponent2: 0x%s\n", lowercase(BN_bn2hex(key->dmq1))); in gen_rsa_key()
/external/wpa_supplicant/
Drsa.c33 struct bignum *dmq1; /* d mod (q - 1); CRT exponent */ member
152 key->dmq1 = bignum_init(); in crypto_rsa_import_private_key()
157 key->dmq1 == NULL || key->iqmp == NULL) { in crypto_rsa_import_private_key()
207 pos = crypto_rsa_parse_integer(pos, end, key->dmq1); in crypto_rsa_import_private_key()
294 if (bignum_exptmod(tmp, key->dmq1, key->q, b) < 0) in crypto_rsa_exptmod()
355 bignum_deinit(key->dmq1); in crypto_rsa_free()
/external/openssl/crypto/asn1/
Dt_pkey.c132 if (x->dmq1) in RSA_print()
133 if (buf_len < (i = (size_t)BN_num_bytes(x->dmq1))) in RSA_print()
173 if ((x->dmq1 != NULL) && !print(bp,"exponent2:",x->dmq1,m,off)) in RSA_print()
/external/dropbear/
Dkeyimport.c710 mp_int dmp1, dmq1, iqmp, tmpval; /* for rsa */ in openssh_write() local
776 m_mp_init(&dmq1); in openssh_write()
794 if (mp_mod(key->rsakey->d, &tmpval, &dmq1) != MP_OKAY) { in openssh_write()
807 buf_putmpint(extrablob, &dmq1); in openssh_write()
811 mp_clear(&dmq1); in openssh_write()
/external/openssl/include/openssl/
Drsa.h143 BIGNUM *dmq1; member
/external/openssl/crypto/engine/
Deng_cryptodev.c776 if (!rsa->p || !rsa->q || !rsa->dmp1 || !rsa->dmq1 || !rsa->iqmp) { in cryptodev_rsa_mod_exp()
792 if (bn2crparam(rsa->dmq1, &kop.crk_param[4])) in cryptodev_rsa_mod_exp()
/external/webkit/SunSpider/tests/
Dv8-crypto.js1496 this.dmq1 = null;
1576 this.dmq1 = parseBigInt(DQ,16);
1610 this.dmq1 = this.d.mod(q1);
1624 var xq = x.mod(this.q).modPow(this.dmq1, this.q);