I want to contribute my AES assembler code to the project forum. First I thought I should release it here for more extensive testing. It does not have a slick configuration interface (you have to set equates). However, its documented and someone may find it useful. Its free and I would appreciate any feedback/testing before moving it into the project forum.
It is just the basic block routines (ECB style). It is not a full boot loader, so treat it like an AES library. It is developed on the AT90CAN128 and will require porting for other chips (the ATmega128 may not be any problem at all). There are comments about this in the code.
So far it has passed the Advanced Encryption Standard FIPS PUB 197 document published tests for 128, 192 and 256 bit key schedule expansion and the 128 bit encryption test. It has some rough edges, but if I waited for it to be perfect it would never be released :wink:.
I found a problem already. I accidentally placed exe_spm in the non-FLASH key schedule expander code. I fixed the directive.
BTW, it appears you have to login to see the attached program zip file.