Wrapper API for SHA 1 routines.
Data Structures | |
struct | atcac_sha1_ctx |
Macros | |
#define | ATCA_SHA1_DIGEST_SIZE (20) |
Functions | |
int | atcac_sw_sha1 (const uint8_t *data, size_t data_size, uint8_t digest[ATCA_SHA1_DIGEST_SIZE]) |
Perform SHA1 hash of data in software. More... | |
int | atcac_sw_sha1_finish (atcac_sha1_ctx *ctx, uint8_t digest[ATCA_SHA1_DIGEST_SIZE]) |
Complete the SHA1 hash in software and return the digest. More... | |
int | atcac_sw_sha1_init (atcac_sha1_ctx *ctx) |
Initialize context for performing SHA1 hash in software. More... | |
int | atcac_sw_sha1_update (atcac_sha1_ctx *ctx, const uint8_t *data, size_t data_size) |
Add arbitrary data to a SHA1 hash. More... | |