nrfxlib API 0.1.0
Loading...
Searching...
No Matches
nrf_cc310_bl_hash_sha256.h File Reference
#include <stdint.h>
#include "nrf_cc310_bl_hash_common.h"
#include "crys_error.h"

Go to the source code of this file.

Data Structures

struct  nrf_cc310_bl_hash_context_sha256_t
 Structure to hold SHA-256 context information. More...
 

Typedefs

typedef uint8_t nrf_cc310_bl_hash_digest_sha256_t[(32)]
 Array to hold SHA-256 hash digest.
 

Functions

CRYSError_t nrf_cc310_bl_hash_sha256_init (nrf_cc310_bl_hash_context_sha256_t *const p_hash_context)
 Function for initializing the SHA-256 context.
 
CRYSError_t nrf_cc310_bl_hash_sha256_update (nrf_cc310_bl_hash_context_sha256_t *const p_hash_context, uint8_t const *p_src, uint32_t len)
 Function for running an update to the SHA-256 hash calculation.
 
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)
 Function for finalizing the hash calculation.