AES

This forum is for posts that might be considered off-topic but that may be useful or interesting to members. Examples include posts about electronics or programming in general, other microcontrollers or interesting devices, useful websites, etc.
Post Reply
stevech
Posts: 715
Joined: 22 February 2006, 20:56 PM

AES

Post 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.
mikep
Posts: 796
Joined: 24 September 2005, 15:54 PM

Re: AES

Post 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.
Mike Perks
stevech
Posts: 715
Joined: 22 February 2006, 20:56 PM

Post 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
#
Post Reply