sha256.h
Go to the documentation of this file.
66 uint8_t digest[32];
70 uint32_t w[16];
71 uint8_t buffer[64];
General definitions for cryptographic algorithms.
error_t sha256Compute(const void *data, size_t length, uint8_t *digest)
Digest a message using SHA-256.
Definition: efm32gg11_crypto_hash.c:143
void sha256FinalRaw(Sha256Context *context, uint8_t *digest)
Finish the SHA-256 message digest (no padding added)
Definition: esp32_c3_crypto_hash.c:479
void sha256Update(Sha256Context *context, const void *data, size_t length)
Update the SHA-256 context with a portion of the message being hashed.
Definition: esp32_c3_crypto_hash.c:377
void sha256ProcessBlock(Sha256Context *context)
Process message in 16-word blocks.
Definition: efm32gg11_crypto_hash.c:164
void sha256Final(Sha256Context *context, uint8_t *digest)
Finish the SHA-256 message digest.
Definition: esp32_c3_crypto_hash.c:437
void sha256Init(Sha256Context *context)
Initialize SHA-256 message digest context.
Definition: esp32_c3_crypto_hash.c:351