mbedtls_pk_rsassa_pss_options
pk.h
mbedtls_md_type_t mbedtls_md_type_t mbedtls_pk_rsassa_pss_options::mgf1_hash_id mgf1_hash_id mbedtls_pk_rsassa_pss_options::mgf1_hash_id

The digest to use for MGF1 in PSS.

When #MBEDTLS_USE_PSA_CRYPTO is enabled and MBEDTLS_RSA_C is disabled, this must be equal to the `md_alg` argument passed to mbedtls_pk_verify_ext(). In a future version of the library, this constraint may apply whenever #MBEDTLS_USE_PSA_CRYPTO is enabled regardless of the status of MBEDTLS_RSA_C.

int int mbedtls_pk_rsassa_pss_options::expected_salt_len expected_salt_len mbedtls_pk_rsassa_pss_options::expected_salt_len

The expected length of the salt, in bytes. This may be MBEDTLS_RSA_SALT_LEN_ANY to accept any salt length.

When #MBEDTLS_USE_PSA_CRYPTO is enabled, only MBEDTLS_RSA_SALT_LEN_ANY is valid. Any other value may be ignored (allowing any salt length).

Options for RSASSA-PSS signature verification. See `mbedtls_rsa_rsassa_pss_verify_ext()`.

- mbedtls_pk_rsassa_pss_options
  expected_salt_len
- mbedtls_pk_rsassa_pss_options
  mgf1_hash_id