hmac.h
1 
37 WOLFSSL_API int wc_HmacSetKey(Hmac*, int type, const byte* key, word32 keySz);
38 
73 WOLFSSL_API int wc_HmacUpdate(Hmac*, const byte*, word32);
74 
104 WOLFSSL_API int wc_HmacFinal(Hmac*, byte*);
105 
124 WOLFSSL_API int wolfSSL_GetHmacMaxSize(void);
125 
172 WOLFSSL_API 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_API int wolfSSL_GetHmacMaxSize(void)
This function returns the largest HMAC digest size available based on the configured cipher suites...
Definition: hmac.c:1147
WOLFSSL_API int wc_HmacSetKey(Hmac *, int type, const byte *key, word32 keySz)
This function initializes an Hmac object, setting its encryption type, key and HMAC length...
Definition: hmac.c:279
WOLFSSL_API 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...
Definition: hmac.c:1268
WOLFSSL_API int wc_HmacFinal(Hmac *, byte *)
This function computes the final hash of an Hmac object's message.
Definition: hmac.c:757
Definition: hmac.h:137
WOLFSSL_API int wc_HmacUpdate(Hmac *, const byte *, word32)
This function updates the message to authenticate using HMAC. It should be called after the Hmac obje...
Definition: hmac.c:654