Home
last modified time | relevance | path

Searched refs:mdprops (Results 1 – 16 of 16) sorted by relevance

/openssl/providers/implementations/asymciphers/
H A Drsa_enc.c464 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 Dffc_params.c136 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 Dffc_params_generate.c540 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 Ddsa_sig.c151 const char *mdname, const char *mdprops, in dsa_setup_md() argument
156 if (mdprops == NULL) in dsa_setup_md()
157 mdprops = ctx->propq; in dsa_setup_md()
164 md = EVP_MD_fetch(ctx->libctx, mdname, mdprops); in dsa_setup_md()
757 char mdprops[OSSL_MAX_PROPQUERY_SIZE] = "", *pmdprops = mdprops; in dsa_set_ctx_params() local
765 && !OSSL_PARAM_get_utf8_string(propsp, &pmdprops, sizeof(mdprops))) in dsa_set_ctx_params()
767 if (!dsa_setup_md(pdsactx, mdname, mdprops, "DSA Set Ctx")) in dsa_set_ctx_params()
H A Decdsa_sig.c168 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()
773 char mdprops[OSSL_MAX_PROPQUERY_SIZE] = "", *pmdprops = mdprops; in ecdsa_set_ctx_params() local
781 && !OSSL_PARAM_get_utf8_string(propsp, &pmdprops, sizeof(mdprops))) in ecdsa_set_ctx_params()
783 if (!ecdsa_setup_md(ctx, mdname, mdprops, "ECDSA Set Ctx")) in ecdsa_set_ctx_params()
H A Drsa_sig.c371 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 Ddsa_kmgmt.c70 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 Ddh_kmgmt.c74 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 Drsa_lib.c966 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 Ddh_exch.c375 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 Decdh_exch.c298 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 Drsa.h151 const char *mdprops);
162 const char *mdprops);
166 const char *mdprops);
/openssl/include/internal/
H A Dffc.h120 const char *mdprops; member
/openssl/test/
H A Dtls-provider.c2669 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 DEVP_PKEY_CTX_set_rsa_pss_keygen_md.pod20 const char *mdprops);
H A DEVP_PKEY_CTX_ctrl.pod108 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

Completed in 68 milliseconds