> 16412 des_read_password
> 16412 des_read_2passwords
> 8192 des_read_pw_string
These three are large because of arrays that are absurdly long; 8k to read
in a password!

> 8204 probable_prime
This one can be reduced by 4k by using an array of 16-bit ints instead of
32-bit ints.

> 10284 BIO_vprintf
Don't know about this one.

====================
Greg Stark
[EMAIL PROTECTED]
====================


----- Original Message -----
From: "David Schwartz" <[EMAIL PROTECTED]>
To: "Openssl-Dev@Openssl. Org" <[EMAIL PROTECTED]>
Sent: Thursday, August 16, 2001 5:33 AM
Subject: Stack Usage


>
> The following functions in OpenSSL have a stack usage of over 8Kb (at
> least, under my test conditions). Ideally, these should be reduced as
> excessive stack consumption can cause problems, especially for
multithreaded
> programs.
>
> 16412 des_read_password
> 16412 des_read_2passwords
> 10284 BIO_vprintf
> 8204 probable_prime
> 8192 des_read_pw_string
> 5356 PEM_ASN1_write_bio
> 5308 PEM_do_header
> 5276 PEM_X509_INFO_write_bio
> 4780 i2d_RSA_NET
> 4764 d2i_RSA_NET_2
> 4380 PKCS5_pbe2_set
> 4268 PKCS12_i2d_encrypt
> 4268 PKCS12_decrypt_d2i
> 4252 PKCS12_pbe_crypt
> 4236 PKCS7_verify
> 4124 SMIME_text
> 4108 PKCS7_decrypt
>
> At minimum, the ones at 8Kb or above should be fixed.
>
> DS
>
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> Development Mailing List                       [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]
>

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to