/third_party/openssl/crypto/rsa/ |
D | rsa_lib.c | 133 BN_clear_free(r->dmp1); in RSA_free() 230 int RSA_set0_crt_params(RSA *r, BIGNUM *dmp1, BIGNUM *dmq1, BIGNUM *iqmp) in RSA_set0_crt_params() argument 235 if ((r->dmp1 == NULL && dmp1 == NULL) in RSA_set0_crt_params() 240 if (dmp1 != NULL) { in RSA_set0_crt_params() 241 BN_clear_free(r->dmp1); in RSA_set0_crt_params() 242 r->dmp1 = dmp1; in RSA_set0_crt_params() 243 BN_set_flags(r->dmp1, BN_FLG_CONSTTIME); in RSA_set0_crt_params() 377 const BIGNUM **dmp1, const BIGNUM **dmq1, in RSA_get0_crt_params() argument 380 if (dmp1 != NULL) in RSA_get0_crt_params() 381 *dmp1 = r->dmp1; in RSA_get0_crt_params() [all …]
|
D | rsa_ossl.c | 315 (rsa->dmp1 != NULL) && (rsa->dmq1 != NULL) && (rsa->iqmp != NULL))) { in rsa_ossl_private_encrypt() 437 (rsa->dmp1 != NULL) && (rsa->dmq1 != NULL) && (rsa->iqmp != NULL))) { in rsa_ossl_private_decrypt() 686 || !BN_mod_exp_mont_consttime(r1, r1, rsa->dmp1, rsa->p, ctx, in rsa_ossl_mod_exp() 750 BIGNUM *dmp1 = BN_new(); in rsa_ossl_mod_exp() local 751 if (dmp1 == NULL) in rsa_ossl_mod_exp() 753 BN_with_flags(dmp1, rsa->dmp1, BN_FLG_CONSTTIME); in rsa_ossl_mod_exp() 756 if (!rsa->meth->bn_mod_exp(r0, r1, dmp1, rsa->p, ctx, in rsa_ossl_mod_exp() 758 BN_free(dmp1); in rsa_ossl_mod_exp() 762 BN_free(dmp1); in rsa_ossl_mod_exp()
|
D | rsa_x931g.c | 116 rsa->dmp1 = BN_new(); in RSA_X931_derive_ex() 117 if (rsa->dmp1 == NULL) in RSA_X931_derive_ex() 119 if (!BN_mod(rsa->dmp1, rsa->d, r1, ctx)) in RSA_X931_derive_ex()
|
D | rsa_gen.c | 116 if (!rsa->dmp1 && ((rsa->dmp1 = BN_secure_new()) == NULL)) in rsa_builtin_keygen() 337 if (!BN_mod(rsa->dmp1, d, r1, ctx) in rsa_builtin_keygen()
|
D | rsa_chk.c | 154 if (key->dmp1 != NULL && key->dmq1 != NULL && key->iqmp != NULL) { in RSA_check_key_ex() 164 if (BN_cmp(j, key->dmp1) != 0) { in RSA_check_key_ex()
|
D | rsa_local.h | 43 BIGNUM *dmp1; member
|
D | rsa_asn1.c | 58 ASN1_SIMPLE(RSA, dmp1, CBIGNUM),
|
D | rsa_ameth.c | 368 if (!ASN1_bn_print(bp, "exponent1:", x->dmp1, NULL, off)) in pkey_rsa_print()
|
/third_party/openssl/test/ |
D | rsa_test.c | 42 BN_bin2bn(dmp1, sizeof(dmp1)-1, NULL), \ 76 static unsigned char dmp1[] = in key1() local 122 static unsigned char dmp1[] = in key2() local 183 static unsigned char dmp1[] = in key3() local
|
D | rsa_mp_test.c | 85 static const unsigned char dmp1[] = in key2048p3() local 148 BN_bin2bn(dmp1, sizeof(dmp1) - 1, NULL), in key2048p3()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/ |
D | rsa.c | 25 struct bignum *dmp1; /* d mod (p - 1); CRT exponent */ member 162 key->dmp1 = bignum_init(); in crypto_rsa_import_private_key() 167 key->p == NULL || key->q == NULL || key->dmp1 == NULL || in crypto_rsa_import_private_key() 213 pos = crypto_rsa_parse_integer(pos, end, key->dmp1); in crypto_rsa_import_private_key() 297 if (bignum_exptmod(tmp, key->dmp1, key->p, a) < 0) in crypto_rsa_exptmod() 361 bignum_deinit(key->dmp1); in crypto_rsa_free()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/ |
D | rsa.c | 25 struct bignum *dmp1; /* d mod (p - 1); CRT exponent */ member 167 key->dmp1 = bignum_init(); in crypto_rsa_import_private_key() 172 key->p == NULL || key->q == NULL || key->dmp1 == NULL || in crypto_rsa_import_private_key() 222 pos = crypto_rsa_parse_integer(pos, end, key->dmp1); in crypto_rsa_import_private_key() 306 if (bignum_exptmod(tmp, key->dmp1, key->p, a) < 0) in crypto_rsa_exptmod() 370 bignum_deinit(key->dmp1); in crypto_rsa_free()
|
/third_party/openssl/crypto/pem/ |
D | pvkfmt.c | 325 BIGNUM *p = NULL, *q = NULL, *dmp1 = NULL, *dmq1 = NULL, *iqmp = NULL; in b2i_rsa() local 346 if (!read_lebn(&pin, hnbyte, &dmp1)) in b2i_rsa() 357 if (!RSA_set0_crt_params(rsa, dmp1, dmq1, iqmp)) in b2i_rsa() 359 dmp1 = dmq1 = iqmp = NULL; in b2i_rsa() 376 BN_free(dmp1); in b2i_rsa() 533 const BIGNUM *d, *p, *q, *iqmp, *dmp1, *dmq1; in check_bitlen_rsa() local 544 RSA_get0_crt_params(rsa, &dmp1, &dmq1, &iqmp); in check_bitlen_rsa() 548 || (BN_num_bytes(dmp1) > hnbyte) in check_bitlen_rsa() 561 const BIGNUM *n, *d, *e, *p, *q, *iqmp, *dmp1, *dmq1; in write_rsa() local 571 RSA_get0_crt_params(rsa, &dmp1, &dmq1, &iqmp); in write_rsa() [all …]
|
/third_party/openssl/doc/man3/ |
D | RSA_get0_key.pod | 21 int RSA_set0_crt_params(RSA *r, BIGNUM *dmp1, BIGNUM *dmq1, BIGNUM *iqmp); 26 const BIGNUM **dmp1, const BIGNUM **dmq1, 52 B<n>, B<e>, B<d>, B<p>, B<q>, B<dmp1>, B<dmq1> and B<iqmp>. B<n> is 54 exponent and B<d> is the private exponent. B<p>, B<q>, B<dmp1>, 57 the first and second factor of B<n> and B<dmp1>, B<dmq1> and B<iqmp> 83 set with RSA_get0_factors() and RSA_set0_factors(), and the B<dmp1>, 97 Any of the values B<n>, B<e>, B<d>, B<p>, B<q>, B<dmp1>, B<dmq1>, and B<iqmp> can also be
|
D | RSA_check_key.pod | 24 and that B<dmp1>, B<dmq1> and B<iqmp> are set correctly or are B<NULL>.
|
D | RSA_set_method.pod | 117 * operations, even if p,q,dmp1,dmq1,iqmp
|
/third_party/openssl/include/openssl/ |
D | rsa.h | 206 int RSA_set0_crt_params(RSA *r,BIGNUM *dmp1, BIGNUM *dmq1, BIGNUM *iqmp); 215 const BIGNUM **dmp1, const BIGNUM **dmq1,
|
/third_party/openssl/crypto/err/ |
D | openssl.txt | 2531 RSA_R_DMP1_NOT_CONGRUENT_TO_D:124:dmp1 not congruent to d
|
/third_party/openssl/ |
D | CHANGES | 12333 method only got called if p,q,dmp1,dmq1,iqmp components were present,
|