We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello, we made a straight forward port of the DES, MD5 and SHA1 algorithms from OpenSSL library (http://www.openssl.org) without optimizing the source code. The following code size is indicated in the .map when compiling using the default compiler settings of C166 v4.27 for a C167CS MCU (Hlarge memory model):
Module Code ROM RAM ============================= DES 25'246 4'631 162 MD5 20'738 16 4 SHA1 39'726 20 4
You can find a compact version of DES here: http://www.bds.dogma.net/des_page.htm In general, it should be possible to implement DES quite efficiently on an 8-bit processor. If you are interested in my version of MD5, please e-mail g r a h a m . c o l e @ b t . c o m