Home
last modified time | relevance | path

Searched refs:rsa_pss_params (Results 1 – 3 of 3) sorted by relevance

/freebsd/crypto/openssl/crypto/rsa/
H A Drsa_pss.c290 int ossl_rsa_pss_params_30_set_defaults(RSA_PSS_PARAMS_30 *rsa_pss_params) in ossl_rsa_pss_params_30_set_defaults() argument
292 if (rsa_pss_params == NULL) in ossl_rsa_pss_params_30_set_defaults()
294 *rsa_pss_params = default_RSASSA_PSS_params; in ossl_rsa_pss_params_30_set_defaults()
298 int ossl_rsa_pss_params_30_is_unrestricted(const RSA_PSS_PARAMS_30 *rsa_pss_params) in ossl_rsa_pss_params_30_is_unrestricted() argument
302 return rsa_pss_params == NULL in ossl_rsa_pss_params_30_is_unrestricted()
303 || memcmp(rsa_pss_params, &pss_params_cmp, in ossl_rsa_pss_params_30_is_unrestricted()
304 sizeof(*rsa_pss_params)) == 0; in ossl_rsa_pss_params_30_is_unrestricted()
314 int ossl_rsa_pss_params_30_set_hashalg(RSA_PSS_PARAMS_30 *rsa_pss_params, in ossl_rsa_pss_params_30_set_hashalg() argument
317 if (rsa_pss_params == NULL) in ossl_rsa_pss_params_30_set_hashalg()
319 rsa_pss_params->hash_algorithm_nid = hashalg_nid; in ossl_rsa_pss_params_30_set_hashalg()
[all …]
H A Drsa_ameth.c834 RSA_PSS_PARAMS_30 rsa_pss_params = { 0, }; in rsa_int_import_from() local
846 if (!ossl_rsa_pss_params_30_fromdata(&rsa_pss_params, &pss_defaults_set, in rsa_int_import_from()
856 if (!ossl_rsa_pss_params_30_is_unrestricted(&rsa_pss_params)) in rsa_int_import_from()
864 if (!ossl_rsa_pss_params_30_is_unrestricted(&rsa_pss_params)) { in rsa_int_import_from()
866 int mdnid = ossl_rsa_pss_params_30_hashalg(&rsa_pss_params); in rsa_int_import_from()
867 int mgf1mdnid = ossl_rsa_pss_params_30_maskgenhashalg(&rsa_pss_params); in rsa_int_import_from()
868 int saltlen = ossl_rsa_pss_params_30_saltlen(&rsa_pss_params); in rsa_int_import_from()
/freebsd/crypto/openssl/include/crypto/
H A Drsa.h31 int ossl_rsa_pss_params_30_set_defaults(RSA_PSS_PARAMS_30 *rsa_pss_params);
34 int ossl_rsa_pss_params_30_is_unrestricted(const RSA_PSS_PARAMS_30 *rsa_pss_params);
35 int ossl_rsa_pss_params_30_set_hashalg(RSA_PSS_PARAMS_30 *rsa_pss_params,
37 int ossl_rsa_pss_params_30_set_maskgenalg(RSA_PSS_PARAMS_30 *rsa_pss_params,
39 int ossl_rsa_pss_params_30_set_maskgenhashalg(RSA_PSS_PARAMS_30 *rsa_pss_params,
41 int ossl_rsa_pss_params_30_set_saltlen(RSA_PSS_PARAMS_30 *rsa_pss_params,
43 int ossl_rsa_pss_params_30_set_trailerfield(RSA_PSS_PARAMS_30 *rsa_pss_params,
45 int ossl_rsa_pss_params_30_hashalg(const RSA_PSS_PARAMS_30 *rsa_pss_params);
46 int ossl_rsa_pss_params_30_maskgenalg(const RSA_PSS_PARAMS_30 *rsa_pss_params);
47 int ossl_rsa_pss_params_30_maskgenhashalg(const RSA_PSS_PARAMS_30 *rsa_pss_params);
[all …]