On Mon, Dec 09, 2013 at 12:43:09PM +0100, Jason A. Donenfeld wrote: > On Sun, Dec 8, 2013 at 5:18 PM, <[email protected]> wrote: > > - rename csprng to arc4random > > I was watching these commits come in and it made me a bit curious. > > At some point, arc4random, which used to use rc4's generator, was > replaced with chacha's. Then the notion of a cryptographically secure > psuedorandom number generator (csprng) was abstracted, and calls were > wrapped in the csprng functions. That way, it seemed to me, chacha > could be replaced out with another generator if desired. > > But then, with these commits, it seems like csprng was renamed back to > arc4random, but still uses chacha internally? > > I'm a bit curious what the story behind this is. >
Long story short, the name for the cryptographically secure prng on OpenBSD has not been decided yet and my idea to have a temporary csprng() call was causing problems for us when merging to OpenBSD. By renaming back to arc4random() we no longer have this difference between openbsd's tree, master and portable. -- Gilles Chehade https://www.poolp.org @poolpOrg -- You received this mail because you are subscribed to [email protected] To unsubscribe, send a mail to: [email protected]
