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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user