My Project
Functions
siphash.h File Reference

Go to the source code of this file.

Functions

int wc_InitSipHash (SipHash *siphash, const unsigned char *key, unsigned char outSz)
 This function initializes SipHash with a key for a MAC size. More...
 
int wc_SipHashUpdate (SipHash *siphash, const unsigned char *in, word32 inSz)
 Can be called to continually hash the provided byte array of length len. More...
 
int wc_SipHashFinal (SipHash *siphash, unsigned char *out, unsigned char outSz)
 Finalizes MACing of data. Result is placed into out. More...
 
int wc_SipHash (const unsigned char *key, const unsigned char *in, word32 inSz, unsigned char *out, unsigned char outSz)
 This function one-shots the data using SipHash to calculate a MAC based on the key. More...