#include <crypto/nrf_cc310_bl/include/nrf_cc310_bl_hash_sha256.h>
Function for running an update to the SHA-256 hash calculation.
- Parameters
-
| [in,out] | p_hash_context | Structure holding context information for the SHA-256 operation. |
| [in] | p_src | Input data to be added to the digest. |
| [in] | len | Amount of data passed in p_src. |
- Return values
-
| CRYS_OK | If call was successful. |
| CRYS_HASH_INVALID_USER_CONTEXT_POINTER_ERROR | p_hash_context was NULL. |
| CRYS_HASH_USER_CONTEXT_CORRUPTED_ERROR | p_hash_context not initialized. |
| CRYS_HASH_LAST_BLOCK_ALREADY_PROCESSED_ERROR | p_hash_context already finalized. |