nrfxlib API 2.7.99
Loading...
Searching...
No Matches

◆ cc3xx_verify_message()

psa_status_t cc3xx_verify_message ( const psa_key_attributes_t *  attributes,
const uint8_t *  key,
size_t  key_length,
psa_algorithm_t  alg,
const uint8_t *  input,
size_t  input_length,
const uint8_t *  signature,
size_t  signature_length 
)

Verify a message signature.

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]inputData to sign buffer
[in]input_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