sha1.c
SHA-1 (Secure Hash Algorithm 1)
void(* HashAlgoUpdate)(void *context, const void *data, size_t length)
Definition: crypto.h:993
__weak_func void sha1Update(Sha1Context *context, const void *data, size_t length)
Update the SHA-1 context with a portion of the message being hashed.
Definition: sha1.c:177
__weak_func void sha1ProcessBlock(Sha1Context *context)
Process message in 16-word blocks.
Definition: sha1.c:291
General definitions for cryptographic algorithms.
__weak_func error_t sha1Compute(const void *data, size_t length, uint8_t *digest)
Digest a message using SHA-1.
Definition: sha1.c:109
__weak_func void sha1FinalRaw(Sha1Context *context, uint8_t *digest)
Finish the SHA-1 message digest (no padding added)
Definition: sha1.c:265
__weak_func void sha1Final(Sha1Context *context, uint8_t *digest)
Finish the SHA-1 message digest.
Definition: sha1.c:216
error_t(* HashAlgoCompute)(const void *data, size_t length, uint8_t *digest)
Definition: crypto.h:988
__weak_func void sha1Init(Sha1Context *context)
Initialize SHA-1 message digest context.
Definition: sha1.c:154