blake2b256.c
Go to the documentation of this file.
42 const uint8_t BLAKE2B256_OID[11] = {0x43, 0x06, 0x01, 0x04, 0x01, 0x8D, 0x3A, 0x0C, 0x02, 0x01, 0x08};
void blake2b256Final(Blake2b256Context *context, uint8_t *digest)
Finish BLAKE2b-256 hash computation.
Definition: blake2b256.c:110
error_t blake2bInit(Blake2bContext *context, const void *key, size_t keyLen, size_t digestLen)
Initialize BLAKE2b message digest context.
Definition: blake2b.c:156
error_t blake2bCompute(const void *key, size_t keyLen, const void *data, size_t dataLen, uint8_t *digest, size_t digestLen)
Digest a message using BLAKE2b.
Definition: blake2b.c:100
void blake2b256Update(Blake2b256Context *context, const void *data, size_t length)
Update BLAKE2b-256 hash computation.
Definition: blake2b256.c:97
void(* HashAlgoUpdate)(void *context, const void *data, size_t length)
Definition: crypto.h:993
BLAKE2b-256 hash function.
void blake2b256Init(Blake2b256Context *context)
Initialize BLAKE2b-256 hash computation.
Definition: blake2b256.c:83
General definitions for cryptographic algorithms.
void blake2bFinal(Blake2bContext *context, uint8_t *digest)
Finish the BLAKE2b message digest.
Definition: blake2b.c:261
void blake2bUpdate(Blake2bContext *context, const void *data, size_t length)
Update the BLAKE2b context with a portion of the message being hashed.
Definition: blake2b.c:223
error_t(* HashAlgoCompute)(const void *data, size_t length, uint8_t *digest)
Definition: crypto.h:988
error_t blake2b256Compute(const void *data, size_t length, uint8_t *digest)
Digest a message using BLAKE2b-256.
Definition: blake2b256.c:71