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

◆ cc3xx_hash_finish()

psa_status_t cc3xx_hash_finish ( cc3xx_hash_operation_t operation,
uint8_t *  hash,
size_t  hash_size,
size_t *  hash_length 
)

Finish an hash operation and produce the hash output.

Parameters
[in]operationPointer to the operation object
[out]hashBuffer containing the output hash
[in]hash_sizeSize in bytes of the hash buffer
[out]hash_lengthSize of the produced hash in bytes
Return values
PSA_SUCCESSon success. Error code from psa_status_t on failure