|
| 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.
|
| |
| 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 object has been initialized with wc_HmacSetKey. This function may be called multiple times to update the message to hash. After calling wc_HmacUpdate as desired, one should call wc_HmacFinal to obtain the final authenticated message tag.
|
| |
| WOLFSSL_API int | wc_HmacFinal (Hmac *, byte *) |
| | This function computes the final hash of an Hmac object's message.
|
| |
|
WOLFSSL_API int | wc_HmacSizeByType (int type) |
| |
|
WOLFSSL_API int | wc_HmacInit (Hmac *hmac, void *heap, int devId) |
| |
|
WOLFSSL_API int | wc_HmacInit_Id (Hmac *hmac, byte *id, int len, void *heap, int devId) |
| |
|
WOLFSSL_API void | wc_HmacFree (Hmac *) |
| |
| WOLFSSL_API int | wolfSSL_GetHmacMaxSize (void) |
| | This function returns the largest HMAC digest size available based on the configured cipher suites.
|
| |
|
WOLFSSL_LOCAL int | _InitHmac (Hmac *hmac, int type, void *heap) |
| |
|
WOLFSSL_API int | wc_HKDF_Extract (int type, const byte *salt, word32 saltSz, const byte *inKey, word32 inKeySz, byte *out) |
| |
|
WOLFSSL_API int | wc_HKDF_Expand (int type, const byte *inKey, word32 inKeySz, const byte *info, word32 infoSz, byte *out, word32 outSz) |
| |
| 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 inKey, with an optional salt and optional info into a derived key, which it stores in out. The hash type defaults to MD5 if 0 or NULL is given.
|
| |