mbedtls_pk_verify_ext() is only used within mbedTLS.
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsReferences

Return value

0 on success (signature is valid), #MBEDTLS_ERR_PK_TYPE_MISMATCH if the PK context can't be used for this type of signatures, #MBEDTLS_ERR_PK_SIG_LEN_MISMATCH if there is a valid signature in sig but its length is less than \p siglen, or a specific error code.

Notes

If hash_len is 0, then the length associated with md_alg is used instead, or an error returned if it is invalid. md_alg may be MBEDTLS_MD_NONE, only if hash_len != 0 If type is MBEDTLS_PK_RSASSA_PSS, then options must point to a mbedtls_pk_rsassa_pss_options structure, otherwise it must be NULL.

References

from examples