I need C versions of AES-128 and DES to run on an embedded SPARC processor. I'm trying to measure the electrical power of these algorithms in software and hardware. Is there a website where I could find software implementations? Currently I can compile C code with my cross-compiler so any language implementations other than C would not be useful.
I have implemented DES in hardware before. How much work would people estimate (hours/lines of code) to implement a software version?
Does anybody know how to use the aes_generic.c and des_generic.c built into the Linux kernel in the crypto directory?
You may want to see if LibTomCrypt will meet your needs