Adding standalone RSA code

Mark Murray markm at FreeBSD.ORG
Fri Dec 10 00:20:16 PST 2004


Colin Percival writes:
> I was comparing /usr/lib/libcrypto.a (1.7 MB on my system) to the sum
> of the sizes of the object files built from my library code (38 kB).
> 
> If you look at the number of lines of C files (counted using `wc -l`
> since I don't want to bother installing sloccount), my code is 1489
> lines compared to openssl's 202982 lines.

Do you have a version of your code linked against OpenSSL? What is the 
size difference between a static link of your code vs a static link 
against OpenSSL?

M
--
Mark Murray
iumop ap!sdn w,I idlaH




More information about the freebsd-arch mailing list