RES: Random number generator

2012-04-05 Thread Leonardo
I'd like to add some question about this. What kind of RNG is implemented? Linear Congruential generator? Is it another more sophisticated? Thanks Leonardo De: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] Em nome de Prashanth kumar N Enviada em:

Re: [openssl-users] RES: Random number generator

2012-04-05 Thread Erwann Abalea
It replies '42' everytime. And that's a good answer. Le 05/04/2012 13:35, Leonardo a écrit : I'd like to add some question about this. What kind of RNG is implemented? Linear Congruential generator? Is it another more sophisticated? Thanks Leonardo *De:*owner-openssl-us...@openssl.org

Re: RES: Random number generator

2012-04-05 Thread Richard Könning
Am 05.04.2012 13:35, schrieb Leonardo: I’d like to add some question about this. What kind of RNG is implemented? Linear Congruential generator? No. Is it another more sophisticated? Yes. For more information see the rand man page. Ciao, Richard

Deadlock in RAND_poll's Heap32First call

2012-04-05 Thread sandeep kiran p
Hi, I had described about the deadlock we are seeing in Heap32First and Heap32Next APIs in my previous post. Here is where you can see the post.

OS390 UNIX - openssl install questions

2012-04-05 Thread Shaffer, Terri E
Hi, I was wondering if anyone had any information on how to install openssl on z/OS UNIX? I have been getting numerous errors with the config and/or Configure files and sortof at a loss. Thanks Ms. Terri E. Shaffer terri.e.shaf...@jpmchase.com Engineer J.P.Morgan Chase Co. GTI DCT ECS

RE: OS390 UNIX - openssl install questions

2012-04-05 Thread Jaaron Anderson
install openssl on mac http://lmgtfy.com/?q=install+openssl+on+mac+site%3Aexperts-exchange.com hth -Original Message- From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] On Behalf Of Shaffer, Terri E Sent: Wednesday, April 04, 2012 3:15 PM To:

Re: OS390 UNIX - openssl install questions

2012-04-05 Thread Zico
On Thu, Apr 5, 2012 at 7:28 PM, Jaaron Anderson janders...@widener.eduwrote: install openssl on mac http://lmgtfy.com/?q=install+openssl+on+mac+site%3Aexperts-exchange.com Hello everyone, I think this Let me google for you is really discouraging! We shouldn't do this to anyone. Just my

Re: ENGINE Structural and functional references

2012-04-05 Thread Jakob Bohm
On 4/5/2012 5:36 AM, Sunjeet Singh wrote: ENGINE_free all of the structural references you got, including the one for the ENGINE you're using And so in order to free all structural references of an ENGINE * e, I could just do this?- while( e-struct_ref 0 ) { ENGINE_free( e ); }

Re: Deadlock in RAND_poll's Heap32First call

2012-04-05 Thread Jakob Bohm
On 4/5/2012 2:22 PM, sandeep kiran p wrote: Hi, I had described about the deadlock we are seeing in Heap32First and Heap32Next APIs in my previous post. Here is where you can see the post.

RE: OS390 UNIX - openssl install questions

2012-04-05 Thread dave.mclellan
We build on z/OS. I have some notes on what I've had to do, but what kinds of errors are you seeing, and what version of OpenSSL? The most recent version we built on z/OS is 0.9.8R. +-+-+-+-+-+-+ Dave McLellan, Symmetrix Software Engineering EMC Corporation, 176 South St, Hopkinton MA

RE: OS390 UNIX - openssl install questions

2012-04-05 Thread Shaffer, Terri E
True, But my bigger question is why suggest using mac on a OS390 UNIX mainframe. Thanks Ms. Terri E. Shaffer terri.e.shaf...@jpmchase.commailto:terri.e.shaf...@jpmchase.com Engineer J.P.Morgan Chase Co. GTI DCT ECS Core Services zSoftware Group / Emerging Technologies Office: # 614-213-3467

Re: ENGINE Structural and functional references

2012-04-05 Thread Sunjeet Singh
Ah, I see. Many thanks for the explanation. Sunjeet On 2012-04-05, at 7:36 AM, Jakob Bohm wrote: On 4/5/2012 5:36 AM, Sunjeet Singh wrote: ENGINE_free all of the structural references you got, including the one for the ENGINE you're using And so in order to free all structural

Re: Deadlock in RAND_poll's Heap32First call

2012-04-05 Thread sandeep kiran p
Jakob, The last time we had this discussions, I mentioned when 0 is passed as the second argument to CreateToolhelp32Snapshot, it takes a snapshot of all the heaps for all the processes in the system. I was wrong. This routine only takes the snapshot of all heaps of a single process whose process

Re: Hitting seg fault in AES_wrap_key() when Key is 512 bits in length

2012-04-05 Thread pkumarn
Can anyone please help me on this? This is really blocking me to proceed further -Prashanth pkumarn wrote: Hi, I had earlier posted query on AES_Keywrap() usage and had good response on the same and got lot of things clarified. Now i am successful in using AES_wrap_key() API but i am

Re: Hitting seg fault in AES_wrap_key() when Key is 512 bits in length

2012-04-05 Thread Jeffrey Walton
On Wed, Apr 4, 2012 at 5:41 AM, pkumarn prashanth.kuma...@gmail.com wrote: Hi, I had earlier posted query on AES_Keywrap() usage and had good response on the same and got lot of things clarified. Now i am successful in using AES_wrap_key() API but i am running into a new problem. I need to

Re: Deadlock in RAND_poll's Heap32First call

2012-04-05 Thread Jeffrey Walton
On Thu, Apr 5, 2012 at 12:18 PM, sandeep kiran p sandeepkir...@gmail.com wrote: Jakob, The last time we had this discussions, I mentioned when 0 is passed as the second argument to CreateToolhelp32Snapshot, it takes a snapshot of all the heaps for all the processes in the system. I was wrong.

RE: OS390 UNIX - openssl install questions

2012-04-05 Thread Jeremy Farrell
I suppose that might be useful for someone who's interested in installing OpenSSL on a Mac, though I can't imagine how they'd be supposed to guess to search that particular site. What's it got to do with your subject line or the question you replied to though? And why is it of high importance?

Re: Random number generator

2012-04-05 Thread Jeffrey Walton
On Thu, Apr 5, 2012 at 12:07 AM, Prashanth kumar N prashanth.kuma...@gmail.com wrote: You can use the below API's RAND_bytes() RAND_pseudo_bytes() Sorry to nitpick. Its gets old auditing high integrity code where the damn programmers ignore return values as if every succeeds. #include

Re: Deadlock in RAND_poll's Heap32First call

2012-04-05 Thread Jakob Bohm
On 4/5/2012 9:01 PM, Jeffrey Walton wrote: On Thu, Apr 5, 2012 at 12:18 PM, sandeep kiran p sandeepkir...@gmail.com wrote: Jakob, The last time we had this discussions, I mentioned when 0 is passed as the second argument to CreateToolhelp32Snapshot, it takes a snapshot of all the heaps for

Re: Deadlock in RAND_poll's Heap32First call

2012-04-05 Thread Jakob Bohm
On 4/5/2012 6:18 PM, sandeep kiran p wrote: Jakob, The last time we had this discussions, I mentioned when 0 is passed as the second argument to CreateToolhelp32Snapshot, it takes a snapshot of all the heaps for all the processes in the system. I was wrong. This routine only takes the

Re: Hitting seg fault in AES_wrap_key() when Key is 512 bits in length

2012-04-05 Thread Jakob Bohm
On 4/5/2012 8:54 PM, Jeffrey Walton wrote: On Wed, Apr 4, 2012 at 5:41 AM, pkumarnprashanth.kuma...@gmail.com wrote: Hi, I had earlier posted query on AES_Keywrap() usage and had good response on the same and got lot of things clarified. Now i am successful in using AES_wrap_key() API but i

Re: Deadlock in RAND_poll's Heap32First call

2012-04-05 Thread Jeffrey Walton
On Thu, Apr 5, 2012 at 6:06 PM, Jakob Bohm jb-open...@wisemo.com wrote: On 4/5/2012 9:01 PM, Jeffrey Walton wrote: On Thu, Apr 5, 2012 at 12:18 PM, sandeep kiran p sandeepkir...@gmail.com  wrote: Jakob, The last time we had this discussions, I mentioned when 0 is passed as the second

Re: Deadlock in RAND_poll's Heap32First call

2012-04-05 Thread Jeffrey Walton
On Thu, Apr 5, 2012 at 6:58 PM, Jeffrey Walton noloa...@gmail.com wrote: On Thu, Apr 5, 2012 at 6:06 PM, Jakob Bohm jb-open...@wisemo.com wrote: On 4/5/2012 9:01 PM, Jeffrey Walton wrote: [SNIP] The following list of permission bits are most (not all) of those that may appear in the DACL of

Re: Hitting seg fault in AES_wrap_key() when Key is 512 bits in length

2012-04-05 Thread Dr. Stephen Henson
On Thu, Apr 05, 2012, pkumarn wrote: Can anyone please help me on this? This is really blocking me to proceed further #define KEY512 0 #if KEY512 #define KEYLEN 64 #define KEYBITS 512 #else #define KEYLEN 32 #define KEYBITS 256 #endif

RE: Hitting seg fault in AES_wrap_key() when Key is 512 bits in length

2012-04-05 Thread Dave Thompson
From: owner-openssl-us...@openssl.org On Behalf Of pkumarn Sent: Wednesday, 04 April, 2012 05:41 I need to wrap 512bit key with 256 bit KEK key. When i do this, i am hitting seg fault in AES_wrap_key(). When i do gdb, it points to memcpy(). snip #define KEY512 0 #if KEY512

RE: What should be the size of a Diffie-Hellman private key?

2012-04-05 Thread Dave Thompson
From: owner-openssl-us...@openssl.org On Behalf Of Ram Prasad Reddy Sent: Wednesday, 04 April, 2012 09:08 We are using OpenSSL DH for key establishment in our product. Recently we increased the size of P parameter to 2048 bits from 640 bits (we use g parameter of value