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

◆ nrf_cc310_bl_hash_sha256_init()

CRYSError_t nrf_cc310_bl_hash_sha256_init ( nrf_cc310_bl_hash_context_sha256_t *const p_hash_context)

#include <crypto/nrf_cc310_bl/include/nrf_cc310_bl_hash_sha256.h>

Function for initializing the SHA-256 context.

Note
Memory pointed to in hash context must be allocated prior to this call.
Parameters
[in,out]p_hash_contextStructure holding context information for the SHA-256 operation.
Return values
CRYS_OKIf call was successful.
CRYS_HASH_INVALID_USER_CONTEXT_POINTER_ERRORp_hash_context was NULL.