#include <subsys/nrf_security/src/drivers/cracen/cracenpsa/include/cracen_psa_sign_verify.h>
Verify a message signature.
- Parameters
-
| [in] | attributes | Key attributes. |
| [in] | key_buffer | Key material buffer. |
| [in] | key_buffer_size | Size of the key buffer in bytes. |
| [in] | alg | Verification algorithm. |
| [in] | input | Message that was signed. |
| [in] | input_length | Length of the message in bytes. |
| [in] | signature | Signature to verify. |
| [in] | signature_length | Length of the signature in bytes. |
- Return values
-
| PSA_SUCCESS | The signature is valid. |
| PSA_ERROR_INVALID_SIGNATURE | The signature is invalid. |
| PSA_ERROR_INVALID_HANDLE | The key handle is invalid. |
| PSA_ERROR_NOT_SUPPORTED | The algorithm is not supported. |