Problems with RSA encrytion/decryption

2002-03-21 Thread Walmir Amorim
I'm trying encrypt and then decrypt a message, for example: I'm making a test using the RSA algorithm of openssl library but the result wasn't the original message. I read something about the length message must be greater than the modulus but I don't understand very well. I also read something

Re: API functions for ASN1 on openssl

2002-03-21 Thread Benzy Gabay
Dr S N Henson, First I want to thank you for the answer. Secondly, you mentioned in your answer that I should use version 0.9.7. I can't seem to find the 0.9.7 on openssl.org. where can I get d/l it from? Cheers == Benzy Gabay RD Maya Software Technologies Ltd.

Re: API functions for ASN1 on openssl

2002-03-21 Thread Dr S N Henson
Benzy Gabay wrote: Dr S N Henson, First I want to thank you for the answer. Secondly, you mentioned in your answer that I should use version 0.9.7. I can't seem to find the 0.9.7 on openssl.org. where can I get d/l it from? It hasn't been released yet but you can get development

Re: manpage of EVP_SealFinal

2002-03-21 Thread Dr S N Henson
thomas poindessous wrote: Hi, in manpage (version 0.9.6b et version 0.9.7-stable-SNAP-20020317), there is : -- int EVP_SealFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl); and EVP_SealUpdate() and EVP_SealFinal() return 1 for success and 0

Tiny bug on OpenSSL crypto/lhash/lh_test.c

2002-03-21 Thread Justin Fletcher
Hiya, This isn't at all serious; it's only in test code, but it might cause false negatives under pathological circumstances. The code reads : --8 main() { LHASH *conf; char buf[256]; int i; conf=lh_new(lh_strhash,strcmp); for (;;)

Re: buglet with string representation of DNs?

2002-03-21 Thread Lutz Jaenicke
On Mon, Mar 18, 2002 at 10:53:05AM -0500, Harald Koch wrote: objects.txt defines the following: X509 4 : S : surname X509 5 : SN: serialNumber (X509 4 is 2.5.4.4). RFC2256 defines surname (2.5.4.4) as 'sn', and

Re: Tiny bug on OpenSSL crypto/lhash/lh_test.c

2002-03-21 Thread Lutz Jaenicke
On Thu, Mar 21, 2002 at 04:29:29AM +, Justin Fletcher wrote: Hiya, This isn't at all serious; it's only in test code, but it might cause false negatives under pathological circumstances. The code reads : --8 main() { LHASH *conf; char buf[256];

Re: DES...

2002-03-21 Thread Richard Levitte - VMS Whacker
From: Jeffrey Altman [EMAIL PROTECTED] jaltman I prefer that des_old.h be compatible with libdes since that apps that jaltman are built using it assume that the api they were using was constant jaltman and unchanging. The way things work now, there is at least no clash with libdes on the

Re: DES...

2002-03-21 Thread Jeffrey Altman
From: Jeffrey Altman [EMAIL PROTECTED] jaltman I prefer that des_old.h be compatible with libdes since that apps that jaltman are built using it assume that the api they were using was constant jaltman and unchanging. The way things work now, there is at least no clash with libdes on

Re: problem with legacy DES routines and Mixmaster

2002-03-21 Thread Richard Levitte - VMS Whacker
From: Rodney Thayer [EMAIL PROTECTED] rodney I believe this was discussed recently on this list but rodney I can't put my hands on the message thread. Appologies if this rodney is redundant. rodney rodney It turns out Mixmaster uses the DES routines in OpenSSL. rodney I tried compiling the

Re: DES...

2002-03-21 Thread Dr S N Henson
Jeffrey Altman wrote: From: Jeffrey Altman [EMAIL PROTECTED] jaltman I prefer that des_old.h be compatible with libdes since that apps that jaltman are built using it assume that the api they were using was constant jaltman and unchanging. The way things work now, there is at

Re: DES...

2002-03-21 Thread Jeffrey Altman
Jeffrey Altman wrote: From: Jeffrey Altman [EMAIL PROTECTED] jaltman I prefer that des_old.h be compatible with libdes since that apps that jaltman are built using it assume that the api they were using was constant jaltman and unchanging. The way things work now, there

Shared libraries on Linux

2002-03-21 Thread frodol
Hi folks, there are two problems with shared OpenSSL libraries on Linux for version 0.9.6c as I see it: The library is installed as libssl.so.0.9.6, so it overwrites libssl-0.9.6[ab] libraries. But it is not binary compatible IIRC, so applications linked to it fail and have to be recompiled.

Re: use evp? (was DES...)

2002-03-21 Thread Rodney Thayer
At 09:29 PM 3/21/2002 +, S.Henson wrote: Is there some particular reason why such applications couldn't use the EVP layer? An attempt has been made to keep this consistent and to make any enhancements backwards compatible. In fact some of the more recent changes would have been substantially

Re: use evp? (was DES...)

2002-03-21 Thread Dr S N Henson
Rodney Thayer wrote: At 09:29 PM 3/21/2002 +, S.Henson wrote: Is there some particular reason why such applications couldn't use the EVP layer? An attempt has been made to keep this consistent and to make any enhancements backwards compatible. In fact some of the more recent changes

Re: How to add a new X.509 v3 extension id?

2002-03-21 Thread Kiyoshi Watanabe
Thank you for your quick response. If you just want a simple string extension then you can create an alias which is effetively saying an extension is identical to another except it has a different object ID The nid you create corresponds to an ASN1 OBJECT IDENTIFIER which can be