Re: Testing private key - public key consistency

2006-03-15 Thread Julien ALLANOS
this. Maybe verify can indeed but after reading the documentation I can't see how. Gayathri Sundar wrote: Probably you can try the openssl verify command? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Julien ALLANOS Sent: Monday, February 06, 2006 6:38

Re: Testing private key - public key consistency

2006-03-15 Thread Julien ALLANOS
Dr. Stephen Henson a écrit : On Wed, Mar 15, 2006, Julien ALLANOS wrote: int X509_verify(X509 *a, EVP_PKEY *r); No that will check to see if the certfiicate a was signed by public key r. The function: int X509_check_private_key(X509 *x, EVP_PKEY *k) is the right one. Steve. Thank

Testing private key - public key consistency

2006-03-06 Thread Julien ALLANOS
Hello, is there a quick way/function to verify that a private (EVP_PKEY) key matches a X509 certificate's public key? thanks, -- Julien ALLANOS __ OpenSSL Project http://www.openssl.org User

Re: having both release and debug version of openssl on win32?

2005-11-08 Thread Julien ALLANOS
Katie Lucas a écrit : On Mon, Nov 07, 2005 at 05:37:59PM +0100, Julien ALLANOS wrote: Julien ALLANOS a écrit : Hello, I have a Win32 application that uses OpenSSL 0.9.8a, libxml2, xmlsec, and other libraries. Thus I have to build them all using the same link configuration (/MD). However I

Re: having both release and debug version of openssl on win32?

2005-11-08 Thread Julien ALLANOS
Julien ALLANOS a écrit : actually ssleay32.dll get linked against libeay32.dll, not libeay32D.dll!! Of course I meant ssleay32D.dll. -- Julien ALLANOS __ OpenSSL Project http://www.openssl.org

having both release and debug version of openssl on win32?

2005-11-07 Thread Julien ALLANOS
time on disk. Is there a way to build libeay32D.{lib|dll}, ssleay32D.{lib|dll} and opensslD.exe, using the current win32 build process? Thanks, -- Julien ALLANOS __ OpenSSL Project http

Re: having both release and debug version of openssl on win32?

2005-11-07 Thread Julien ALLANOS
Julien ALLANOS a écrit : Hello, I have a Win32 application that uses OpenSSL 0.9.8a, libxml2, xmlsec, and other libraries. Thus I have to build them all using the same link configuration (/MD). However I want to be able to debug my application, and have both Release and Debug versions

Re: using AES encryption

2005-06-16 Thread Julien ALLANOS
Quoting Nils Larsch [EMAIL PROTECTED]: Julien ALLANOS wrote: ... Actually, I have tested the following: EVP_CIPHER_CTX_init(ctx); EVP_CipherInit_ex(ctx, EVP_aes_192_ecb(), NULL, key-data, NULL, 1); if (!EVP_CipherUpdate(ctx, ciphertext-data, (int *) ciphertext-length

Re: using AES encryption

2005-06-15 Thread Julien ALLANOS
Quoting Nils Larsch [EMAIL PROTECTED]: Julien ALLANOS wrote: Hello, I want to use AES encryption in my C application, but I am missing documentation. I only have openssl/aes.h but there isn't any manpage. Can someone points me to any how-to or source code? Thanks for you help. consider using

Re: using AES encryption

2005-06-15 Thread Julien ALLANOS
Quoting Julien ALLANOS [EMAIL PROTECTED]: Quoting Nils Larsch [EMAIL PROTECTED]: Julien ALLANOS wrote: Hello, I want to use AES encryption in my C application, but I am missing documentation. I only have openssl/aes.h but there isn't any manpage. Can someone points me to any how-to or source

Generating HMAC keys

2005-06-09 Thread Julien ALLANOS
Hello, I'm new to OpenSSL, and I want to generate a key to use with HMAC(). What function can I use to generate such a key, and how many bytes must it be? Can I also store the key to a file and are there functions to store and retrieve the fey from a file? Thanks for your help. -- Julien ALLANOS