Problems occuring when compiling OpenSSL openssl-fips-1.1.2 with DJGPP

2008-04-29 Thread Christophe RICARD
Hello, I am trying to compile openssl-fps-1.1.2 with DJGPP under windows XP Home Edition. perl Configure no-threads DJGPP is OK. But make fail because there is some unresolved dependencies like: fips_desmovs.o:fips_desmovs.c:(.text+0xf4): undefined reference to `_EVP_des_ede3_cbc'

Re: Problems occuring when compiling OpenSSL openssl-fips-1.1.2 with DJGPP

2008-04-29 Thread Kyle Hamilton
Um... In order to make a FIPS-validated module, you MUST do: ./config fips No other command is allowed, and no other command will produce a fips-validated module. -Kyle H On Mon, Apr 28, 2008 at 11:48 AM, Christophe RICARD [EMAIL PROTECTED] wrote: Hello, I am trying to compile

How to decode ASN.1 Bit String

2008-04-29 Thread Carolin Latze
Hello everybody, I know, that might be an easy question, but I really didn't find an answer till now... I have a certificate in TLS (X.509) with an ASN1. Bit String extension. How to I read it out? Till now I did the following: X509_EXTENSION *ext; ext=X509_get_ext(cert,i);

Re: How to decode ASN.1 Bit String

2008-04-29 Thread Dr. Stephen Henson
On Tue, Apr 29, 2008, Carolin Latze wrote: Hello everybody, I know, that might be an easy question, but I really didn't find an answer till now... I have a certificate in TLS (X.509) with an ASN1. Bit String extension. How to I read it out? Till now I did the following: X509_EXTENSION

Re: Blowfish CBC output ciphertext differs in OpenSSL and Java with same key and IV

2008-04-29 Thread Vishal Rao
On Tue, Apr 29, 2008 at 5:03 AM, Dr. Stephen Henson [EMAIL PROTECTED] wrote: The call to EVP_EncryptInit_ex() uses the default key length for the cipher unless told otherwise. For Blowfish this is 128 bits but you have a 56 byte (?) key. You need to set the key length using

Re: How to decode ASN.1 Bit String

2008-04-29 Thread Carolin Latze
Dr. Stephen Henson wrote: On Tue, Apr 29, 2008, Carolin Latze wrote: Hello everybody, I know, that might be an easy question, but I really didn't find an answer till now... I have a certificate in TLS (X.509) with an ASN1. Bit String extension. How to I read it out? Till now I did

d2i_DSAPrivateKey defination

2008-04-29 Thread sumanth achar
Hi, I am using openssl-0.9.8g release not able to find function defination of d2i_DSAPrivateKey. can anybody please let me know when can i find this function defination. Regards, Sumanth

Re: How to decode ASN.1 Bit String

2008-04-29 Thread Carolin Latze
Ok, I found the error: I mixed up data types :-( Thanks anyway! Carolin Latze wrote: Dr. Stephen Henson wrote: On Tue, Apr 29, 2008, Carolin Latze wrote: Hello everybody, I know, that might be an easy question, but I really didn't find an answer till now... I have a

RSA signature - pkcs#1 conformant?

2008-04-29 Thread entity
Hi all, for me it seems that openssl rsa -sign ... -pkcs generates a signature with message recovery (I can recover the original message from the signature). But, when following the pkcs#1v2.1 standard for the supported signature algorithm, it only mentions signatures with appendix. Then,

Re: d2i_DSAPrivateKey defination

2008-04-29 Thread Marek . Marcola
Hello, [EMAIL PROTECTED] wrote on 04/29/2008 03:31:42 PM: Hi, I am using openssl-0.9.8g release not able to find function defination of d2i_DSAPrivateKey. can anybody please let me know when can i find this function defination. After compiling: $ cd crypto/dsa $ nm

Content processing function of d2i_RSAPrivateKey

2008-04-29 Thread Shanku Roy
Hi There, Can you please point me to the content processing function of d2i_RSAPrivateKey() In crypto/rsa/rsa_asn1.c file I see following: static ASN1_METHOD method={ (I2D_OF(void)) i2d_RSAPrivateKey, (D2I_OF(void)) d2i_RSAPrivateKey, (void *(*)(void))

Content processing function of d2i_RSAPrivateKey

2008-04-29 Thread Shanku Roy
Hi There, Can you please point me to the content processing function of d2i_RSAPrivateKey() In crypto/rsa/rsa_asn1.c file I see following: static ASN1_METHOD method={ (I2D_OF(void)) i2d_RSAPrivateKey, (D2I_OF(void)) d2i_RSAPrivateKey, (void *(*)(void))

Re: Content processing function of d2i_RSAPrivateKey

2008-04-29 Thread Shanku Roy
I have tried following: crypto/rsa nm --print-file-name *.o | grep d2i_RSAPrivateKey 33:rsa_asn1.o:00ec T d2i_RSAPrivateKey crypto/rsa gcc -E rsa_asn1.c | grep d2i_RSAPrivateKey rsa_asn1.c:60:22: cryptlib.h: No such file or directory 3249:RSA *d2i_RSAPrivateKey(RSA **a, const unsigned char

Re: Content processing function of d2i_RSAPrivateKey

2008-04-29 Thread jimmy bahuleyan
Shanku Roy wrote: I have tried following: crypto/rsa nm --print-file-name *.o | grep d2i_RSAPrivateKey 33:rsa_asn1.o:00ec T d2i_RSAPrivateKey crypto/rsa gcc -E rsa_asn1.c | grep d2i_RSAPrivateKey rsa_asn1.c:60:22: cryptlib.h: No such file or directory 3249:RSA *d2i_RSAPrivateKey(RSA **a,