Re: [openssl.org #2641] Move the libraries needed for static linking to Libs.private

2011-11-30 Thread Mike Frysinger
On Tuesday 22 November 2011 17:49:50 Tomas Mraz via RT wrote: > The attached patch changes the generated pkgconfig files so the > libraries needed for static linking are in Libs.private instead of Libs. ah, this is better than the current state, but i ended up posting a patch earlier today that g

Blocksize improvement for e_aes.c

2011-11-30 Thread Dan Anderson
In file openssl/crypto/evp/e_aes.c (for AESNI), the blocksize for CFB and CTR modes is set to 1, as opposed to CBC and ECB which uses 16 bytes: BLOCK_CIPHER_generic(nid,keylen,16,16,cbc,cbc,CBC,flags|EVP_CIPH_FLAG_DEFAULT_ASN1) \ BLOCK_CIPHER_generic(nid,keylen,16,0,ecb,ecb,ECB,fla

RE: memory leak in engine cleanup

2011-11-30 Thread Erik Tkal
Never mind, a little more experimentation answered my question. I was unloading the engine after calling CRYPTO_cleanup_all_ex_data, so the engine unload must leave some global ex stuff that is handled later. Erik Tkal Juniper OAC/UAC/Pulse Development Fro

memory leak in engine cleanup

2011-11-30 Thread Erik Tkal
I have an engine implementation that overrides some basic functionality (RAND, RSA, DSA). However, after calling ENGINE_Cleanup() I notice I have memory leak. The stack has ENGINE_Cleanup() calling up to the following: CRYPTO_free_ex_data(CRYPTO_EX_INDEX_ENGINE, e, &e->ex_data); which then e

Re: Problem with EVP_EncryptUpdate/EVP_DecryptUpdate

2011-11-30 Thread Jussi Peltonen
Thanks, I'll try that. I'm using example source code from this http://tldp.org/LDP/LGNET/87/vinayak.html site and thought it is okay. 2011/11/30 Francesco Petruzzi : > EVP_EncryptFinal  and EVP_DecryptFinal must be used only one time after the > last update. > > > > -Messaggio originale-

R: Problem with EVP_EncryptUpdate/EVP_DecryptUpdate

2011-11-30 Thread Francesco Petruzzi
EVP_EncryptFinal and EVP_DecryptFinal must be used only one time after the last update. -Messaggio originale- Da: owner-openssl-...@openssl.org [mailto:owner-openssl-...@openssl.org] Per conto di Ladar Levison Inviato: mercoledì 30 novembre 2011 08:33 A: openssl-dev@openssl.org Cc: Juss