Searched refs:pss_opts (Results 1 – 3 of 3) sorted by relevance
766 mbedtls_pk_rsassa_pss_options *pss_opts; in mbedtls_x509_get_sig_alg() local768 pss_opts = mbedtls_calloc(1, sizeof(mbedtls_pk_rsassa_pss_options)); in mbedtls_x509_get_sig_alg()769 if (pss_opts == NULL) { in mbedtls_x509_get_sig_alg()775 &pss_opts->mgf1_hash_id, in mbedtls_x509_get_sig_alg()776 &pss_opts->expected_salt_len); in mbedtls_x509_get_sig_alg()778 mbedtls_free(pss_opts); in mbedtls_x509_get_sig_alg()782 *sig_opts = (void *) pss_opts; in mbedtls_x509_get_sig_alg()961 const mbedtls_pk_rsassa_pss_options *pss_opts; in mbedtls_x509_sig_alg_gets() local963 pss_opts = (const mbedtls_pk_rsassa_pss_options *) sig_opts; in mbedtls_x509_sig_alg_gets()966 const char *mgf_name = md_type_to_string(pss_opts->mgf1_hash_id); in mbedtls_x509_sig_alg_gets()[all …]
509 const mbedtls_pk_rsassa_pss_options *pss_opts; in mbedtls_pk_verify_ext() local519 pss_opts = (const mbedtls_pk_rsassa_pss_options *) options; in mbedtls_pk_verify_ext()522 if (pss_opts->mgf1_hash_id == md_alg) { in mbedtls_pk_verify_ext()582 pss_opts->mgf1_hash_id, in mbedtls_pk_verify_ext()583 pss_opts->expected_salt_len, in mbedtls_pk_verify_ext()
575 mbedtls_pk_rsassa_pss_options pss_opts;593 options = &pss_opts;595 pss_opts.mgf1_hash_id = mgf1_hash_id;596 pss_opts.expected_salt_len = salt_len;