4 #include "twr_common.h"
40 void twr_sha256_final(twr_sha256_t *
self, uint8_t *hash,
bool little_endian);
void twr_sha256_update(twr_sha256_t *self, const void *buffer, size_t length)
Compute SHA256 from data.
void twr_sha256_final(twr_sha256_t *self, uint8_t *hash, bool little_endian)
Finalize SHA256 computation and read the final hash.
void twr_sha256_init(twr_sha256_t *self)
Initialize SHA256 structure.