Re: [openssl-users] Custom Random number generation while in Fips mode

2016-07-28 Thread Thomas Francis, Jr.
> On Jul 28, 2016, at 11:00 AM, pratyush parimal > wrote: > > Hi Thomas, > > Thanks for your response! It clears up matters a lot :) > > There's one thing that I thought of though -- even though I'm generating the > salt via non-OpenSSL means, the actual function that I'm using for hashing i

Re: [openssl-users] Custom Random number generation while in Fips mode

2016-07-28 Thread pratyush parimal
Hi Thomas, Thanks for your response! It clears up matters a lot :) There's one thing that I thought of though -- even though I'm generating the salt via non-OpenSSL means, the actual function that I'm using for hashing is "SHA512" from FIPS OpenSSL. Does the mere usage of salt that was generated

Re: [openssl-users] Custom Random number generation while in Fips mode

2016-07-28 Thread Thomas Francis, Jr.
> On Jul 27, 2016, at 8:18 PM, pratyush parimal > wrote: > > Hi all, > > I work on a consumer application which is striving to be fips-140-2 compliant. > > I'm using OpenSSL as recommended in the fips guide by invoking > fips_mode_set(). However, in certain parts of the same application, I'm

[openssl-users] Custom Random number generation while in Fips mode

2016-07-27 Thread pratyush parimal
Hi all, I work on a consumer application which is striving to be fips-140-2 compliant. I'm using OpenSSL as recommended in the fips guide by invoking fips_mode_set(). However, in certain parts of the same application, I'm using my own non-OpenSSL random number generator to generate salts for hash

Random number generation with OpenSSL - looking for high quality PRNG for use with Linux

2008-05-06 Thread Rolf Engstrom
The Lavarnd project shows some weakness (vs NIST 800-22 testing) for both /dev/urandom, and /dev/random. Does anyone know of a project for software RNG that is high quality? The /dev/random project is close - but fails the NSIT test for DFT Spectral (uniformity)?

Re: Random Number Generation in openssl

2006-04-24 Thread Marek Marcola
Hello, > The man page clearly mentions that. > > Add RAND_seed() or RAND_add() with the required > entropy required before calling RAND_bytes(). In a > pseudorandom number generator the seed uniquely > determines the random sequence. So you might want to > vary the seed somehow using getpid() o

Re: Random Number Generation in openssl

2006-04-24 Thread Girish Venkatachalam
Random number generation always depends on the PRNG being seeded first. The man page clearly mentions that. Add RAND_seed() or RAND_add() with the required entropy required before calling RAND_bytes(). In a pseudorandom number generator the seed uniquely determines the random sequence. So you

RE: Random Number Generation in openssl

2006-04-24 Thread Ambarish Mitra
This worked..Thanks a million. :-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Allan E. Johannesen Sent: Monday, April 24, 2006 6:32 PM To: openssl-users@openssl.org Subject: Random Number Generation in openssl >>>>> "ambarish_mitr

Random Number Generation in openssl

2006-04-24 Thread Allan E. Johannesen
> "ambarish_mitra" == Ambarish Mitra <[EMAIL PROTECTED]> writes: ambarish_mitra> Hi all, I am trying to generate random numbers using openssl. I ambarish_mitra> am not using the ENGINE API, but using only the rand functions. ambarish_mitra> Code snippet: You correctly identify the buffer as

Random Number Generation in openssl

2006-04-24 Thread Ambarish Mitra
Hi all,   I am trying to generate random numbers using openssl. I am not using the ENGINE API, but using only the rand functions.   Code snippet:   int main(int argc, char *argv[]){    RAND_METHOD *rmeth;    int r;    unsigned char buf[16];       rmeth = RAND_SSLeay();

RE: Random number generation

2001-09-27 Thread Ryan Hurst
PROTECTED] Subject: Random number generation Hi, I am looking for an powerful random number generation library for an application. Is open ssl has such library. ( not pseudo random generations ) Is anyone know ? Regards Ashada

Re: Random number generation

2001-09-27 Thread crispin
On Thu, Sep 27, 2001 at 03:18:49PM +0600, Ashada Karunaratna wrote: > I am looking for an powerful random number generation library for an > application. Is open ssl has such library. ( not pseudo random generations ) > Is anyone know ? If your under Unix, why not use /dev/rando

Random number generation

2001-09-27 Thread Ashada Karunaratna
Hi, I am looking for an powerful random number generation library for an application. Is open ssl has such library. ( not pseudo random generations ) Is anyone know ? Regards Ashada __ OpenSSL Project

Re: Re: Random number generation

2000-11-21 Thread Lutz Jaenicke
On Mon, Nov 20, 2000 at 07:24:07PM +0100, Wolfgang Häfelinger wrote: > Hi, > since I have the same problem and since there is almost no useful > documentation available, what I'm supposed to do if there is > /dev/random but it blocks? Note: Don't have /dev/urandom. If you need a nonblockin

Re: Re: Random number generation

2000-11-20 Thread Tim Newsham
> Hi, > since I have the same problem and since there is almost no useful > documentation available, what I'm supposed to do if there is > /dev/random but it blocks? Note: Don't have /dev/urandom. you can read as much as is available, with a non-blocking file descriptor or with FIONREAD. If

Re: Re: Random number generation

2000-11-20 Thread Wolfgang=20H=E4felinger
Hi, since I have the same problem and since there is almost no useful documentation available, what I'm supposed to do if there is /dev/random but it blocks? Note: Don't have /dev/urandom. Btw, is there any useful documentation around or in progress? Bye, Wolfgang. [EMAIL PROTECTED] schri

Re: Random number generation

2000-11-20 Thread Tim Newsham
> Hi, > > I am a complete novice when it comes to SSL and I have had to = > incorporate OpenSSL into my project through use of a CORBA ORB I am = > using. > > I have been advised that I need a random number generator to use = > OpenSSL. Is this true, and if so why? I am just trying to understand

RE: Random number generation

2000-11-19 Thread David Schwartz
PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Timothy Sim Sent: Sunday, November 19, 2000 2:19 PM To: [EMAIL PROTECTED] Subject: Random number generation Hi, I am a complete novice when it comes to SSL and I have had to incorporate OpenSSL into my project through use of a CORBA ORB I am usin

Random number generation

2000-11-19 Thread Timothy Sim
Hi,   I am a complete novice when it comes to SSL and I have had to incorporate OpenSSL into my project through use of a CORBA ORB I am using.   I have been advised that I need a random number generator to use OpenSSL. Is this true, and if so why? I am just trying to understand OpenSSL and h

Re: Random Number Generation

1999-03-10 Thread Sampo Kellomaki
"Pavan Auman" <[EMAIL PROTECTED]> writes: > I have installed openssl and Net::SSLeay, but my Solaris 2.6 platform = > does not have /dev/random or /dev/urandom. Is there any way that I can = > still seed the RNG without these tools? This question reduces to: Is there any way to obtain random num

Random Number Generation

1999-03-09 Thread Pavan Auman
I have installed openssl and Net::SSLeay, but my Solaris 2.6 platform does not have /dev/random or /dev/urandom.  Is there any way that I can still seed the RNG without these tools?   Pavan W.B. AumanSoftware EngineerMarketPlace.Net, Inc.http://www.stockmaster.com