Home
last modified time | relevance | path

Searched refs:pss_params (Results 1 – 18 of 18) sorted by relevance

/third_party/openssl/crypto/rsa/
Drsa_backend.c228 int ossl_rsa_pss_params_30_fromdata(RSA_PSS_PARAMS_30 *pss_params, in ossl_rsa_pss_params_30_fromdata() argument
240 if (pss_params == NULL) in ossl_rsa_pss_params_30_fromdata()
265 if (!ossl_rsa_pss_params_30_set_defaults(pss_params)) in ossl_rsa_pss_params_30_fromdata()
298 || !ossl_rsa_pss_params_30_set_hashalg(pss_params, in ossl_rsa_pss_params_30_fromdata()
313 pss_params, ossl_rsa_oaeppss_md2nid(mgf1md))) in ossl_rsa_pss_params_30_fromdata()
319 || !ossl_rsa_pss_params_30_set_saltlen(pss_params, saltlen)) in ossl_rsa_pss_params_30_fromdata()
391 dupkey->pss_params = rsa->pss_params; in ossl_rsa_dup()
476 RSA_PSS_PARAMS_30 pss_params; in ossl_rsa_sync_to_pss_params_30() local
492 if (!ossl_rsa_pss_params_30_set_defaults(&pss_params) in ossl_rsa_sync_to_pss_params_30()
493 || !ossl_rsa_pss_params_30_set_hashalg(&pss_params, md_nid) in ossl_rsa_sync_to_pss_params_30()
[all …]
Drsa_ameth.c764 RSA_PSS_PARAMS_30 pss_params; in rsa_int_export_to() local
771 if (!ossl_rsa_pss_params_30_set_defaults(&pss_params) in rsa_int_export_to()
772 || !ossl_rsa_pss_params_30_set_hashalg(&pss_params, md_nid) in rsa_int_export_to()
773 || !ossl_rsa_pss_params_30_set_maskgenhashalg(&pss_params, in rsa_int_export_to()
775 || !ossl_rsa_pss_params_30_set_saltlen(&pss_params, saltlen) in rsa_int_export_to()
776 || !ossl_rsa_pss_params_30_todata(&pss_params, tmpl, NULL)) in rsa_int_export_to()
Drsa_local.h76 RSA_PSS_PARAMS_30 pss_params; member
Drsa_lib.c700 return &r->pss_params; in ossl_rsa_get0_pss_params_30()
/third_party/node/deps/openssl/openssl/crypto/rsa/
Drsa_backend.c228 int ossl_rsa_pss_params_30_fromdata(RSA_PSS_PARAMS_30 *pss_params, in ossl_rsa_pss_params_30_fromdata() argument
240 if (pss_params == NULL) in ossl_rsa_pss_params_30_fromdata()
265 if (!ossl_rsa_pss_params_30_set_defaults(pss_params)) in ossl_rsa_pss_params_30_fromdata()
298 || !ossl_rsa_pss_params_30_set_hashalg(pss_params, in ossl_rsa_pss_params_30_fromdata()
313 pss_params, ossl_rsa_oaeppss_md2nid(mgf1md))) in ossl_rsa_pss_params_30_fromdata()
319 || !ossl_rsa_pss_params_30_set_saltlen(pss_params, saltlen)) in ossl_rsa_pss_params_30_fromdata()
391 dupkey->pss_params = rsa->pss_params; in ossl_rsa_dup()
476 RSA_PSS_PARAMS_30 pss_params; in ossl_rsa_sync_to_pss_params_30() local
492 if (!ossl_rsa_pss_params_30_set_defaults(&pss_params) in ossl_rsa_sync_to_pss_params_30()
493 || !ossl_rsa_pss_params_30_set_hashalg(&pss_params, md_nid) in ossl_rsa_sync_to_pss_params_30()
[all …]
Drsa_ameth.c796 RSA_PSS_PARAMS_30 pss_params; in rsa_int_export_to() local
803 if (!ossl_rsa_pss_params_30_set_defaults(&pss_params) in rsa_int_export_to()
804 || !ossl_rsa_pss_params_30_set_hashalg(&pss_params, md_nid) in rsa_int_export_to()
805 || !ossl_rsa_pss_params_30_set_maskgenhashalg(&pss_params, in rsa_int_export_to()
807 || !ossl_rsa_pss_params_30_set_saltlen(&pss_params, saltlen) in rsa_int_export_to()
808 || !ossl_rsa_pss_params_30_todata(&pss_params, tmpl, NULL)) in rsa_int_export_to()
Drsa_local.h76 RSA_PSS_PARAMS_30 pss_params; member
Drsa_lib.c700 return &r->pss_params; in ossl_rsa_get0_pss_params_30()
/third_party/openssl/providers/implementations/keymgmt/
Drsa_kmgmt.c62 static int pss_params_fromdata(RSA_PSS_PARAMS_30 *pss_params, int *defaults_set, in DEFINE_SPECIAL_STACK_OF_CONST()
66 if (!ossl_rsa_pss_params_30_fromdata(pss_params, defaults_set, in DEFINE_SPECIAL_STACK_OF_CONST()
72 && !ossl_rsa_pss_params_30_is_unrestricted(pss_params)) in DEFINE_SPECIAL_STACK_OF_CONST()
207 const RSA_PSS_PARAMS_30 *pss_params = ossl_rsa_get0_pss_params_30(rsa); in rsa_export() local
223 ok = ok && (ossl_rsa_pss_params_30_is_unrestricted(pss_params) in rsa_export()
224 || ossl_rsa_pss_params_30_todata(pss_params, tmpl, NULL)); in rsa_export()
333 const RSA_PSS_PARAMS_30 *pss_params = ossl_rsa_get0_pss_params_30(rsa); in rsa_get_params() local
354 || ossl_rsa_pss_params_30_is_unrestricted(pss_params))) { in rsa_get_params()
366 && !ossl_rsa_pss_params_30_is_unrestricted(pss_params)) { in rsa_get_params()
368 ossl_rsa_oaeppss_nid2name(ossl_rsa_pss_params_30_hashalg(pss_params)); in rsa_get_params()
[all …]
/third_party/node/deps/openssl/openssl/providers/implementations/keymgmt/
Drsa_kmgmt.c62 static int pss_params_fromdata(RSA_PSS_PARAMS_30 *pss_params, int *defaults_set, in DEFINE_SPECIAL_STACK_OF_CONST()
66 if (!ossl_rsa_pss_params_30_fromdata(pss_params, defaults_set, in DEFINE_SPECIAL_STACK_OF_CONST()
72 && !ossl_rsa_pss_params_30_is_unrestricted(pss_params)) in DEFINE_SPECIAL_STACK_OF_CONST()
207 const RSA_PSS_PARAMS_30 *pss_params = ossl_rsa_get0_pss_params_30(rsa); in rsa_export() local
223 ok = ok && (ossl_rsa_pss_params_30_is_unrestricted(pss_params) in rsa_export()
224 || ossl_rsa_pss_params_30_todata(pss_params, tmpl, NULL)); in rsa_export()
333 const RSA_PSS_PARAMS_30 *pss_params = ossl_rsa_get0_pss_params_30(rsa); in rsa_get_params() local
354 || ossl_rsa_pss_params_30_is_unrestricted(pss_params))) { in rsa_get_params()
366 && !ossl_rsa_pss_params_30_is_unrestricted(pss_params)) { in rsa_get_params()
368 ossl_rsa_oaeppss_nid2name(ossl_rsa_pss_params_30_hashalg(pss_params)); in rsa_get_params()
[all …]
/third_party/openssl/providers/implementations/encode_decode/
Dencode_key2text.c652 const RSA_PSS_PARAMS_30 *pss_params = ossl_rsa_get0_pss_params_30((RSA *)rsa); in rsa_to_text() local
739 if (!ossl_rsa_pss_params_30_is_unrestricted(pss_params)) { in rsa_to_text()
745 if (ossl_rsa_pss_params_30_is_unrestricted(pss_params)) { in rsa_to_text()
749 int hashalg_nid = ossl_rsa_pss_params_30_hashalg(pss_params); in rsa_to_text()
751 ossl_rsa_pss_params_30_maskgenalg(pss_params); in rsa_to_text()
753 ossl_rsa_pss_params_30_maskgenhashalg(pss_params); in rsa_to_text()
754 int saltlen = ossl_rsa_pss_params_30_saltlen(pss_params); in rsa_to_text()
756 ossl_rsa_pss_params_30_trailerfield(pss_params); in rsa_to_text()
/third_party/node/deps/openssl/openssl/providers/implementations/encode_decode/
Dencode_key2text.c652 const RSA_PSS_PARAMS_30 *pss_params = ossl_rsa_get0_pss_params_30((RSA *)rsa); in rsa_to_text() local
739 if (!ossl_rsa_pss_params_30_is_unrestricted(pss_params)) { in rsa_to_text()
745 if (ossl_rsa_pss_params_30_is_unrestricted(pss_params)) { in rsa_to_text()
749 int hashalg_nid = ossl_rsa_pss_params_30_hashalg(pss_params); in rsa_to_text()
751 ossl_rsa_pss_params_30_maskgenalg(pss_params); in rsa_to_text()
753 ossl_rsa_pss_params_30_maskgenhashalg(pss_params); in rsa_to_text()
754 int saltlen = ossl_rsa_pss_params_30_saltlen(pss_params); in rsa_to_text()
756 ossl_rsa_pss_params_30_trailerfield(pss_params); in rsa_to_text()
/third_party/node/deps/openssl/openssl/providers/common/der/
Dder_rsa_key.c396 RSA_PSS_PARAMS_30 *pss_params = ossl_rsa_get0_pss_params_30(rsa); in ossl_DER_w_algorithmIdentifier_RSA() local
399 pss_params); in ossl_DER_w_algorithmIdentifier_RSA()
/third_party/openssl/providers/common/der/
Dder_rsa_key.c396 RSA_PSS_PARAMS_30 *pss_params = ossl_rsa_get0_pss_params_30(rsa); in ossl_DER_w_algorithmIdentifier_RSA() local
399 pss_params); in ossl_DER_w_algorithmIdentifier_RSA()
/third_party/node/deps/openssl/openssl/providers/implementations/signature/
Drsa_sig.c229 RSA_PSS_PARAMS_30 pss_params; in rsa_generate_signature_aid() local
256 if (!ossl_rsa_pss_params_30_set_defaults(&pss_params) in rsa_generate_signature_aid()
257 || !ossl_rsa_pss_params_30_set_hashalg(&pss_params, ctx->mdnid) in rsa_generate_signature_aid()
258 || !ossl_rsa_pss_params_30_set_maskgenhashalg(&pss_params, in rsa_generate_signature_aid()
260 || !ossl_rsa_pss_params_30_set_saltlen(&pss_params, saltlen) in rsa_generate_signature_aid()
263 &pss_params)) { in rsa_generate_signature_aid()
/third_party/openssl/providers/implementations/signature/
Drsa_sig.c229 RSA_PSS_PARAMS_30 pss_params; in rsa_generate_signature_aid() local
256 if (!ossl_rsa_pss_params_30_set_defaults(&pss_params) in rsa_generate_signature_aid()
257 || !ossl_rsa_pss_params_30_set_hashalg(&pss_params, ctx->mdnid) in rsa_generate_signature_aid()
258 || !ossl_rsa_pss_params_30_set_maskgenhashalg(&pss_params, in rsa_generate_signature_aid()
260 || !ossl_rsa_pss_params_30_set_saltlen(&pss_params, saltlen) in rsa_generate_signature_aid()
263 &pss_params)) { in rsa_generate_signature_aid()
/third_party/node/deps/openssl/openssl/include/crypto/
Drsa.h73 int ossl_rsa_pss_params_30_fromdata(RSA_PSS_PARAMS_30 *pss_params,
/third_party/openssl/include/crypto/
Drsa.h73 int ossl_rsa_pss_params_30_fromdata(RSA_PSS_PARAMS_30 *pss_params,