Make hmac-sha2-256 and hmac-sha2-512 work

This commit is contained in:
Matt Johnston
2013-03-21 22:55:12 +08:00
parent eaa737fecd
commit 024d268d8c
3 changed files with 15 additions and 16 deletions

View File

@@ -78,7 +78,7 @@ struct key_context_directional {
symmetric_CTR ctr;
#endif
} cipher_state;
unsigned char mackey[MAX_MAC_KEY];
unsigned char mackey[MAX_MAC_LEN];
};
struct key_context {