blake2s160.c
Go to the documentation of this file.
42 const uint8_t BLAKE2S160_OID[11] = {0x43, 0x06, 0x01, 0x04, 0x01, 0x8D, 0x3A, 0x0C, 0x02, 0x02, 0x05};
error_t blake2s160Compute(const void *data, size_t length, uint8_t *digest)
Digest a message using BLAKE2s-160.
Definition: blake2s160.c:71
void blake2sFinal(Blake2sContext *context, uint8_t *digest)
Finish the BLAKE2s message digest.
Definition: blake2s.c:259
void blake2s160Init(Blake2s160Context *context)
Initialize BLAKE2s-160 hash computation.
Definition: blake2s160.c:83
BLAKE2s-160 hash function.
void(* HashAlgoUpdate)(void *context, const void *data, size_t length)
Definition: crypto.h:993
void blake2sUpdate(Blake2sContext *context, const void *data, size_t length)
Update the BLAKE2s context with a portion of the message being hashed.
Definition: blake2s.c:221
General definitions for cryptographic algorithms.
error_t blake2sCompute(const void *key, size_t keyLen, const void *data, size_t dataLen, uint8_t *digest, size_t digestLen)
Digest a message using BLAKE2s.
Definition: blake2s.c:98
error_t blake2sInit(Blake2sContext *context, const void *key, size_t keyLen, size_t digestLen)
Initialize BLAKE2s message digest context.
Definition: blake2s.c:154
void blake2s160Update(Blake2s160Context *context, const void *data, size_t length)
Update BLAKE2s-160 hash computation.
Definition: blake2s160.c:97
error_t(* HashAlgoCompute)(const void *data, size_t length, uint8_t *digest)
Definition: crypto.h:988
void blake2s160Final(Blake2s160Context *context, uint8_t *digest)
Finish BLAKE2s-160 hash computation.
Definition: blake2s160.c:110