My Project
blake2.h
Go to the documentation of this file.
1 
22 int wc_InitBlake2b(Blake2b* b2b, word32 digestSz);
23 
57 int wc_Blake2bUpdate(Blake2b* b2b, const byte* data, word32 sz);
58 
95 int wc_Blake2bFinal(Blake2b* b2b, byte* final, word32 requestSz);
wc_InitBlake2b
int wc_InitBlake2b(Blake2b *b2b, word32 digestSz)
This function initializes a Blake2b structure for use with the Blake2 hash function.
wc_Blake2bFinal
int wc_Blake2bFinal(Blake2b *b2b, byte *final, word32 requestSz)
This function computes the Blake2b hash of the previously supplied input data. The output hash will b...
wc_Blake2bUpdate
int wc_Blake2bUpdate(Blake2b *b2b, const byte *data, word32 sz)
This function updates the Blake2b hash with the given input data. This function should be called afte...