Re: [FWD] Build incorrect crypt/decrypt in Win32. x86. MSVC 2003. MinGW.

2009-10-21 Thread sandeep kiran p
Can someone comment on why this fails on windows? I too observed that the decryption does not result in the original plain text on windows. -Sandeep On Sun, Oct 18, 2009 at 5:58 AM, Lutz Jaenicke wrote: > Forwarded to openssl-users for public discussion. > > Best regards, >Lutz > > -

Re: Debugging OpenSSL with Visual Studio

2009-10-21 Thread sandeep kiran p
Thanks Dave. I figured out how to do this. I first built a static version of libeay32 and ssleay32 using ms\nt.mak (added /Zi and removed /Wx in CFLAGS). I then created an empty VS2005 project and added apps\req.c apps\apps.c apps\app_rand.c to the project (I had to look into req utility, similar w

Re: Generating sect163k1 key pairs

2009-10-21 Thread Jeffrey Walton
Hi Doug, You'll have to forgive my ignorance. I'm not sure why I'm having difficulties answering you. I'll try to walk you through what I observe. I'm a Windows guy, so don't hold it against me that I use 'type' instead of 'cat'. I'm also going to use F(p) rather than F(2^m) since I believe its e

RE: your mail

2009-10-21 Thread Adam Rosenstein
I'm using v1.0.0 Beta 3. My code is perl xs glue but it looks something like this: purpose= X509_PURPOSE_MIN - 1; cert_store = X509_STORE_new(); revokes= crl_stack; X509_STORE_set_flags(cert_store, 0); vpm= X509_VERIFY_PARAM_new(); X509_VERIFY_PARAM_set_flags(vpm,X

Re: your mail

2009-10-21 Thread Dr. Stephen Henson
On Wed, Oct 21, 2009, Adam Rosenstein wrote: > Hi, I'm trying to use indirect CRLs in my application. I cannot figure out > how to get the CRL signer's cert to be verified though. I keep getting "CRL > path validation error" > > I do something like this: > > cs_ctx = X509_STORE_CTX_new

[no subject]

2009-10-21 Thread Adam Rosenstein
Hi, I'm trying to use indirect CRLs in my application. I cannot figure out how to get the CRL signer's cert to be verified though. I keep getting "CRL path validation error" I do something like this: cs_ctx = X509_STORE_CTX_new(); if (!cs_ctx) { error="malloc error";

Re: Generating sect163k1 key pairs

2009-10-21 Thread Doug Bailey
- "Jeffrey Walton" wrote: > Hi Doug, > > > I am trying to figure out where the padding bits > > are applied? > > ... > > The two private keys are described in a different > > number of bytes. Since the 2nd generated private > > key is shown in 20 bytes i.e. 160 bits, is it assumed > > that t