CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2016/01/12 16:00:13

Modified files:
        sys/arch/amd64/stand/libsa: random_amd64.S random_i386.S 
        sys/arch/i386/stand/libsa: random_i386.S 

Log message:
naddy observed the TSC fallback code could encounter (high word) %edx
being 0; after multiply there is no perturbance to the from-disk entropy
buffer.  Further investigation showed perturbance was biased towards
the lower bytes of a word.  Compensate for this with a hocus pocus
bit-spreading operation which applies a result byte by byte.
discussion with kettenis, tb, mlarkin, naddy
ok naddy

Reply via email to