![]() |
nrfxlib API 3.4.99
|
| CRYSError_t nrf_cc310_bl_hash_sha256_finalize | ( | nrf_cc310_bl_hash_context_sha256_t *const | p_hash_context, |
| nrf_cc310_bl_hash_digest_sha256_t *const | p_digest ) |
#include <nrf_cc310_bl_hash_sha256.h>
Function for finalizing the hash calculation.
| [in,out] | p_hash_context | Structure holding context information for the SHA-256 operation. |
| [in,out] | p_digest | Pointer to the structure holding SHA-256 hash digest. Data pointed to must be 32 bytes long. |
| CRYS_HASH_INVALID_USER_CONTEXT_POINTER_ERROR | p_hash_context was NULL. |
| CRYS_HASH_USER_CONTEXT_CORRUPTED_ERROR | p_hash_context was corrupted. |
| CRYS_HASH_INVALID_RESULT_BUFFER_POINTER_ERROR | p_digest was NULL. |