Include extra 0 in the key used for the hmacsha512 test

This commit is contained in:
Frank Denis
2014-09-16 15:25:38 -07:00
parent fe4bbdc5ca
commit 6837c2d2c2
2 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ unsigned char key[32] = "Jefe";
unsigned char c[] = "what do ya want for nothing?";
/* Hacker manifesto */
unsigned char key2[175] = "Another one got caught today, it's all over the papers. \"Teenager Arrested in Computer Crime Scandal\", \"Hacker Arrested after Bank Tampering\"... Damn kids. They're all alike.";
unsigned char key2[] = "Another one got caught today, it's all over the papers. \"Teenager Arrested in Computer Crime Scandal\", \"Hacker Arrested after Bank Tampering\"... Damn kids. They're all alike.";
unsigned char a[crypto_auth_BYTES];
unsigned char a2[crypto_auth_hmacsha512_BYTES];