This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/4417] New: arc4random function addition
- From: "robert at linuxfromscratch dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 24 Apr 2007 03:20:46 -0000
- Subject: [Bug libc/4417] New: arc4random function addition
- Reply-to: sourceware-bugzilla at sourceware dot org
Hello. I'm attaching patches for adding the arc4random(3) library function. The
patch includes a manual page. This function uses the free Arcfour (another-rc4)
stream cipher, seeded with entropy. This function is intended for
non-cryptographic uses, such as for mktemp.
As-is this patch takes 128 bits from /dev/urandom, or gettimeofday/getpid
if /dev/urandom is not available. This can be more flexable, to use hp-timing.
I would suggest arc4random() is used in place of hp-timing throughout the Glibc
package, with the exception of the stack protector (for performance reasons),
and use hp-timing in arc4random.c.
--
Summary: arc4random function addition
Product: glibc
Version: unspecified
Status: NEW
Severity: enhancement
Priority: P3
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: robert at linuxfromscratch dot org
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=4417
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.