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
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?
t;On other systems, applications have to
call the RAND_add() or RAND_seed() function with appropriate data before
generating keys or performing public key encryption."?
During debugging my program, I saw that RAND_poll is called only once after
first calling RAND_bytes or SSL_CTX_new. Afte
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 overwhel
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:
1) Generating RSA keys.
2) Programming SSL-TLS. And where I must call RAND_seed during SSL-TLS
programming?
I think int
Ok, thanks a lot :)
Original-Nachricht
> Datum: Mon, 3 Sep 2007 15:02:49 +0200
> Von: "Dr. Stephen Henson" <[EMAIL PROTECTED]>
> An: openssl-users@openssl.org
> Betreff: Re: Use Rand_Seed on windows?
> On Mon, Sep 03, 2007, Martin Salo
On Mon, Sep 03, 2007, Martin Salo wrote:
> Hello Mailinglist,
>
> in the OpenSSL documentation is written that I should initialize with
> RAND_seed() before using RSA_public_encrypt() and RSA_generate_key_ex(). But
> I havent found any good examples that show how to do thi
Hello Mailinglist,
in the OpenSSL documentation is written that I should initialize with
RAND_seed() before using RSA_public_encrypt() and RSA_generate_key_ex(). But I
havent found any good examples that show how to do this. (For Windows)
I found this example in the test folder over and over
Angel Martinez Gonzalez wrote:
Hello:
Thanks for your help, but I don´t know what "buffer" and "num" I must use.
Buffer is a memory pointer. Usually something you allocated (in C by
calling malloc) and filled with Data. If you don't know how to do that
I'd urgently advise a basic course in
>[mailto:[EMAIL PROTECTED] Behalf Of Angel Martinez
>Gonzalez
>Sent: Thursday, June 23, 2005 1:26 AM
>To: openssl-users@openssl.org
>Subject: Re: How initialize the PRNG using RAND_seed ?
>
>
>Hello:
>
>Thanks for your help, but I don´t know what "buffer" and
---
From: "Bernhard Froehlich" <[EMAIL PROTECTED]>
To:
Sent: Thursday, June 23, 2005 10:17 AM
Subject: Re: How initialize the PRNG using RAND_seed ?
Angel Martinez Gonzalez wrote:
>Hello:
>
>I need initialize the PRNG to can generate keys and performing public key
>
Angel Martinez Gonzalez wrote:
Hello:
I need initialize the PRNG to can generate keys and performing public key
encryption.
I want use one of this functions:
void RAND_seed(const void *buf, int num);
void RAND_add(const void *buf, int num, double entropy);
But I don´t know what
Hello:
I need initialize the PRNG to can generate keys and performing public key
encryption.
I want use one of this functions:
void RAND_seed(const void *buf, int num);
void RAND_add(const void *buf, int num, double entropy);
But I don´t know what parameters I have to use. Somebody can
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
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
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
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
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
> 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/
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
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
I have
essentially the same question. I need to be able to call RAND_seed() on both
Windows and UNIX.
__
John Hoel Product Author
Skywire Software 2401 Internet Blvd., Suite 201 Frisco, Texas 75034 (972)377-1110 main (425)396-4687 direct [EMAIL PROTECTED
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
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
Ok, here's my problem. I'm using OpenSSL as part of my application, but not
all users have /dev/random (or /dev/urandom) so what's a developer to do? I
don't really want to seed with a constant string as the test apps do, but I
need a source I can count on. Asking my users aren't system administ
Hi ,
I have the following problem: BN_generate_prime, BN_rand and RSA_sign
fail on Solaris but
they succeed on Linux. I seeded the PNG before calling the functions,
and BN_generate_prime
succeds now, but BN_rand and RSA_sign are still failling. This happens
only on Solaris, the same
code works f
Found the bug myself!
Change ST(1) in SSLeay.xs:2142 to ST(0), this is presumably the id of the
$buffer parameter...
SSLeay.xs:2142:
- char * buf = SvPV( ST(1), len);
+ char * buf = SvPV( ST(0), len);
> Hi all
>
> I've run into a problem with Net::SSLeay::RAND_seed($
Hi all
I've run into a problem with Net::SSLeay::RAND_seed($buf).
I'm working on WinNT4 with Net::SSLeay 1.05 and OpenSSL 0.9.5.
(I'll be posting instructions how to get those two to work together on NT as
soon as the Net::SSLeay homepage is up again)
Since OpenSSL 0.9.5 com
28 matches
Mail list logo