Home
last modified time | relevance | path

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

12

/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.c137 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()
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/chromium_org/third_party/boringssl/src/crypto/rsa/
Drsa_test.c73 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
Drsa.c140 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 …]
Drsa_impl.c589 (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()
Drsa_asn1.c89 ASN1_SIMPLE(RSA, dmq1, BIGNUM),
/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_8/src/tls/
Drsa.c26 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/
Drsa_key_openssl.cc176 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/
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/chromium_org/third_party/boringssl/src/crypto/evp/
Dp_rsa_asn1.c195 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/
Drsa.h431 BIGNUM *dmq1; member
/external/openssl/include/openssl/
Drsa.h144 BIGNUM *dmq1; member
/external/chromium_org/third_party/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/chromium_org/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/chromium_org/third_party/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/chromium_org/third_party/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/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()

12