Wrapper API for software SHA 256 routines.
Data Structures | |
struct | atcac_sha2_256_ctx |
Macros | |
#define | ATCA_SHA2_256_DIGEST_SIZE (32) |
Functions | |
int | atcac_sw_sha2_256 (const uint8_t *data, size_t data_size, uint8_t digest[ATCA_SHA2_256_DIGEST_SIZE]) |
single call convenience function which computes Hash of given data using SHA256 software More... | |
int | atcac_sw_sha2_256_finish (atcac_sha2_256_ctx *ctx, uint8_t digest[ATCA_SHA2_256_DIGEST_SIZE]) |
completes the final SHA256 calculation and returns the final digest/hash More... | |
int | atcac_sw_sha2_256_init (atcac_sha2_256_ctx *ctx) |
initializes the SHA256 software More... | |
int | atcac_sw_sha2_256_update (atcac_sha2_256_ctx *ctx, const uint8_t *data, size_t data_size) |
updates the running hash with the next block of data, called iteratively for the entire stream of data to be hashed using the SHA256 software More... | |