/openssl/providers/implementations/asymciphers/ |
H A D | rsa_enc.c | 464 char mdprops[OSSL_MAX_PROPQUERY_SIZE] = { '\0' }; in rsa_set_ctx_params() local 488 str = mdprops; in rsa_set_ctx_params() 489 if (!OSSL_PARAM_get_utf8_string(p, &str, sizeof(mdprops))) in rsa_set_ctx_params() 494 prsactx->oaep_md = EVP_MD_fetch(prsactx->libctx, mdname, mdprops); in rsa_set_ctx_params() 535 prsactx->oaep_md = EVP_MD_fetch(prsactx->libctx, "SHA1", mdprops); in rsa_set_ctx_params() 551 str = mdprops; in rsa_set_ctx_params() 552 if (!OSSL_PARAM_get_utf8_string(p, &str, sizeof(mdprops))) in rsa_set_ctx_params()
|
/openssl/crypto/ffc/ |
H A D | ffc_params.c | 136 params->mdprops = props; in ossl_ffc_set_digest() 190 dst->mdprops = src->mdprops; in ossl_ffc_params_copy() 276 if (ffc->mdprops != NULL in ossl_ffc_params_todata() 279 ffc->mdprops)) in ossl_ffc_params_todata()
|
H A D | ffc_params_generate.c | 540 md = EVP_MD_fetch(libctx, params->mdname, params->mdprops); in ossl_ffc_params_FIPS186_4_gen_verify() 549 md = EVP_MD_fetch(libctx, def_name, params->mdprops); in ossl_ffc_params_FIPS186_4_gen_verify() 836 md = EVP_MD_fetch(libctx, params->mdname, params->mdprops); in ossl_ffc_params_FIPS186_2_gen_verify() 845 md = EVP_MD_fetch(libctx, def_name, params->mdprops); in ossl_ffc_params_FIPS186_2_gen_verify()
|
/openssl/providers/implementations/signature/ |
H A D | dsa_sig.c | 150 const char *mdname, const char *mdprops, in dsa_setup_md() argument 155 if (mdprops == NULL) in dsa_setup_md() 156 mdprops = ctx->propq; in dsa_setup_md() 164 md = EVP_MD_fetch(ctx->libctx, mdname, mdprops); in dsa_setup_md() 762 char mdprops[OSSL_MAX_PROPQUERY_SIZE] = "", *pmdprops = mdprops; in dsa_set_ctx_params() local 770 && !OSSL_PARAM_get_utf8_string(propsp, &pmdprops, sizeof(mdprops))) in dsa_set_ctx_params() 772 if (!dsa_setup_md(pdsactx, mdname, mdprops, "DSA Set Ctx")) in dsa_set_ctx_params()
|
H A D | ecdsa_sig.c | 167 const char *mdname, const char *mdprops, in ecdsa_setup_md() argument 185 if (mdprops == NULL) in ecdsa_setup_md() 186 mdprops = ctx->propq; in ecdsa_setup_md() 187 md = EVP_MD_fetch(ctx->libctx, mdname, mdprops); in ecdsa_setup_md() 779 char mdprops[OSSL_MAX_PROPQUERY_SIZE] = "", *pmdprops = mdprops; in ecdsa_set_ctx_params() local 787 && !OSSL_PARAM_get_utf8_string(propsp, &pmdprops, sizeof(mdprops))) in ecdsa_set_ctx_params() 789 if (!ecdsa_setup_md(ctx, mdname, mdprops, "ECDSA Set Ctx")) in ecdsa_set_ctx_params()
|
H A D | rsa_sig.c | 371 const char *mdprops, const char *desc) in rsa_setup_md() argument 375 if (mdprops == NULL) in rsa_setup_md() 376 mdprops = ctx->propq; in rsa_setup_md() 382 md = EVP_MD_fetch(ctx->libctx, mdname, mdprops); in rsa_setup_md() 464 const char *mdprops) in rsa_setup_mgf1_md() argument 470 if (mdprops == NULL) in rsa_setup_mgf1_md() 471 mdprops = ctx->propq; in rsa_setup_mgf1_md() 473 if ((md = EVP_MD_fetch(ctx->libctx, mdname, mdprops)) == NULL) { in rsa_setup_mgf1_md() 1539 char mdprops[OSSL_MAX_PROPQUERY_SIZE] = "", *pmdprops = NULL; in rsa_set_ctx_params() local 1578 pmdprops = mdprops; in rsa_set_ctx_params() [all …]
|
/openssl/providers/implementations/keymgmt/ |
H A D | dsa_kmgmt.c | 70 char *mdprops; member 532 OPENSSL_free(gctx->mdprops); in dsa_gen_set_params() 533 gctx->mdprops = OPENSSL_strdup(p->data); in dsa_gen_set_params() 534 if (gctx->mdprops == NULL) in dsa_gen_set_params() 660 ossl_ffc_set_digest(ffc, gctx->mdname, gctx->mdprops); in dsa_gen() 697 OPENSSL_free(gctx->mdprops); in dsa_gen_cleanup()
|
H A D | dh_kmgmt.c | 74 char *mdprops; member 643 OPENSSL_free(gctx->mdprops); in dhx_gen_set_params() 644 gctx->mdprops = OPENSSL_strdup(p->data); in dhx_gen_set_params() 645 if (gctx->mdprops == NULL) in dhx_gen_set_params() 761 ossl_ffc_set_digest(ffc, gctx->mdname, gctx->mdprops); in dh_gen() 817 OPENSSL_free(gctx->mdprops); in dh_gen_cleanup()
|
/openssl/crypto/rsa/ |
H A D | rsa_lib.c | 966 const char *propkey, const char *mdprops) in int_set_rsa_md_name() argument 991 if (evp_pkey_ctx_is_provided(ctx) && mdprops != NULL) { in int_set_rsa_md_name() 993 *p++ = OSSL_PARAM_construct_utf8_string(propkey, (char *)mdprops, 0); in int_set_rsa_md_name() 1068 const char *mdprops) in EVP_PKEY_CTX_set_rsa_pss_keygen_md_name() argument 1072 OSSL_PKEY_PARAM_RSA_DIGEST_PROPS, mdprops); in EVP_PKEY_CTX_set_rsa_pss_keygen_md_name() 1090 const char *mdprops) in EVP_PKEY_CTX_set_rsa_oaep_md_name() argument 1095 OSSL_ASYM_CIPHER_PARAM_OAEP_DIGEST_PROPS, mdprops); in EVP_PKEY_CTX_set_rsa_oaep_md_name() 1131 const char *mdprops) in EVP_PKEY_CTX_set_rsa_mgf1_md_name() argument 1136 OSSL_PKEY_PARAM_MGF1_PROPERTIES, mdprops); in EVP_PKEY_CTX_set_rsa_mgf1_md_name()
|
/openssl/providers/implementations/exchange/ |
H A D | dh_exch.c | 375 char mdprops[80] = { '\0' }; /* should be big enough */ in dh_set_ctx_params() local 381 str = mdprops; in dh_set_ctx_params() 386 if (!OSSL_PARAM_get_utf8_string(p, &str, sizeof(mdprops))) in dh_set_ctx_params() 391 pdhctx->kdf_md = EVP_MD_fetch(pdhctx->libctx, name, mdprops); in dh_set_ctx_params()
|
H A D | ecdh_exch.c | 298 char mdprops[80] = { '\0' }; /* should be big enough */ in ecdh_set_ctx_params() local 304 str = mdprops; in ecdh_set_ctx_params() 309 if (!OSSL_PARAM_get_utf8_string(p, &str, sizeof(mdprops))) in ecdh_set_ctx_params() 314 pectx->kdf_md = EVP_MD_fetch(pectx->libctx, name, mdprops); in ecdh_set_ctx_params()
|
/openssl/include/openssl/ |
H A D | rsa.h | 151 const char *mdprops); 162 const char *mdprops); 166 const char *mdprops);
|
/openssl/include/internal/ |
H A D | ffc.h | 120 const char *mdprops; member
|
/openssl/test/ |
H A D | tls-provider.c | 2669 const char *mdname, const char *mdprops) in xor_sig_setup_md() argument 2673 if (mdprops == NULL) in xor_sig_setup_md() 2674 mdprops = ctx->propq; in xor_sig_setup_md() 2676 md = EVP_MD_fetch(ctx->libctx, mdname, mdprops); in xor_sig_setup_md() 3017 char mdprops[OSSL_MAX_PROPQUERY_SIZE] = "", *pmdprops = mdprops; in xor_sig_set_ctx_params() local 3025 && !OSSL_PARAM_get_utf8_string(propsp, &pmdprops, sizeof(mdprops))) in xor_sig_set_ctx_params() 3027 if (!xor_sig_setup_md(pxor_sigctx, mdname, mdprops)) in xor_sig_set_ctx_params()
|
/openssl/doc/man3/ |
H A D | EVP_PKEY_CTX_set_rsa_pss_keygen_md.pod | 20 const char *mdprops);
|
H A D | EVP_PKEY_CTX_ctrl.pod | 108 const char *mdprops); 114 const char *mdprops); 323 fetched using the properties I<mdprops>. If not explicitly set the signing 346 fetched using the properties I<mdprops>. The padding mode must have been set to
|