add CyaSSL_GetHmacMaxSize for JNI wrapper
This commit is contained in:
parent
17b220e9c7
commit
3e12f43342
@ -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" */
|
||||
|
Loading…
Reference in New Issue
Block a user