| /freebsd-12-stable/crypto/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 | 316 (rsa->dmp1 != NULL) && (rsa->dmq1 != NULL) && (rsa->iqmp != NULL))) { in rsa_ossl_private_encrypt() 443 (rsa->dmp1 != NULL) && (rsa->dmq1 != NULL) && (rsa->iqmp != NULL))) { in rsa_ossl_private_decrypt() 676 || !BN_mod_exp_mont_consttime(r1, r1, rsa->dmp1, rsa->p, ctx, in rsa_ossl_mod_exp() 740 BIGNUM *dmp1 = BN_new(); in rsa_ossl_mod_exp() local 741 if (dmp1 == NULL) in rsa_ossl_mod_exp() 743 BN_with_flags(dmp1, rsa->dmp1, BN_FLG_CONSTTIME); in rsa_ossl_mod_exp() 746 if (!rsa->meth->bn_mod_exp(r0, r1, dmp1, rsa->p, ctx, in rsa_ossl_mod_exp() 748 BN_free(dmp1); in rsa_ossl_mod_exp() 752 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_asn1.c | 58 ASN1_SIMPLE(RSA, dmp1, CBIGNUM),
|
| D | rsa_local.h | 43 BIGNUM *dmp1; member
|
| D | rsa_ameth.c | 372 if (!ASN1_bn_print(bp, "exponent1:", x->dmp1, NULL, off)) in pkey_rsa_print()
|
| /freebsd-12-stable/crypto/openssh/openbsd-compat/ |
| D | libressl-api-compat.c | 268 RSA_get0_crt_params(const RSA *r, const BIGNUM **dmp1, const BIGNUM **dmq1, in RSA_get0_crt_params() argument 271 if (dmp1 != NULL) in RSA_get0_crt_params() 272 *dmp1 = r->dmp1; in RSA_get0_crt_params() 282 RSA_set0_crt_params(RSA *r, BIGNUM *dmp1, BIGNUM *dmq1, BIGNUM *iqmp) in RSA_set0_crt_params() argument 284 if ((r->dmp1 == NULL && dmp1 == NULL) || in RSA_set0_crt_params() 289 if (dmp1 != NULL) { in RSA_set0_crt_params() 290 BN_free(r->dmp1); in RSA_set0_crt_params() 291 r->dmp1 = dmp1; in RSA_set0_crt_params()
|
| D | openssl-compat.h | 114 void RSA_get0_crt_params(const RSA *r, const BIGNUM **dmp1, const BIGNUM **dmq1, 119 int RSA_set0_crt_params(RSA *r, BIGNUM *dmp1, BIGNUM *dmq1, BIGNUM *iqmp);
|
| /freebsd-12-stable/contrib/ntp/libntp/ |
| D | libssl_compat.c | 201 BIGNUM * dmp1, in sslshim_RSA_set0_crt_params() argument 207 if (!((prsa->dmp1 || dmp1) && in sslshim_RSA_set0_crt_params() 212 replace_bn_nn(&prsa->dmp1, dmp1); in sslshim_RSA_set0_crt_params()
|
| /freebsd-12-stable/contrib/wpa/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()
|
| /freebsd-12-stable/crypto/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 …]
|
| /freebsd-12-stable/crypto/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
|
| /freebsd-12-stable/contrib/ldns/ |
| D | keys.c | 806 *dmp1=NULL, *dmq1=NULL, *iqmp=NULL; in ldns_key_new_frm_fp_rsa_l() local 875 dmp1 = BN_bin2bn((const char unsigned*)buf, i, NULL); in ldns_key_new_frm_fp_rsa_l() 876 if (!dmp1) { in ldns_key_new_frm_fp_rsa_l() 908 rsa->dmp1 = dmp1; in ldns_key_new_frm_fp_rsa_l() 922 if(!RSA_set0_crt_params(rsa, dmp1, dmq1, iqmp)) in ldns_key_new_frm_fp_rsa_l() 939 BN_free(dmp1); in ldns_key_new_frm_fp_rsa_l()
|
| D | host2str.c | 2041 *p=NULL, *q=NULL, *dmp1=NULL, in ldns_key2buffer_str() local 2049 dmp1 = rsa->dmp1; in ldns_key2buffer_str() 2055 RSA_get0_crt_params(rsa, &dmp1, in ldns_key2buffer_str() 2068 if(!ldns_print_bignum_b64_line(output, "Exponent1", dmp1)) in ldns_key2buffer_str()
|
| /freebsd-12-stable/contrib/ntp/include/ |
| D | libssl_compat.h | 66 extern int sslshim_RSA_set0_crt_params(RSA *prsa, BIGNUM *dmp1,
|
| /freebsd-12-stable/crypto/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,
|
| /freebsd-12-stable/crypto/heimdal/lib/hx509/ |
| D | crypto.c | 2984 const BIGNUM *d, *p, *q, *dmp1, *dmq1, *iqmp; in match_keys_rsa() local 2995 RSA_get0_crt_params(rsa, &dmp1, &dmq1, &iqmp); in match_keys_rsa() 3021 new_dmp1 = BN_dup(dmp1); in match_keys_rsa()
|
| /freebsd-12-stable/crypto/openssl/crypto/err/ |
| D | openssl.txt | 2532 RSA_R_DMP1_NOT_CONGRUENT_TO_D:124:dmp1 not congruent to d
|
| /freebsd-12-stable/crypto/openssl/ |
| D | CHANGES | 12442 method only got called if p,q,dmp1,dmq1,iqmp components were present,
|