Home
last modified time | relevance | path

Searched refs:dmq1 (Results 1 – 22 of 22) 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.c428 (rsa->dmq1 != NULL) && in RSA_eay_private_encrypt()
562 (rsa->dmq1 != NULL) && in RSA_eay_private_decrypt()
741 BIGNUM *dmp1,*dmq1,*c,*pr1; in RSA_eay_mod_exp() local
800 dmq1 = &local_dmq1; in RSA_eay_mod_exp()
801 BN_with_flags(dmq1, rsa->dmq1, BN_FLG_CONSTTIME); in RSA_eay_mod_exp()
804 dmq1 = rsa->dmq1; in RSA_eay_mod_exp()
805 if (!rsa->meth->bn_mod_exp(m1,r1,dmq1,rsa->q,ctx, in RSA_eay_mod_exp()
Drsa_lib.c182 ret->dmq1=NULL; in RSA_new_method()
249 if (r->dmq1 != NULL) BN_clear_free(r->dmq1); in RSA_free()
302 t[4]= &r->dmq1; in RSA_memory_lock()
Drsa_gen.c127 if(!rsa->dmq1 && ((rsa->dmq1=BN_new()) == NULL)) goto err; in rsa_builtin_keygen()
207 if (!BN_mod(rsa->dmq1,d,r2,ctx)) goto err; in rsa_builtin_keygen()
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.c90 ASN1_SIMPLE(RSA, dmq1, BIGNUM),
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.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_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/wpa_supplicant_8/src/tls/
Drsa.c26 struct bignum *dmq1; /* d mod (q - 1); CRT exponent */ member
145 key->dmq1 = bignum_init(); in crypto_rsa_import_private_key()
150 key->dmq1 == NULL || key->iqmp == NULL) { in crypto_rsa_import_private_key()
200 pos = crypto_rsa_parse_integer(pos, end, key->dmq1); in crypto_rsa_import_private_key()
287 if (bignum_exptmod(tmp, key->dmq1, key->q, b) < 0) in crypto_rsa_exptmod()
348 bignum_deinit(key->dmq1); in crypto_rsa_free()
/external/openssh/
Drsa.c143 (BN_mod(rsa->dmq1, rsa->d, aux, ctx) == 0) || in rsa_generate_additional_parameters()
Dkey.c149 if ((k->rsa->dmq1 = BN_new()) == NULL) in key_add_private()
/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/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.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/PerformanceTests/SunSpider/tests/v8-v6/
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/webkit/PerformanceTests/SunSpider/tests/v8-v5/
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/webkit/PerformanceTests/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.c1084 if (!rsa->p || !rsa->q || !rsa->dmp1 || !rsa->dmq1 || !rsa->iqmp) { in cryptodev_rsa_mod_exp()
1100 if (bn2crparam(rsa->dmq1, &kop.crk_param[4])) in cryptodev_rsa_mod_exp()