/external/openssl/crypto/rsa/ |
D | rsa_test.c | 28 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
|
D | rsa_eay.c | 428 (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()
|
D | rsa_lib.c | 182 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()
|
D | rsa_gen.c | 127 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()
|
D | rsa_chk.c | 137 if (key->dmp1 != NULL && key->dmq1 != NULL && key->iqmp != NULL) in RSA_check_key() 160 if (BN_cmp(j, key->dmq1) != 0) in RSA_check_key()
|
D | rsa_asn1.c | 90 ASN1_SIMPLE(RSA, dmq1, BIGNUM),
|
D | rsa_ameth.c | 200 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()
|
D | rsa.h | 144 BIGNUM *dmq1; member
|
/external/chromium_org/third_party/boringssl/src/crypto/rsa/ |
D | rsa_test.c | 73 key->dmq1 = BN_bin2bn(dmq1, sizeof(dmq1) - 1, key->dmq1); \ 108 static unsigned char dmq1[] = in key1() local 153 static unsigned char dmq1[] = in key2() local 215 static unsigned char dmq1[] = in key3() local
|
D | rsa.c | 140 if (rsa->dmq1 != NULL) in RSA_free() 141 BN_clear_free(rsa->dmq1); in RSA_free() 508 BIGNUM n, pm1, qm1, lcm, gcd, de, dmp1, dmq1, iqmp; in RSA_check_key() local 546 BN_init(&dmq1); in RSA_check_key() 574 if (has_crt_values != (key->dmq1 != NULL) || in RSA_check_key() 584 !BN_mod(&dmq1, key->d, &qm1, ctx) || in RSA_check_key() 592 BN_cmp(&dmq1, key->dmq1) != 0 || in RSA_check_key() 609 BN_free(&dmq1); in RSA_check_key() 626 if (rsa->p || rsa->q || rsa->dmp1 || rsa->dmq1 || rsa->iqmp) { in RSA_recover_crt_params() 690 rsa->dmq1 = BN_new(); in RSA_recover_crt_params() [all …]
|
D | rsa_impl.c | 589 (rsa->dmq1 != NULL) && (rsa->iqmp != NULL))) { in private_transform() 641 BIGNUM *dmp1, *dmq1, *c, *pr1; in mod_exp() local 688 dmq1 = &local_dmq1; in mod_exp() 689 BN_with_flags(dmq1, rsa->dmq1, BN_FLG_CONSTTIME); in mod_exp() 690 if (!rsa->meth->bn_mod_exp(m1, r1, dmq1, rsa->q, ctx, rsa->_method_mod_q)) { in mod_exp() 827 if (!rsa->dmq1 && ((rsa->dmq1 = BN_new()) == NULL)) in keygen() 905 if (!BN_mod(rsa->dmq1, d, r2, ctx)) in keygen()
|
D | rsa_asn1.c | 89 ASN1_SIMPLE(RSA, dmq1, BIGNUM),
|
/external/ipsec-tools/src/racoon/ |
D | prsa_par.y | 190 || !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…
|
D | plainrsa-gen.c | 146 fprintf(fp, "\tExponent2: 0x%s\n", lowercase(BN_bn2hex(key->dmq1))); in gen_rsa_key()
|
/external/wpa_supplicant_8/src/tls/ |
D | rsa.c | 26 struct bignum *dmq1; /* d mod (q - 1); CRT exponent */ member 168 key->dmq1 = bignum_init(); in crypto_rsa_import_private_key() 173 key->dmq1 == NULL || key->iqmp == NULL) { in crypto_rsa_import_private_key() 223 pos = crypto_rsa_parse_integer(pos, end, key->dmq1); in crypto_rsa_import_private_key() 310 if (bignum_exptmod(tmp, key->dmq1, key->q, b) < 0) in crypto_rsa_exptmod() 371 bignum_deinit(key->dmq1); in crypto_rsa_free()
|
/external/chromium_org/content/child/webcrypto/openssl/ |
D | rsa_key_openssl.cc | 176 rsa->dmq1 = CreateBIGNUM(params.dq); in ImportRsaPrivateKey() 180 !rsa->dmq1 || !rsa->iqmp) { in ImportRsaPrivateKey() 493 CryptoData(BIGNUMToVector(rsa->dmq1)), in ExportKeyJwk()
|
/external/openssl/crypto/pem/ |
D | pvkfmt.c | 398 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/chromium_org/third_party/boringssl/src/crypto/evp/ |
D | p_rsa_asn1.c | 195 update_buflen(rsa->dmq1, &buf_len); in do_rsa_print() 236 !ASN1_bn_print(out, "exponent2:", rsa->dmq1, m, off) || in do_rsa_print()
|
/external/chromium_org/third_party/boringssl/src/include/openssl/ |
D | rsa.h | 431 BIGNUM *dmq1; member
|
/external/openssl/include/openssl/ |
D | rsa.h | 144 BIGNUM *dmq1; member
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v5/ |
D | v8-crypto.js | 1498 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/chromium_org/v8/benchmarks/ |
D | crypto.js | 1506 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/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v4/ |
D | v8-crypto.js | 1498 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/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v6/ |
D | v8-crypto.js | 1498 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/ |
D | eng_cryptodev.c | 1084 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()
|