Re: [openssl-users] d2i_RSAPrivateKey not working on a private key

2015-10-09 Thread Frank Migge
Hi David, Your attached sample certificate and private key (1024 bit RSA) works fine. I am reading it with PEM_read_PrivateKey( fp, , NULL, NULL), and also PEM_read_bio_PrivateKey(pkeybio, NULL, 0, NULL) works. If you could post the code or code fragment that creates the problem?

Re: [openssl-users] AES_KEY and AES_BLOCK_SIZE cannot be resolved

2015-10-09 Thread Jakob Bohm
On 09/10/2015 07:06, Sri Yogesh Dorbala wrote: Hello, I am facing a weird problem here. I wish to run a C program(works fine using gcc) on android. I have installed ndk for eclipse and have setup the basic things correctly. I have linked openssl library(.so files) to the project. I

[openssl-users] Clarification on FIPS Tested Configurations

2015-10-09 Thread Nicholas von Waltsleben
Hi I am seeking clarification on what Section 2 (Tested Configurations) of the OpenSSL FIPS 140-2 Security Policy means. Are these: a) specific configurations that are known to work b) the only configurations permitted by the relevant NIST certifications? I initially believed/assumed that as

[openssl-users] using openssl to validate an external AES program

2015-10-09 Thread karel-de-macil
Hi all, i'm curently trying to use openssl to validate my own aes program. The first thing i'm trying to to is to validate the return of openssl with aes-128-cbc and some entry i have found here : https://tools.ietf.org/html/rfc3602 Case #1: Encrypting 16 bytes (1 block) using AES-CBC with

Re: [openssl-users] using openssl to validate an external AES program

2015-10-09 Thread Erwann Abalea
Bonjour, > Le 9 oct. 2015 à 12:20, karel-de-ma...@wanadoo.fr a écrit : > […] > Case #1: Encrypting 16 bytes (1 block) using AES-CBC with 128-bit key > Key : 0x06a9214036b8a15b512e03d534120006 > IV : 0x3dafba429d9eb430b422da802c9fac41 > Plaintext : "Single block msg" > Ciphertext:

Re: [openssl-users] Clarification on FIPS Tested Configurations

2015-10-09 Thread Steve Marquess
On 10/09/2015 08:13 AM, Nicholas von Waltsleben wrote: > Hi > > I am seeking clarification on what Section 2 (Tested Configurations) of > the OpenSSL FIPS 140-2 Security Policy means. Are these: > > a) specific configurations that are known to work > b) the only configurations permitted by the

[openssl-users] d2i_RSAPrivateKey not working on a private key

2015-10-09 Thread David Lobron
Hello openssl people, I am trying to read a private key of a certificate into memory using d2i_RSAPrivateKey. I'm able to read the certificate without a problem, but when I pass the private key to d2i_RSAPrivateKey, it fails to parse. I do not see an error message or errno being set -