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

◆ cc3xx_sign_message()

psa_status_t cc3xx_sign_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,
uint8_t *  signature,
size_t  signature_size,
size_t *  signature_length 
)

Sign a message.

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
[out]signatureBuffer to hold the signature data
[in]signature_sizeSize in bytes of the signature buffer
[out]signature_lengthSize in bytes of the signature
Return values
PSA_SUCCESSon success. Error code from psa_status_t on failure