sha1.h
Go to the documentation of this file.
66 uint8_t digest[20];
70 uint32_t w[16];
71 uint8_t buffer[64];
General definitions for cryptographic algorithms.
void sha1ProcessBlock(Sha1Context *context)
Process message in 16-word blocks.
Definition: apm32f4xx_crypto_hash.c:290
void sha1Final(Sha1Context *context, uint8_t *digest)
Finish the SHA-1 message digest.
Definition: esp32_c3_crypto_hash.c:269
void sha1Update(Sha1Context *context, const void *data, size_t length)
Update the SHA-1 context with a portion of the message being hashed.
Definition: apm32f4xx_crypto_hash.c:230
void sha1Init(Sha1Context *context)
Initialize SHA-1 message digest context.
Definition: esp32_c3_crypto_hash.c:186
error_t sha1Compute(const void *data, size_t length, uint8_t *digest)
Digest a message using SHA-1.
Definition: efm32gg11_crypto_hash.c:55
void sha1FinalRaw(Sha1Context *context, uint8_t *digest)
Finish the SHA-1 message digest (no padding added)
Definition: esp32_c3_crypto_hash.c:311