RE: PKCS1 block type error

2000-11-07 Thread Corinne Dive-Reclus
PKCS#1 has got a block trype to identify what type of operation can be performed on this padded data. For instance if you want to wrap a key to send it to another one, you will use a pKCS1 padding with a block type 2 and encrypt it with the public key of the destination. A crypto provider should

Re: What should be freed when looping?

2000-11-07 Thread Lutz Jaenicke
On Tue, Nov 07, 2000 at 08:55:24AM +0100, Ruud Rietveld wrote: An SSL object can also be reused, you should however make sure to call SSL_clear() on it before reuse. I cannot give you numbers on the performance impact of SSL_new() or SSL_CTX_new(), respectively. Both functions do however

RE: Get a private key from a pkcs12 file

2000-11-07 Thread David VERGIN
unfortunatelly not. I just have to get it out from a PKCS12 file to load it into some hardware. I hven't been able to get the crypto library to work right. I didn't find how to do it with baltimore tools. David Vergin - EPITA promo 2002 -Message d'origine- De : Matt Walsh [mailto:[EMAIL

WTLS and RSA.

2000-11-07 Thread Olli Aro
Hi, I noticed that some of you have implemented WTLS with RSA by using 3ui's WTLS patch for Kannel. I am complete beginner with OpenSSL and would be very grateful if someone could kindly provide me with tips/source code? Regards, Olli Aro P.S. C examples about usage of RSA and RC5 would be

Re: SSL Session caching

2000-11-07 Thread Lutz Jaenicke
On Mon, Nov 06, 2000 at 02:39:15PM -0800, Brian Koref wrote: Was wondering if anyone had documentation on how to configure session caching and /or SSL Batching. I've seen reference to a session.doc, but have been unable to find it. Thanks There is some documentation in the openssl source

SUN Ultra 1 - RH 6.2 - egcs compile problem

2000-11-07 Thread Björn Thunell
Hi, I'm having some problems compiling the OpenSSL 0.9.6 tarball on my SUN Ultra 1 running RedHat 6.2. I'm using egcs 2.91.66 as compile tool, and ./Configure seemed more flexible. To my question: What do they mean in the OpenSSL FAQ by "If you used ./Configure instead of ./config, make sure

Re: HELP !

2000-11-07 Thread ukoeppe
Well, just read the http://www.openssl.org/support/faq.html and look for Why do I get a "PRNG not seeded" error message? It can't be that bad. Uli From: Zandi Patrick S TSgt AFRL/IFOSS [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 06, 2000 7:40 PM Subject: RE: HELP ! I am

Re: Get a private key from a pkcs12 file

2000-11-07 Thread Dr S N Henson
David VERGIN wrote: unfortunatelly not. I just have to get it out from a PKCS12 file to load it into some hardware. I hven't been able to get the crypto library to work right. I didn't find how to do it with baltimore tools. Using the openssl tool: openssl pkcs12 -in file.p12 -out

RE: Get a private key from a pkcs12 file

2000-11-07 Thread Peter Sylvester
maybe you can get some inspiration from the following code. The code is not memory leak free. typedef struct TIAX_st { PKCS12 * p12 ; EVP_PKEY * pkey ; ... } TIAX ; int TIAX_login(TIAX * a,char * pass, int passlen) { STACK *asafes, *bags; int bagnid;

Re: Get a private key from a pkcs12 file

2000-11-07 Thread Dr S N Henson
Peter Sylvester wrote: maybe you can get some inspiration from the following code. The code is not memory leak free. typedef struct TIAX_st { PKCS12 * p12 ; EVP_PKEY * pkey ; ... } TIAX ; int TIAX_login(TIAX * a,char * pass, int passlen) { STACK *asafes,

Re: Get a private key from a pkcs12 file

2000-11-07 Thread Peter Sylvester
Use of those macros is now strongly discouraged. You can replace the lot with a single call to PKCS12_parse() which generally "does the right thing". yes, the code presented is rather old (about 2 years). __ OpenSSL

Problem linking libssl.a libcrypto.a and my own lib to an application

2000-11-07 Thread raggi
I am having problem linking libssl.a libcrypto.a and my own lib to an application. I began by building the SSL library on my x86 based Redhat 7 that was really straight forward. Then I compiled my own library that is linked to libssl.a and libcrypto.a, so far so good... Then as I started

Re: Problem linking libssl.a libcrypto.a and my own lib to an application

2000-11-07 Thread Lutz Jaenicke
On Tue, Nov 07, 2000 at 01:53:56PM +, [EMAIL PROTECTED] wrote: I am having problem linking libssl.a libcrypto.a and my own lib to an application. #(BTW. I moved the libs into my own directory and I used to use gcc) tpos3client:libTpos3.a tpos3client.cpp

libssl.sl under HP-UX 10.20 and HP cc

2000-11-07 Thread Guillermo Lama
Hi: I'm trying to generate the dynamic libraries, libcrypto.sl and libssl.sl under HP-UX 10.20 using HP C compiler. I've modified the options adding +Z to have PIC position-independent code and removing the optimization options from the cc compiler. I've tried to generate the dynimic

Re: libssl.sl under HP-UX 10.20 and HP cc

2000-11-07 Thread Lutz Jaenicke
On Tue, Nov 07, 2000 at 11:38:21AM -0300, Guillermo Lama wrote: I'm trying to generate the dynamic libraries, libcrypto.sl and libssl.sl under HP-UX 10.20 using HP C compiler. I've modified the options adding +Z to have PIC position-independent code and removing the optimization options from