Tag Info

New answers tagged


AES is asymmetrical in this regard. It is down to the key schedule, which generates a sequence of round keys from an initial key. In a modern desktop environment, the round key sequence is simply generated before encryption/decryption starts, so the difference in speed is minimal. In a memory-constrained environment like a smartcard, this may not be ...


I just noticed that you take the time for encryption and sending the result over a serial line. Serial line transmission is - I guess - significantly slower than AES operations on the Arduino. Your calls to micros() should be as close to aes_encrypt() as possible, otherwise the measurement is falsified. If the size of the data sent over the serial line is ...

Top 50 recent answers are included