nrfxlib API 2.8.99
Loading...
Searching...
No Matches

◆ cc3xx_hash_compute()

psa_status_t cc3xx_hash_compute ( psa_algorithm_t alg,
const uint8_t * input,
size_t input_length,
uint8_t * hash,
size_t hash_size,
size_t * hash_length )

Performs hashing of the input in a single call.

Parameters
[in]algAlgorithm to be used
[in]inputBuffer containing the input
[in]input_lengthSize in bytes of the input data
[out]hashBuffer containing the output hash
[in]hash_sizeSize in bytes of the hash buffer
[out]hash_lengthSize in bytes
Return values
PSA_SUCCESSon success. Error code from psa_status_t on failure