title: Looking for Simple C Implementation of AES-128 and DES
body: <p>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.</p>
  
  <p>I have implemented DES in hardware before. How much work would people estimate (hours/lines of code) to implement a software version?</p>
  
  <p>Does anybody know how to use the aes_generic.c and des_generic.c built into the Linux kernel in the crypto directory?</p>