hmac.h
Go to the documentation of this file.
1 
35 int wc_HmacSetKey(Hmac* hmac, int type, const byte* key, word32 keySz);
36 
71 int wc_HmacUpdate(Hmac* hmac, const byte* in, word32 sz);
72 
102 int wc_HmacFinal(Hmac* hmac, byte* out);
103 
122 int wolfSSL_GetHmacMaxSize(void);
123 
169 int wc_HKDF(int type, const byte* inKey, word32 inKeySz,
170  const byte* salt, word32 saltSz,
171  const byte* info, word32 infoSz,
172  byte* out, word32 outSz);
int wc_HmacUpdate(Hmac *hmac, const byte *in, word32 sz)
This function updates the message to authenticate using HMAC. It should be called after the Hmac obje...
int wolfSSL_GetHmacMaxSize(void)
This function returns the largest HMAC digest size available based on the configured cipher suites...
int wc_HKDF(int type, const byte *inKey, word32 inKeySz, const byte *salt, word32 saltSz, const byte *info, word32 infoSz, byte *out, word32 outSz)
This function provides access to a HMAC Key Derivation Function (HKDF). It utilizes HMAC to convert i...
int wc_HmacSetKey(Hmac *hmac, int type, const byte *key, word32 keySz)
This function initializes an Hmac object, setting its encryption type, key and HMAC length...
int wc_HmacFinal(Hmac *hmac, byte *out)
This function computes the final hash of an Hmac object's message.