Re: OpenSSL v1.1.1 static library size reduction

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 21/12/2018 06:12, prithiraj das wrote:
> I am using OpenSSL 1.1.1 from OpenSSL's website and trying to build OpenSSL on a
> Windows 64 bit machine using Perl 64 bit version and nasm v2.13.03. I have used
> the *no-shared* option in the Perl Configure to only build the static library
> and the resulting size of the *libcrypto.lib* file is almost 19 MB. The *.exe*
> file generated is 3173 KB. RSA functionality (keypair generation, encryption,
> decryption) is what we all need and as per the need, the goal is to
> reduce *libcrypto.lib *to less than 3 MB. Using the generated .exe file is not
> an option.
> Please suggest ways to reduce the libcrypto.lib size to less than 3 MB on this
> 64 bit machine keeping only RSA functionality.
>  And, is it possible by any chance that the size of libcrypto.lib will be
> smaller if OpenSSL is being built on a Windows 32 bit machine using a Windows 32
> bit configuration option VC-WIN32?

You can try adding "-DOPENSSL_SMALL_FOOTPRINT" onto the end of your Configure
line. You might also want to experiment with the various "no-*" options
described in the INSTALL file.

Matt

-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux