> Is there an easy way (ed. in AIX) to see what random device this compiled 
> version
> of openssl chose to use?

Found the answer to my question and that the tool to use depends on what 
platform your on.
Thought it might have been a generic tool or option in openssl hence my subject 
not being specific to an OS.

In AIX a command to trace this would be truss.

For a very short output:
truss -topen openssl rand 2

For a bit more info:
truss -topen,kread,close openssl rand 2 

For the whole thing:
truss openssl rand 2

Note: The truss output is on stderr not stdout.

In my case I'm looking for the dev devices in the output.
I get:

open("/dev/urandom", O_RDONLY|O_NOCTTY|O_NONBLOCK) = 3
kread(3, "8D97 ½1A998D à â\f ¯ Ú82".., 32)      = 32
close(3)                                        = 0

I thought it may not be using a random device due to some performance issues 
but now see it is.
Taking a look at a few other possible reasons.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to