linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hagen Paul Pfeifer <hagen@jauu.net>
To: linux-c-programming@vger.kernel.org
Subject: Re: How to use /dev/random
Date: Thu, 22 Sep 2005 11:42:28 +0200	[thread overview]
Message-ID: <20050922094228.GB22985@0xdef.net> (raw)
In-Reply-To: <200509221111.07711.hitoc_mail@yahoo.it>

* HIToC | 2005-09-22 11:11:07 [+0200]:

>Hello list!
>	Is there anyone who can explain how to use /dev/random in
>order to obtain random numbers?

One of the best source out there is gnupg - especially
cipher/rndlinux.c.

There you will find everything you wan't! ;-)

>I don't know if this is the best manner whitin the Linux Kernel to
>generate random numbers, but if someone has better ideas, they
>will be greatly appreciated.

It is, except you own a cryptographic rnd device ...

>HIToC

HGN

-- 
A computer is like an Old Testament god, with a lot of rules  and
no mercy. - Joseph Campbell

  reply	other threads:[~2005-09-22  9:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-22  9:11 How to use /dev/random HIToC
2005-09-22  9:42 ` Hagen Paul Pfeifer [this message]
2005-09-22  9:53 ` Steve Graegert
2005-09-23  9:16   ` HIToC
2005-09-23 15:44     ` Glynn Clements
2005-09-23 16:31       ` HIToC

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050922094228.GB22985@0xdef.net \
    --to=hagen@jauu.net \
    --cc=linux-c-programming@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).