|
|
@ -1,4 +1,4 @@ |
|
|
|
/* $OpenBSD: arc4random.c,v 1.21 2009/12/15 18:19:06 guenther Exp $ */ |
|
|
|
/* $OpenBSD: arc4random.c,v 1.22 2010/12/22 08:23:42 otto Exp $ */ |
|
|
|
|
|
|
|
/* |
|
|
|
* Copyright (c) 1996, David Mazieres <dm@uun.org> |
|
|
@ -26,11 +26,6 @@ |
|
|
|
* which is a trade secret). The same algorithm is used as a stream |
|
|
|
* cipher called "arcfour" in Tatu Ylonen's ssh package. |
|
|
|
* |
|
|
|
* Here the stream cipher has been modified always to include the time |
|
|
|
* when initializing the state. That makes it impossible to |
|
|
|
* regenerate the same random sequence twice, so this can't be used |
|
|
|
* for encryption, but will generate good random numbers. |
|
|
|
* |
|
|
|
* RC4 is a registered trademark of RSA Laboratories. |
|
|
|
*/ |
|
|
|
|
|
|
|