mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 19:24:42 +02:00
add CyaSSL_GetHmacMaxSize for JNI wrapper
This commit is contained in:
@@ -487,5 +487,10 @@ static void HmacCaviumSetKey(Hmac* hmac, int type, const byte* key,
|
||||
|
||||
#endif /* HAVE_CAVIUM */
|
||||
|
||||
int CyaSSL_GetHmacMaxSize(void)
|
||||
{
|
||||
return MAX_DIGEST_SIZE;
|
||||
}
|
||||
|
||||
#endif /* NO_HMAC */
|
||||
|
||||
|
@@ -147,6 +147,7 @@ CYASSL_API void HmacFinal(Hmac*, byte*);
|
||||
CYASSL_API void HmacFreeCavium(Hmac*);
|
||||
#endif
|
||||
|
||||
CYASSL_API int CyaSSL_GetHmacMaxSize(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
|
Reference in New Issue
Block a user