My Project
hmac.h
Go to the documentation of this file.
1 
37 int wc_HmacSetKey(Hmac* hmac, int type, const byte* key, word32 keySz);
38 
73 int wc_HmacUpdate(Hmac* hmac, const byte* in, word32 sz);
74 
104 int wc_HmacFinal(Hmac* hmac, byte* out);
105 
124 int wolfSSL_GetHmacMaxSize(void);
125 
172 int wc_HKDF(int type, const byte* inKey, word32 inKeySz,
173  const byte* salt, word32 saltSz,
174  const byte* info, word32 infoSz,
175  byte* out, word32 outSz);
wolfSSL_GetHmacMaxSize
int wolfSSL_GetHmacMaxSize(void)
This function returns the largest HMAC digest size available based on the configured cipher suites.
wc_HmacSetKey
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.
wc_HmacUpdate
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...
wc_HmacFinal
int wc_HmacFinal(Hmac *hmac, byte *out)
This function computes the final hash of an Hmac object's message.
wc_HKDF
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...