Re: RAND_seed buffer freeing

2019-07-11 Thread Matthias St. Pierre
On 11.07.19 12:00, tobias.w...@t-systems.com wrote: I`ve one question regarding RAND_seed, the first parameter refers to a buffer, who is freeing that buffer afterwards? Can I free it after the call to RAND_seed or is this done by openssl? You own the buffer, OpenSSL only reads its conten

Re: RAND_seed & RAND_bytes on Windows. How many random bytes I must give for function RAND_seed to seed PRNG properly?

2011-07-01 Thread Vladimir Belov
Thanks for answers, Jeff. But I still have questions: Why not allow OpenSSL to auto seed itself? Because on Windows we have not /dev/random and that's why I think that auto seed will be worse. But if OpenSSL seed PRNG automatically and I must not do anything else, why in FAQ I see: "On other s

Re: RAND_seed & RAND_bytes on Windows. How many random bytes I must give for function RAND_seed to seed PRNG properly?

2011-07-01 Thread Jeffrey Walton
On Fri, Jul 1, 2011 at 1:14 PM, Vladimir Belov wrote: > Hello. > I'll collect entropy(random bytes)  myself on Windows.  How many random > bytes I must give for function RAND_seed to seed PRNG properly in two cases: Why not allow OpenSSL to auto seed itself? If you have an overwhelming desire to p

RE: RAND_seed()

2005-04-07 Thread Bibbs, Christopher
TECTED] Behalf Of Edward Chan > Sent: Thursday, April 07, 2005 11:36 AM > To: 'Egon Andersen '; 'openssl-users@openssl.org ' > Subject: RE: RAND_seed() > > > I don't know if /dev/random is available on all linux > machines. But I think > it is. But a

RE: RAND_seed()

2005-04-07 Thread Edward Chan
penSSL did it for me. I hope I'm correct in my statements. I'm also a relative newbie to OpenSSL. Ed -Original Message- From: [EMAIL PROTECTED] To: openssl-users@openssl.org Sent: 4/7/2005 12:08 AM Subject: Re: RAND_seed() Layla wrote: > In addition to RAND_scr

Re: RAND_seed()

2005-04-07 Thread Egon Andersen
Layla wrote: In addition to RAND_screen(), you can use: RAND_event(...,...,...); but you must know that use of both functions is highly discouraged, in other words they should be your last resort. As you can see from the construction I used, RAND_screen() was only called, if RAND_status() return

Re: RAND_seed()

2005-04-06 Thread Layla
In addition to RAND_screen(), you can use:  RAND_event(...,...,...); but you must know that use of both functions is highly discouraged, in other words they should be your last resort.Egon Andersen <[EMAIL PROTECTED]> wrote: Bibbs, Christopher wrote:>>From: Michael D'ErricoYou can try using RA

Re: RAND_seed()

2005-04-06 Thread Egon Andersen
Bibbs, Christopher wrote: From: Michael D'Errico You can try using RAND_poll() instead. It tries several things to gather random data. I believe that this is called automatically for you anyway. If it is, it is failing because I'm getting failure to seed the PRNG errors on my test systems that d

RE: RAND_seed()

2005-04-06 Thread Bibbs, Christopher
> From: Michael D'Errico > > You can try using RAND_poll() instead. It tries > several things to gather random data. I believe > that this is called automatically for you anyway. If it is, it is failing because I'm getting failure to seed the PRNG errors on my test systems that don't have /dev/

RE: RAND_seed()

2005-04-06 Thread Layla
be it.  Does everyone else expect their users to have a good /dev/random or install edg? -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of LaylaSent: Wednesday, April 06, 2005 1:25 PMTo: openssl-users@openssl.orgSubject: Re: RAND_seed() Ok I don't know if

Re: RAND_seed()

2005-04-06 Thread Michael D'Errico
You can try using RAND_poll() instead. It tries several things to gather random data. I believe that this is called automatically for you anyway. Mike __ OpenSSL Project http://www.openssl.org User

RE: RAND_seed()

2005-04-06 Thread John Hoel
] www.skywiresoftware.com -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Bibbs, ChristopherSent: Wednesday, April 06, 2005 10:31 AMTo: 'openssl-users@openssl.org'Subject: RE: RAND_seed() Sorry for not being clear.  Essentially, I

RE: RAND_seed()

2005-04-06 Thread Bibbs, Christopher
normal practice, so be it.  Does everyone else expect their users to have a good /dev/random or install edg? -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of LaylaSent: Wednesday, April 06, 2005 1:25 PMTo: openssl-users@openssl.orgSubje

Re: RAND_seed()

2005-04-06 Thread Layla
Ok I don't know if I understood your problem correctly, but if you're looking for ways for seeding you can always use current system time, I believe this is pretty much available on all systems.   Hope that helps."Bibbs, Christopher" <[EMAIL PROTECTED]> wrote: Ok, here's my problem. I'm using OpenS