| /freebsd/crypto/openssl/providers/implementations/asymciphers/ |
| H A D | rsa_enc.c | 465 char mdprops[OSSL_MAX_PROPQUERY_SIZE] = { '\0' }; in rsa_set_ctx_params() local 489 str = mdprops; in rsa_set_ctx_params() 490 if (!OSSL_PARAM_get_utf8_string(p, &str, sizeof(mdprops))) in rsa_set_ctx_params() 495 prsactx->oaep_md = EVP_MD_fetch(prsactx->libctx, mdname, mdprops); in rsa_set_ctx_params() 534 prsactx->oaep_md = EVP_MD_fetch(prsactx->libctx, "SHA1", mdprops); in rsa_set_ctx_params() 550 str = mdprops; in rsa_set_ctx_params() 551 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 | 135 params->mdprops = props; in ossl_ffc_set_digest() 191 dst->mdprops = src->mdprops; in ossl_ffc_params_copy() 279 if (ffc->mdprops != NULL in ossl_ffc_params_todata() 282 ffc->mdprops))
|
| 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()
|
| /freebsd/crypto/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() 763 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, argument 185 if (mdprops == NULL) 186 mdprops = ctx->propq; 187 md = EVP_MD_fetch(ctx->libctx, mdname, mdprops); 779 char mdprops[OSSL_MAX_PROPQUERY_SIZE] = "", *pmdprops = mdprops; local 786 && !OSSL_PARAM_get_utf8_string(propsp, &pmdprops, sizeof(mdprops))) 788 if (!ecdsa_setup_md(ctx, mdname, mdprops, "ECDSA Set Ctx"))
|
| 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() 465 const char *mdprops) in rsa_setup_mgf1_md() argument 471 if (mdprops == NULL) in rsa_setup_mgf1_md() 472 mdprops = ctx->propq; in rsa_setup_mgf1_md() 474 if ((md = EVP_MD_fetch(ctx->libctx, mdname, mdprops)) == NULL) { in rsa_setup_mgf1_md() 1555 char mdprops[OSSL_MAX_PROPQUERY_SIZE] = "", *pmdprops = NULL; in rsa_set_ctx_params() 1593 pmdprops = mdprops; in rsa_set_ctx_params() 1536 char mdprops[OSSL_MAX_PROPQUERY_SIZE] = "", *pmdprops = NULL; rsa_set_ctx_params() local [all...] |
| /freebsd/crypto/openssl/crypto/rsa/ |
| H A D | rsa_lib.c | 964 const char *propkey, const char *mdprops) in int_set_rsa_md_name() argument 989 if (evp_pkey_ctx_is_provided(ctx) && mdprops != NULL) { in int_set_rsa_md_name() 991 *p++ = OSSL_PARAM_construct_utf8_string(propkey, (char *)mdprops, 0); in int_set_rsa_md_name() 1066 const char *mdprops) in EVP_PKEY_CTX_set_rsa_pss_keygen_md_name() argument 1070 OSSL_PKEY_PARAM_RSA_DIGEST_PROPS, mdprops); in EVP_PKEY_CTX_set_rsa_pss_keygen_md_name() 1088 const char *mdprops) in EVP_PKEY_CTX_set_rsa_oaep_md_name() argument 1092 OSSL_ASYM_CIPHER_PARAM_OAEP_DIGEST_PROPS, mdprops); in EVP_PKEY_CTX_set_rsa_oaep_md_name() 1128 const char *mdprops) in EVP_PKEY_CTX_set_rsa_mgf1_md_name() argument 1133 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 | 70 char *mdprops; member 530 OPENSSL_free(gctx->mdprops); in dsa_gen_set_params() 531 gctx->mdprops = OPENSSL_strdup(p->data); in dsa_gen_set_params() 532 if (gctx->mdprops == NULL) in dsa_gen_set_params() 657 ossl_ffc_set_digest(ffc, gctx->mdname, gctx->mdprops); in dsa_gen() 695 OPENSSL_free(gctx->mdprops); in dsa_gen_cleanup()
|
| H A D | dh_kmgmt.c | 76 char *mdprops; member 640 OPENSSL_free(gctx->mdprops); in dhx_gen_set_params() 641 gctx->mdprops = OPENSSL_strdup(p->data); in dhx_gen_set_params() 642 if (gctx->mdprops == NULL) in dhx_gen_set_params() 759 ossl_ffc_set_digest(ffc, gctx->mdname, gctx->mdprops); in dh_gen() 824 OPENSSL_free(gctx->mdprops); in dh_gen_cleanup()
|
| /freebsd/crypto/openssl/providers/implementations/exchange/ |
| H A D | dh_exch.c | 378 char mdprops[80] = { '\0' }; /* should be big enough */ in dh_set_ctx_params() 384 str = mdprops; in dh_set_ctx_params() 389 if (!OSSL_PARAM_get_utf8_string(p, &str, sizeof(mdprops))) in dh_set_ctx_params() 394 pdhctx->kdf_md = EVP_MD_fetch(pdhctx->libctx, name, mdprops); in dh_set_ctx_params() 375 char mdprops[80] = { '\0' }; /* should be big enough */ dh_set_ctx_params() local
|
| H A D | ecdh_exch.c | 291 char mdprops[80] = { '\0' }; /* should be big enough */ in ecdh_set_ctx_params() local 297 str = mdprops; in ecdh_set_ctx_params() 302 if (!OSSL_PARAM_get_utf8_string(p, &str, sizeof(mdprops))) in ecdh_set_ctx_params() 307 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 | 151 const char *mdprops); 162 const char *mdprops); 166 const char *mdprops);
|
| /freebsd/crypto/openssl/include/internal/ |
| H A D | ffc.h | 120 const char *mdprops; member
|
| /freebsd/crypto/openssl/test/ |
| H A D | tls-provider.c | 2650 const char *mdname, const char *mdprops) in xor_sig_setup_md() argument 2654 if (mdprops == NULL) in xor_sig_setup_md() 2655 mdprops = ctx->propq; in xor_sig_setup_md() 2657 md = EVP_MD_fetch(ctx->libctx, mdname, mdprops); in xor_sig_setup_md() 2997 char mdprops[OSSL_MAX_PROPQUERY_SIZE] = "", *pmdprops = mdprops; in xor_sig_set_ctx_params() local 3004 && !OSSL_PARAM_get_utf8_string(propsp, &pmdprops, sizeof(mdprops))) in xor_sig_set_ctx_params() 3006 if (!xor_sig_setup_md(pxor_sigctx, mdname, mdprops)) in xor_sig_set_ctx_params()
|
| /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); 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
|