RE: facing issue with function d2i_X509

2013-08-12 Thread Dave Thompson
>From: owner-openssl-us...@openssl.org On Behalf Of Sanjay Kumar (sanjaku5) >Sent: Monday, 12 August, 2013 07:12 >I have function to convert certificate from DER to x509 as follow. >In below function I able to see in GDB "cert_der and cert_len" is currect >But it crash on [d2i_x509] Aside: I wo

RE: OPENSSL_Uplink: no OPENSSL_Applink

2013-08-12 Thread Dave Thompson
>From: owner-openssl-us...@openssl.org On Behalf Of Perrow, Graeme >Sent: Monday, 12 August, 2013 10:51 >To: openssl-users@openssl.org >Subject: OPENSSL_Uplink: no OPENSSL_Applink >On 32-bit Windows, I am seeing this error [investigating an error]. >I am building ... (OpenSSL 1.0.1e, OpenSSL FIPS

Re: Warning for SSL_read()

2013-08-12 Thread Wim Lewis
On 12 Aug 2013, at 3:36 AM, John Selbie wrote: > I'm upgrading a socket server written for non-blocking TCP sockets to use > OpenSSL in non-blocking mode. > > In the man page for SSL_read, the following is stated: > > "When an SSL_read() operation has to be repeated because of > SSL_ERROR_WANT

Need help on integrating twofish algorithm with libcrypto in C

2013-08-12 Thread Andrei Petru Mura
Hello everyone, I'm very new to OpenSSL. The reason for what I joined it is that I need (for the beginning) to make an encryption/decryption using Twofish algorithm. Is that already possible (I mean somehow implemented) with libcrypto? Can anyone help me on getting this? Thanks in advance!

OPENSSL_Uplink: no OPENSSL_Applink

2013-08-12 Thread Perrow, Graeme
On 32-bit Windows, I am seeing this error when trying to determine why the FIPS_mode_set(1) call is failing. I am building the OpenSSL FIPS module (OpenSSL 1.0.1e, OpenSSL FIPS 2.0.5), and I want to load it from another DLL which is itself loaded from an application. The application knows nothin

RSA_setup_blinding failing

2013-08-12 Thread baban devkate
My application failing in RSA_setup_blinding(). -After debug I found BN_BLINDING_create_param() returns NULL. -RAND_status() returns zero, so PRNG is not properly seeded. FYI- I am using Ubuntu 12.04, which provides /dev/urandom and /dev/random. Don't know how to proceed:( I am stuck now, a

Re: [winlinke...@gmail.com: update openssl error]

2013-08-12 Thread Jakob Bohm
On 07-08-2013 17:57, Lutz Jaenicke wrote: Forwarded to openssl-users for discussion. - Forwarded message from gate Bill - Date: Tue, 6 Aug 2013 17:22:54 +0800 From: gate Bill To: openssl-b...@openssl.org Subject: update openssl error hello my linux env: centos 6.4 x64

facing issue with function d2i_X509

2013-08-12 Thread Sanjay Kumar (sanjaku5)
I have function to convert certificate from DER to x509 as follow. In below function I able to see in GDB "cert_der and cert_len" is currect But it crash on line as pointed below. Why "d2i_X509" causing crash ? Any help ? RetCode convert_der_to_x509(uint8_t *cert_der, uint32_t cert_len) { co

Re: Using PKCS#1 instead of PKCS#8

2013-08-12 Thread Jakob Bohm
On 06-08-2013 18:06, Gregg Hughes wrote: Good morning, all! I’m trying to get openssh to generate some self-signed certificates for a test VPN using Strongswan IPsec 4.5.2. This version will not read private keys in the PKCS#8 format. Is there a way to either convert PKCS#8 keys to the olde

Warning for SSL_read()

2013-08-12 Thread John Selbie
I'm upgrading a socket server written for non-blocking TCP sockets to use OpenSSL in non-blocking mode. In the man page for SSL_read, the following is stated: "When an SSL_read() operation has to be repeated because of SSL_ERROR_WANT_READ or SSL_ERROR_WANT_WRITE, it must be repeated with the sa