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

看板DFBSD_submit作者時間21年前 (2004/05/14 04:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串13/18 (看更多)
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
文章代碼(AID): #10ezjH00 (DFBSD_submit)
討論串 (同標題文章)
文章代碼(AID): #10ezjH00 (DFBSD_submit)