added hmac-sha-3

This commit is contained in:
John Safranek
2018-02-12 13:22:28 -08:00
parent 95ed1a88ed
commit e48eb1ded8
6 changed files with 387 additions and 10 deletions

View File

@@ -107,7 +107,7 @@ enum {
/* HMAC */
typedef struct CRYPT_HMAC_CTX {
long long holder[72]; /* big enough to hold internal, but check on init */
long long holder[98]; /* big enough to hold internal, but check on init */
} CRYPT_HMAC_CTX;
int CRYPT_HMAC_SetKey(CRYPT_HMAC_CTX*, int, const unsigned char*, unsigned int);