public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/4417] New: arc4random function addition
@ 2007-04-24  3:20 robert at linuxfromscratch dot org
  2007-04-24  3:24 ` [Bug libc/4417] " robert at linuxfromscratch dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: robert at linuxfromscratch dot org @ 2007-04-24  3:20 UTC (permalink / raw)
  To: glibc-bugs

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.


^ permalink raw reply	[flat|nested] 9+ messages in thread
[parent not found: <bug-4417-131@http.sourceware.org/bugzilla/>]

end of thread, other threads:[~2022-08-01 15:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-24  3:20 [Bug libc/4417] New: arc4random function addition robert at linuxfromscratch dot org
2007-04-24  3:24 ` [Bug libc/4417] " robert at linuxfromscratch dot org
2007-04-24  3:26 ` robert at linuxfromscratch dot org
2007-04-24  3:28 ` robert at linuxfromscratch dot org
2007-04-24  6:48 ` robert at linuxfromscratch dot org
2007-04-24 18:52 ` drepper at redhat dot com
     [not found] <bug-4417-131@http.sourceware.org/bugzilla/>
2022-04-12 11:36 ` adhemerval.zanella at linaro dot org
2022-04-25 11:20 ` fweimer at redhat dot com
2022-08-01 15:49 ` adhemerval.zanella at linaro dot org

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 read-only IMAP folder(s) and NNTP newsgroup(s).