Home
last modified time | relevance | path

Searched refs:dmq1 (Results 1 – 18 of 18) 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.c416 (rsa->dmq1 != NULL) && in RSA_eay_private_encrypt()
540 (rsa->dmq1 != NULL) && in RSA_eay_private_decrypt()
719 BIGNUM *dmp1,*dmq1,*c,*pr1; in RSA_eay_mod_exp() local
778 dmq1 = &local_dmq1; in RSA_eay_mod_exp()
779 BN_with_flags(dmq1, rsa->dmq1, BN_FLG_CONSTTIME); in RSA_eay_mod_exp()
782 dmq1 = rsa->dmq1; in RSA_eay_mod_exp()
783 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()
242 if (r->dmq1 != NULL) BN_clear_free(r->dmq1); in RSA_free()
452 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_ameth.c200 update_buflen(x->dmq1, &buf_len); in do_rsa_print()
244 if (!ASN1_bn_print(bp,"exponent2:",x->dmq1,m,off)) in do_rsa_print()
Drsa_asn1.c89 ASN1_SIMPLE(RSA, dmq1, BIGNUM),
Drsa.h144 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/wpa_supplicant_6/wpa_supplicant/src/tls/
Drsa.c33 struct bignum *dmq1; /* d mod (q - 1); CRT exponent */ member
153 key->dmq1 = bignum_init(); in crypto_rsa_import_private_key()
158 key->dmq1 == NULL || key->iqmp == NULL) { in crypto_rsa_import_private_key()
208 pos = crypto_rsa_parse_integer(pos, end, key->dmq1); in crypto_rsa_import_private_key()
296 if (bignum_exptmod(tmp, key->dmq1, key->q, b) < 0) in crypto_rsa_exptmod()
357 bignum_deinit(key->dmq1); in crypto_rsa_free()
/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/crypto/pem/
Dpvkfmt.c398 if (!read_lebn(&p, hnbyte, &rsa->dmq1)) in b2i_rsa()
601 || (BN_num_bytes(rsa->dmq1) > hnbyte)) in check_bitlen_rsa()
623 write_lebn(out, rsa->dmq1, hnbyte); in write_rsa()
/external/openssl/include/openssl/
Drsa.h144 BIGNUM *dmq1; member
/external/v8/benchmarks/
Dcrypto.js1506 this.dmq1 = null;
1586 this.dmq1 = parseBigInt(DQ,16);
1620 this.dmq1 = this.d.mod(q1);
1634 var xq = x.mod(this.q).modPow(this.dmq1, this.q);
/external/webkit/SunSpider/tests/v8-v4/
Dv8-crypto.js1498 this.dmq1 = null;
1578 this.dmq1 = parseBigInt(DQ,16);
1612 this.dmq1 = this.d.mod(q1);
1626 var xq = x.mod(this.q).modPow(this.dmq1, this.q);
/external/openssl/crypto/engine/
Deng_cryptodev.c1053 if (!rsa->p || !rsa->q || !rsa->dmp1 || !rsa->dmq1 || !rsa->iqmp) { in cryptodev_rsa_mod_exp()
1069 if (bn2crparam(rsa->dmq1, &kop.crk_param[4])) in cryptodev_rsa_mod_exp()