PEM_read_bio_PrivateKey() returns NULL in ECB mode only

2013-07-04 Thread Alexander Voron
PEM_read_bio_PrivateKey() returns NULL if a private key is encrypted by DES EDE in ECB mode. The issue happens in EVP_DecryptFinal_ex(): 4128:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:evp_enc.c:330: If the same private key is encrypted by DES EDE in CBC mode, this f

Re: bn_mul_mont_fpu multiply-defined error

2013-07-04 Thread Zeke Evans
That resolved the issue. Thanks! On Thu, Jul 4, 2013 at 4:22 AM, Dr. Stephen Henson wrote: > On Wed, Jul 03, 2013, Zeke Evans wrote: > >> I built the FIPS module as specified in the User Guide (only using >> ./config). The 'bn_mul_mont_fpu' multiply-defined error only occurs >> when building th

Re: bn_mul_mont_fpu multiply-defined error

2013-07-04 Thread Dr. Stephen Henson
On Wed, Jul 03, 2013, Zeke Evans wrote: > I built the FIPS module as specified in the User Guide (only using > ./config). The 'bn_mul_mont_fpu' multiply-defined error only occurs > when building the fips capable code when using the 'shared' option (I > only tested 1.0.1e and 1.0.1c). > > I don't