Home
last modified time | relevance | path

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

/openthread-latest/third_party/mbedtls/repo/library/
Dx509.c734 mbedtls_pk_rsassa_pss_options *pss_opts; in mbedtls_x509_get_sig_alg() local
736 pss_opts = mbedtls_calloc(1, sizeof(mbedtls_pk_rsassa_pss_options)); in mbedtls_x509_get_sig_alg()
737 if (pss_opts == NULL) { in mbedtls_x509_get_sig_alg()
743 &pss_opts->mgf1_hash_id, in mbedtls_x509_get_sig_alg()
744 &pss_opts->expected_salt_len); in mbedtls_x509_get_sig_alg()
746 mbedtls_free(pss_opts); in mbedtls_x509_get_sig_alg()
750 *sig_opts = (void *) pss_opts; in mbedtls_x509_get_sig_alg()
998 const mbedtls_pk_rsassa_pss_options *pss_opts; in mbedtls_x509_sig_alg_gets() local
1000 pss_opts = (const mbedtls_pk_rsassa_pss_options *) sig_opts; in mbedtls_x509_sig_alg_gets()
1003 const char *mgf_name = md_type_to_string(pss_opts->mgf1_hash_id); in mbedtls_x509_sig_alg_gets()
[all …]
Dpk.c1137 const mbedtls_pk_rsassa_pss_options *pss_opts; in mbedtls_pk_verify_ext() local
1149 pss_opts = (const mbedtls_pk_rsassa_pss_options *) options; in mbedtls_pk_verify_ext()
1152 if (pss_opts->mgf1_hash_id == md_alg) { in mbedtls_pk_verify_ext()
1212 pss_opts->mgf1_hash_id, in mbedtls_pk_verify_ext()
1213 pss_opts->expected_salt_len, in mbedtls_pk_verify_ext()
/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_pk.function1163 mbedtls_pk_rsassa_pss_options pss_opts;
1181 options = &pss_opts;
1183 pss_opts.mgf1_hash_id = mgf1_hash_id;
1184 pss_opts.expected_salt_len = salt_len;
2091 mbedtls_pk_rsassa_pss_options pss_opts = {
2095 TEST_EQUAL(mbedtls_pk_verify_ext(key_pk_type, &pss_opts, &pk, md_alg,