nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ cc3xx_verify_hash()

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.

Parameters
[in]attributesAttributes of the key to use
[in]keyKey material buffer
[in]key_lengthSize in bytes of the key
[in]algAlgorithm to use
[in]hashHash to sign buffer
[in]hash_lengthSize in bytes of the data to sign
[in]signatureSignature to verify
[in]signature_lengthSize in bytes of the signature
Return values
PSA_SUCCESSon success. Error code from psa_status_t on failure