DragonFly BSD
DragonFly submit List (threaded) for 2004-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: [PATCH] rand.c updates from FreeBSD RELENG_5


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Thu, 13 May 2004 14:11:21 +0200

On Wed, May 12, 2004 at 07:29:09PM -0500, William M. Grim wrote:
> @@ -85,14 +88,24 @@
>  value is provided, the functions are automatically
>  seeded with a value of 1.
>  .Pp
> +The
> +.Fn sranddev
> +function initializes a seed using the
> +.Xr random 4
> +random number device which returns good random numbers,
> +suitable for cryptographic use.

This part of the patch is out-of-sync.

> +.Pp
> +The
>  .Fn rand_r
> +function
>  provides the same functionality as
>  .Fn rand .
>  A pointer to the context value
>  .Fa ctx
>  must be supplied by the caller.
>  .Sh SEE ALSO
> -.Xr random 3
> +.Xr random 3 ,
> +.Xr random 4
>  .Sh STANDARDS
>  The
>  .Fn rand




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