public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Hagen Paul Pfeifer <hpplinuxml@0xdef.net>
To: linux-kernel@vger.kernel.org
Subject: Re: Instantiating my own random number generator
Date: Wed, 12 Oct 2005 10:57:14 +0200	[thread overview]
Message-ID: <20051012085713.GA24974@0xdef.net> (raw)
In-Reply-To: <E90C20D8-AC5D-4E9E-A477-48164FA0E7EE@inf.ufrgs.br>

On 05.10.11 Roberto Jung Drebes pressed the following keys:

>Is there a way I can set this number generator my own seed value, so  
>that I can replay experiments I perform with my module? If I set a  
>seed for the whole system, it would affect other kernel tasks  
>obtaining random numbers through get_random_bytes(), so I guess that  
>is not a good solution.

No, there insn't a direct alternative. get_random_bytes() should be
good enough - do you realize a weak spot?

>TIA,

HGN


  parent reply	other threads:[~2005-10-12  8:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-11 20:46 Instantiating my own random number generator Roberto Jung Drebes
2005-10-12  1:08 ` Horst von Brand
2005-10-12  8:57 ` Hagen Paul Pfeifer [this message]
2005-10-12 12:33   ` linux-os (Dick Johnson)
2005-10-12 12:07 ` Paulo Marques

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=20051012085713.GA24974@0xdef.net \
    --to=hpplinuxml@0xdef.net \
    --cc=linux-kernel@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