Page 1 of 1
AES
Posted: 28 September 2007, 18:38 PM
by stevech
I've come across some assembly language implementations of AES (128) block coded encryption/decryption for small micros. Wondering what folks here may know of. Interest is what modest speed one can expect.
Re: AES
Posted: 28 September 2007, 18:51 PM
by mikep
stevech wrote:I've come across some assembly language implementations of AES (128) block coded encryption/decryption for small micros. Wondering what folks here may know of. Interest is what modest speed one can expect.
In general AES is a fast algorithm and gives very good security especially for AES256. I assume you have already seen the AVR231 application note. This code is quite fast.
Posted: 28 September 2007, 22:20 PM
by stevech
Thanks - yes on the Atmel app note. But it, nor the other code I've found, suggests bytes/sec for encryption, either block or streaming, sans other work like bootloader or serial I/O.
I'm just looking for rough approximation. Probably AES128 since the block sizes are smaller and the data I'm interested in is small sized.
The asm code for encrypt and decrypt uses lookup tables to avoid looping. Perhaps I'll try to get that running and do timing tests. That exemplary code is on avrfreaks.net
Rijndael / Advanced Encryption Standard (AES) Toolkit for AVR 8 bit microprocessors.
##################################
# Author: Michael Blenderman
# Version: 1.1
# Date: 5/1/2006
#