blake2s128.c
Go to the documentation of this file.
42 const uint8_t BLAKE2S128_OID[11] = {0x43, 0x06, 0x01, 0x04, 0x01, 0x8D, 0x3A, 0x0C, 0x02, 0x02, 0x04};
BLAKE2s-128 hash function.
void blake2sFinal(Blake2sContext *context, uint8_t *digest)
Finish the BLAKE2s message digest.
Definition: blake2s.c:259
void blake2s128Init(Blake2s128Context *context)
Initialize BLAKE2s-128 hash computation.
Definition: blake2s128.c:83
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
void blake2s128Update(Blake2s128Context *context, const void *data, size_t length)
Update BLAKE2s-128 hash computation.
Definition: blake2s128.c:97
void blake2s128Final(Blake2s128Context *context, uint8_t *digest)
Finish BLAKE2s-128 hash computation.
Definition: blake2s128.c:110
error_t blake2s128Compute(const void *data, size_t length, uint8_t *digest)
Digest a message using BLAKE2s-128.
Definition: blake2s128.c:71
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
error_t(* HashAlgoCompute)(const void *data, size_t length, uint8_t *digest)
Definition: crypto.h:988