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]

Reply via email to