Re: [openssl-users] AES_unwrap_key returns 0

2018-01-05 Thread InMotion Man
Hello Dave, Your guess exactly right. This is my first time using the OpenSSL library and I didn't know there was a different function to create encryption and decryption AES_KEY. Thank you for the help and sorry for the newbie question. Cheers, IMM. On Fri, Jan 5, 2018 at 5:44 AM, Dave Coombs wr

Re: [openssl-users] AES_unwrap_key returns 0

2018-01-05 Thread Dave Coombs
Hello, This is just a guess, but try AES_set_decrypt_key() before trying to unwrap? -Dave > On Jan 4, 2018, at 13:08, InMotion Man wrote: > > Hello all, > I'm having trouble using the AES_unwrap_key function. I have tried different > things but it always returns 0 and the out buffer does n

Re: [openssl-users] FIPS_mode_set - failed - SSLEAY_RAND_BYTES:PRNG not seeded

2018-01-05 Thread Mithun Kumar
I have seen similar issue on linux when /dev/random failed to generate seed when application tries to create many SSL connections in parallel. On Fri, Jan 5, 2018 at 4:37 PM, murugesh pitchaiah < murugesh.pitcha...@gmail.com> wrote: > Hi All, > > Need your inputs on below issue: > > When I try

[openssl-users] FIPS_mode_set - failed - SSLEAY_RAND_BYTES:PRNG not seeded

2018-01-05 Thread murugesh pitchaiah
Hi All, Need your inputs on below issue: When I try to set the FIPS mode, seeing below error and failure intermittently: Error: FIPS_mode_set(1) failed. Reason: error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded I am using following versions: openssl-1.0.2k openssl-fips-ec

Re: [openssl-users] Issue on DTLS over UDP

2018-01-05 Thread Matt Caswell
On 05/01/18 05:30, Grace Priscilla Jero wrote: > Hi Matt, > We are using openssl v 1.1.0g. > Attaching the pcap files. Thanks - that helped a lot and I have been able to recreate your issue. The problem is this: - The server is DTLSv1.0 only - The client is DTLSv1.2 only - When the server sele