|
Contiki 3.x
|
Implementation of the cc2538 SHA-256 driver. More...
#include "contiki.h"#include "sys/cc.h"#include "dev/rom-util.h"#include "dev/aes.h"#include "dev/sha256.h"#include "reg.h"#include <stdbool.h>#include <stdint.h>Go to the source code of this file.
Functions | |
| static uint8_t | new_hash (sha256_state_t *state, const void *data, void *hash) |
| Starts a new hash session in hardware. More... | |
| static uint8_t | resume_hash (sha256_state_t *state, const void *data, void *hash) |
| Resumes an already started hash session in hardware. More... | |
| uint8_t | sha256_init (sha256_state_t *state) |
| Initializes the hash state. More... | |
| uint8_t | sha256_process (sha256_state_t *state, const void *data, uint32_t len) |
| Processes a block of memory through the hash. More... | |
| uint8_t | sha256_done (sha256_state_t *state, void *hash) |
| Terminates hash session to get the digest. More... | |
Implementation of the cc2538 SHA-256 driver.
Definition in file sha256.c.
1.8.6