86 uint8_t
sha256_process(sha256_state_t *state,
const void *data, uint32_t len);
94 uint8_t
sha256_done(sha256_state_t *state,
void *hash);
Header file for the cc2538 AES/SHA cryptoprocessor driver.
uint8_t sha256_init(sha256_state_t *state)
Initializes the hash state.
uint8_t sha256_process(sha256_state_t *state, const void *data, uint32_t len)
Processes a block of memory through the hash.
uint8_t sha256_done(sha256_state_t *state, void *hash)
Terminates hash session to get the digest.