Re: Is fork() hook ever possible?

看板FB_current作者時間14年前 (2011/11/15 14:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串12/13 (看更多)
On Tue, Nov 15, 2011, Andrey Chernov wrote: > In case you mean passing later whole structure like: > > arc4_addrandom((u_char *)&rdat, sizeof(rdat)); > > it will be incorrect because it change known algorithm parameters, which > defines exact 128 bytes and not anything else. No, RC4 keys are anything up to 256 bytes. I think what you really want is a union in any case, but relax. arc4_stir() works right now, so I think it can stay as is until we're ready to make further functional changes, e.g., getting entropy from the KERN_ARND sysctl. But that's complicated by the fact that KERN_ARND won't tell you if it has failed to produce any useful entropy, and I won't have the cycles to look into it for a little while. _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1EmW0VzQ (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1EmW0VzQ (FB_current)