Google
  Web www.spinics.net

How to use 'get_random_bytes'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi,
My name is Sven, I'm a 17 years old hacker wannabee from
Hamburg/Germany. I'm currently working on a lottery scheduler for
Linux. First I wanted to implement my own random number generator, but
somebody gave me the hint to use the function 'get_random_bytes'. I
read it, but I still don't know how to use it. It would be very kind
if somebody could post a short example or something like that, that
explaines how to use 'get_random_bytes'.

Thanks in advance
Sven

PS: If somebody has already implemented a lottery scheduler for Linux
or Minix I would like to encourage him to send me his code, even if he
did it for an old version of Linux or Minix. I'm sure that I'll find
at least one thing that I could do better in my code when I've got
something to compare my code with.


-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d- s: a--- C++++ UL+++ P++ L++++ E- W+ N+ !o K- w---
!O M- V- PS+ PE++ Y-- PGP++ t--- 5-- X+ R- tv- b+ DI+ D-
G++ !e h! r- y?
------END GEEK CODE BLOCK------

-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/


[Newbies FAQ]     [Kernel List]     [Site Home]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Rubini]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Networking]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]     [DDR & Rambus]     [UNIX Filesystems]     [Linux Resources]

Add to Google Powered by Linux