nrfxlib API 2.8.99
|
psa_status_t cc3xx_verify_hash | ( | const psa_key_attributes_t * | attributes, |
const uint8_t * | key, | ||
size_t | key_length, | ||
psa_algorithm_t | alg, | ||
const uint8_t * | hash, | ||
size_t | hash_length, | ||
const uint8_t * | signature, | ||
size_t | signature_length ) |
Verify a message signature on a hash.
[in] | attributes | Attributes of the key to use |
[in] | key | Key material buffer |
[in] | key_length | Size in bytes of the key |
[in] | alg | Algorithm to use |
[in] | hash | Hash to sign buffer |
[in] | hash_length | Size in bytes of the data to sign |
[in] | signature | Signature to verify |
[in] | signature_length | Size in bytes of the signature |
PSA_SUCCESS | on success. Error code from psa_status_t on failure |