---------------------------- Original Message ----------------------------
Subject: Re: Reducing size of the OpenSSL library
From:    "Gayathri Sundar" <[EMAIL PROTECTED]>
Date:    Fri, June 24, 2005 12:05 am
To:      [EMAIL PROTECTED]
--------------------------------------------------------------------------

Hi.

could you pls tell how the ssl performance is affected by including the Os
flag? looks like quite a few of the optimizations are disabled here.

thanks
-Gayathri

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of J. Wren Hunt
Sent: Thursday, June 23, 2005 11:47 PM
To: openssl-users@openssl.org
Subject: Re: Reducing size of the OpenSSL library



On Thu, 23 Jun 2005 11:11:18 -0700 (PDT), "Krishna M Singh"
<[EMAIL PROTECTED]> said:
> Hi All
>
> I was trying to reduce the size of the openSsl library due to memory
constraints on our platform.
> I tried to remove three patented ciphers idea, rc5 and mdc2. Any ideas
what more can be done to
> reduce the final size of the library?.
>

If you're not already using this switch you might give it a try:

-Os
    Optimize for size. -Os enables all -O2 optimizations that do not
typically increase code size. It also performs further optimizations
designed to reduce code size.

    -Os disables the following optimization flags:

          -falign-functions  -falign-jumps  -falign-loops
          -falign-labels  -freorder-blocks -fprefetch-loop-arrays

Wren



______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to