On Fri, Jan 07, 2005, Perry L. Jones wrote: > I have some code that is useing PKCS7_verify and SMIME_write_PKCS7 and > on large files these functions are noticable slow. I have looked > through the openssl code and see that these function are only reading > and writing from arrays that are only 4096 bytes in size. I need to > speed up these function and would like to know if I can just incress > this buffer size of if theres is some other trick to making them faster? > > I am currently using openssl version 0.9.7d >
I've noticed that using detached content with a memory BIO and PKCS7_verify (this will occur with cleartext signed data) has a number of inefficiencies which can be resolved fairly easily. I've committed a fix which will appear in the next snapshots. Steve. -- Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage OpenSSL project core developer and freelance consultant. Funding needed! Details on homepage. Homepage: http://www.drh-consultancy.demon.co.uk ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]