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

2008-04-28 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' fips_desmovs.o:f

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

2008-04-28 Thread Dr. Stephen Henson
On Mon, Apr 28, 2008, Vishal Rao wrote: > > C++ code using OpenSSL: > > unsigned char testplaintext[10] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; > unsigned char ciphertext[100] = {0}; > int outlen, tmplen; > > unsigned char key[56] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, > 14, 15, 16, 17, 18, 1

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

2008-04-28 Thread Julius Davies
I have no idea if your C++ code is correct, but I wrote some java code the correctly does that java side. Download "not-yet-commons-ssl.jar" and try this utility class: org.apache.commons.ssl.OpenSSL Here are the instructions to use it: http://juliusdavies.ca/commons-ssl/pbe.html In your case

Re: s_client GET request

2008-04-28 Thread Marek . Marcola
Hello, [EMAIL PROTECTED] wrote on 04/28/2008 04:03:02 PM: > Hello, > > I would like to know how to hold a requisition s_client GET https that the server was connected ?? > > Ex: > "GET /Nfe/services/NfeStatusServico?wsdl HTTP/1.1\r\nHost: hnfe.sefaz.es.gov.br\r > \nConnection: Keep-Alive\r\nA

s_client GET request

2008-04-28 Thread Ricardo Garcia Reis
Hello, I would like to know how to hold a requisition s_client GET https that the server was connected ?? Ex: "GET /Nfe/services/NfeStatusServico?wsdl HTTP/1.1\r\nHost: hnfe.sefaz.es.gov.br\r\nConnection: Keep-Alive\r\nAccept: */*\r\n" It would have any other apps I can do this test? Thanks!!

Re: question about RSA in openSSL

2008-04-28 Thread Th�nh Trung Nguyễn
Hi, Thank you and Tuan Vu for your answers. Yeah, q Hi, > > I have 2 question about RSA generating in OpenSSL : > - First, does p and q statisfy condition : > sqrt(N)/2 < p < q < 2sqrt(N) No, because q < p in any key generated from openssl (starting from some version). > - second, when I u

Re: question about RSA in openSSL

2008-04-28 Thread Marek . Marcola
Hello, [EMAIL PROTECTED] wrote on 04/28/2008 07:00:09 AM: > Hi, > > I have 2 question about RSA generating in OpenSSL : > - First, does p and q statisfy condition : > sqrt(N)/2 < p < q < 2sqrt(N) No, because q < p in any key generated from openssl (starting from some version). > - second,