add CyaSSL_GetHmacMaxSize for JNI wrapper

This commit is contained in:
Chris Conlon 2013-09-25 14:20:36 -06:00
parent 17b220e9c7
commit 3e12f43342
2 changed files with 6 additions and 0 deletions

View File

@ -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 */

View File

@ -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" */