reduce openssl library size

69 Views Asked by At

Do they exist any options or flags for the config build system to reduce the static library file size (libcrypto and libssl)? I only need the AES implemention (now, the EVP functions).

I am using following flags:

./config no-shared no-asm no-shared no-dso no-engine no-stdio no-weak-ssl-ciphers \
    no-comp no-hw no-md2 no-md4 no-mdc2 no-rc5 no-rfc3779 no-whirlpool \

Sizes of the generated libraries:

libcrypto: 6274kb
libssl: 989kb  

When I build my application with these libraries (and only using EVP_CIPHER_CTX_new()), I have more than 4000kb, without, less then 200kb for the .exe. What makes the library so big?

0

There are 0 best solutions below