/freebsd/crypto/openssl/providers/implementations/signature/ |
H A D | dsa_sig.c | 121 const char *mdname, const char *mdprops) in dsa_setup_md() argument 123 if (mdprops == NULL) in dsa_setup_md() 124 mdprops = ctx->propq; in dsa_setup_md() 129 EVP_MD *md = EVP_MD_fetch(ctx->libctx, mdname, mdprops); in dsa_setup_md() 489 char mdprops[OSSL_MAX_PROPQUERY_SIZE] = "", *pmdprops = mdprops; in dsa_set_ctx_params() local 497 && !OSSL_PARAM_get_utf8_string(propsp, &pmdprops, sizeof(mdprops))) in dsa_set_ctx_params() 499 if (!dsa_setup_md(pdsactx, mdname, mdprops)) in dsa_set_ctx_params()
|
H A D | ecdsa_sig.c | 216 const char *mdprops) in ecdsa_setup_md() argument 232 if (mdprops == NULL) in ecdsa_setup_md() 233 mdprops = ctx->propq; in ecdsa_setup_md() 234 md = EVP_MD_fetch(ctx->libctx, mdname, mdprops); in ecdsa_setup_md() 496 char mdprops[OSSL_MAX_PROPQUERY_SIZE] = "", *pmdprops = mdprops; in ecdsa_set_ctx_params() local 504 && !OSSL_PARAM_get_utf8_string(propsp, &pmdprops, sizeof(mdprops))) in ecdsa_set_ctx_params() 506 if (!ecdsa_setup_md(ctx, mdname, mdprops)) in ecdsa_set_ctx_params()
|
H A D | rsa_sig.c | 284 const char *mdprops) in rsa_setup_md() argument 286 if (mdprops == NULL) in rsa_setup_md() 287 mdprops = ctx->propq; in rsa_setup_md() 290 EVP_MD *md = EVP_MD_fetch(ctx->libctx, mdname, mdprops); in rsa_setup_md() 348 const char *mdprops) in rsa_setup_mgf1_md() argument 354 if (mdprops == NULL) in rsa_setup_mgf1_md() 355 mdprops = ctx->propq; in rsa_setup_mgf1_md() 357 if ((md = EVP_MD_fetch(ctx->libctx, mdname, mdprops)) == NULL) { in rsa_setup_mgf1_md() 1156 char mdprops[OSSL_MAX_PROPQUERY_SIZE] = "", *pmdprops = NULL; in rsa_set_ctx_params() local 1179 pmdprops = mdprops; in rsa_set_ctx_params() [all …]
|
/freebsd/crypto/openssl/providers/implementations/asymciphers/ |
H A D | rsa_enc.c | 429 char mdprops[OSSL_MAX_PROPQUERY_SIZE] = { '\0' }; in rsa_set_ctx_params() local 446 str = mdprops; in rsa_set_ctx_params() 447 if (!OSSL_PARAM_get_utf8_string(p, &str, sizeof(mdprops))) in rsa_set_ctx_params() 452 prsactx->oaep_md = EVP_MD_fetch(prsactx->libctx, mdname, mdprops); in rsa_set_ctx_params() 493 prsactx->oaep_md = EVP_MD_fetch(prsactx->libctx, "SHA1", mdprops); in rsa_set_ctx_params() 509 str = mdprops; in rsa_set_ctx_params() 510 if (!OSSL_PARAM_get_utf8_string(p, &str, sizeof(mdprops))) in rsa_set_ctx_params()
|
/freebsd/crypto/openssl/crypto/ffc/ |
H A D | ffc_params.c | 131 params->mdprops = props; in ossl_ffc_set_digest() 186 dst->mdprops = src->mdprops; in ossl_ffc_params_copy() 275 if (ffc->mdprops != NULL in ossl_ffc_params_todata() 278 ffc->mdprops)) in ossl_ffc_params_todata()
|
H A D | ffc_params_generate.c | 537 md = EVP_MD_fetch(libctx, params->mdname, params->mdprops); in ossl_ffc_params_FIPS186_4_gen_verify() 546 md = EVP_MD_fetch(libctx, def_name, params->mdprops); in ossl_ffc_params_FIPS186_4_gen_verify() 832 md = EVP_MD_fetch(libctx, params->mdname, params->mdprops); in ossl_ffc_params_FIPS186_2_gen_verify() 841 md = EVP_MD_fetch(libctx, def_name, params->mdprops); in ossl_ffc_params_FIPS186_2_gen_verify()
|
/freebsd/crypto/openssl/crypto/rsa/ |
H A D | rsa_lib.c | 887 const char *propkey, const char *mdprops) in int_set_rsa_md_name() argument 912 if (evp_pkey_ctx_is_provided(ctx) && mdprops != NULL) { in int_set_rsa_md_name() 914 *p++ = OSSL_PARAM_construct_utf8_string(propkey, (char *)mdprops, 0); in int_set_rsa_md_name() 989 const char *mdprops) in EVP_PKEY_CTX_set_rsa_pss_keygen_md_name() argument 993 OSSL_PKEY_PARAM_RSA_DIGEST_PROPS, mdprops); in EVP_PKEY_CTX_set_rsa_pss_keygen_md_name() 1011 const char *mdprops) in EVP_PKEY_CTX_set_rsa_oaep_md_name() argument 1016 OSSL_ASYM_CIPHER_PARAM_OAEP_DIGEST_PROPS, mdprops); in EVP_PKEY_CTX_set_rsa_oaep_md_name() 1052 const char *mdprops) in EVP_PKEY_CTX_set_rsa_mgf1_md_name() argument 1057 OSSL_PKEY_PARAM_MGF1_PROPERTIES, mdprops); in EVP_PKEY_CTX_set_rsa_mgf1_md_name()
|
/freebsd/crypto/openssl/providers/implementations/keymgmt/ |
H A D | dsa_kmgmt.c | 67 char *mdprops; member 516 OPENSSL_free(gctx->mdprops); in dsa_gen_set_params() 517 gctx->mdprops = OPENSSL_strdup(p->data); in dsa_gen_set_params() 518 if (gctx->mdprops == NULL) in dsa_gen_set_params() 594 if (!ossl_ffc_set_digest(ffc, gctx->mdname, gctx->mdprops)) in dsa_gen() 632 OPENSSL_free(gctx->mdprops); in dsa_gen_cleanup()
|
H A D | dh_kmgmt.c | 73 char *mdprops; member 637 OPENSSL_free(gctx->mdprops); in dhx_gen_set_params() 638 gctx->mdprops = OPENSSL_strdup(p->data); in dhx_gen_set_params() 639 if (gctx->mdprops == NULL) in dhx_gen_set_params() 742 if (!ossl_ffc_set_digest(ffc, gctx->mdname, gctx->mdprops)) in dh_gen() 800 OPENSSL_free(gctx->mdprops); in dh_gen_cleanup()
|
/freebsd/crypto/openssl/providers/implementations/exchange/ |
H A D | dh_exch.c | 337 char mdprops[80] = { '\0' }; /* should be big enough */ in dh_set_ctx_params() local 343 str = mdprops; in dh_set_ctx_params() 348 if (!OSSL_PARAM_get_utf8_string(p, &str, sizeof(mdprops))) in dh_set_ctx_params() 353 pdhctx->kdf_md = EVP_MD_fetch(pdhctx->libctx, name, mdprops); in dh_set_ctx_params()
|
H A D | ecdh_exch.c | 269 char mdprops[80] = { '\0' }; /* should be big enough */ in ecdh_set_ctx_params() local 275 str = mdprops; in ecdh_set_ctx_params() 280 if (!OSSL_PARAM_get_utf8_string(p, &str, sizeof(mdprops))) in ecdh_set_ctx_params() 285 pectx->kdf_md = EVP_MD_fetch(pectx->libctx, name, mdprops); in ecdh_set_ctx_params()
|
/freebsd/crypto/openssl/include/openssl/ |
H A D | rsa.h | 145 const char *mdprops); 156 const char *mdprops); 160 const char *mdprops);
|
/freebsd/crypto/openssl/include/internal/ |
H A D | ffc.h | 120 const char *mdprops; member
|
/freebsd/crypto/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); 316 fetched using the properties I<mdprops>. If not explicitly set the signing 339 fetched using the properties I<mdprops>. The padding mode must have been set to
|