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

Speed up KeccakCore by unrolling into AVR assembly

This commit is contained in:
Rhys Weatherley
2016-01-13 19:50:59 +10:00
parent 25e9f6f3d4
commit 0b56598294
5 changed files with 2162 additions and 8 deletions

View File

@@ -263,7 +263,6 @@ void testHMAC(Hash *hash, size_t keyLen)
Serial.println("Failed");
}
/*
void perfFinalize(Hash *hash)
{
unsigned long start;
@@ -285,7 +284,6 @@ void perfFinalize(Hash *hash)
Serial.print((1000.0 * 1000000.0) / elapsed);
Serial.println(" ops per second");
}
*/
void setup()
{
@@ -314,7 +312,7 @@ void setup()
Serial.println("Performance Tests:");
perfHash(&sha3_512);
//perfFinalize(&sha3_512);
perfFinalize(&sha3_512);
}
void loop()