This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DES, MD5 and SHA1 code size

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

The code size seems to be quite large. What code size can be expected from an optimized implementation of these common algorithms?

Thank you for any comment,
Christian

Parents Reply Children
No data