1
0
mirror of https://github.com/taigrr/arduinolibs synced 2025-01-18 04:33:12 -08:00

Update state sizes to include the entire class size

This commit is contained in:
Rhys Weatherley
2015-03-31 12:06:31 +10:00
parent 3ae1abe53e
commit 35064ebfe9
11 changed files with 58 additions and 13 deletions

View File

@@ -145,6 +145,15 @@ void setup()
Serial.println();
Serial.println("State Sizes:");
Serial.print("AES128 ... ");
Serial.println(sizeof(AES128));
Serial.print("AES192 ... ");
Serial.println(sizeof(AES192));
Serial.print("AES256 ... ");
Serial.println(sizeof(AES256));
Serial.println();
Serial.println("Test Vectors:");
testCipher(&aes128, &testVectorAES128);
testCipher(&aes192, &testVectorAES192);