Re: Trying to reduce memory footprint of openSSL

2010-12-08 Thread Marcus Carey
Read the Configure file.

BN_gcd() efficiency

2010-12-08 Thread Stef Hoeben
Hi, it looks like the BN_gcd() doesn't implement the 'full-strength' Euclidean algorithm (do a - k.b in each loop) but instead a simplification (do a - b in each loop). So if the initial a and b differ by e.g. a factor 1, you'll get 1 iterations instead of 1; and also afterwards much more

RE: Private Key from Windows Cert Store

2010-12-08 Thread Fili, Tom
Ok, I look to have got it working. Using SSL_CTX_set_default_verify_paths after registering the engine worked as desired. Also SSL_CTX_use_certificate_ASN1 with cbCertEncoded and pbCertEncoded from the CERT_CONTEXT seemed to work as well. Thanks for all your help. -Original Message- Fro

Re: Private Key from Windows Cert Store

2010-12-08 Thread Harshvir Sidhu
I am using the same method, i am not able to load private key. On Fri, Dec 3, 2010 at 2:47 PM, Fili, Tom wrote: > Ok, I got it loading. Thanks. > > I'm still have an issue, which would stem from my lack of understanding > of OpenSSL. This seems to succeed in giving me the private key. > > ENGINE

Trying to reduce memory footprint of openSSL

2010-12-08 Thread RHYS TWELVES
Hey there, I am trying to get a reduced size openssl library (libraries) and it occured to me that if I was only connecting to a single web server, and I knew the encryption scheme being used by the web host, that I might be able to strip out the other encrpytion/decryption engine code from be