What would you consider adequate confirmation?On 23.08.2013 11:26, Ilya Bakulin wrote:On Thursday 22 August 2013 20:16:48 Vladimir 'φ-coder/phcoder' Serbinenko wrote:On 21.08.2013 21:06, Vladimir 'φ-coder/phcoder' Serbinenko wrote:Based on your work, current WIP patch. I've committed some parts of your patch as well as my own fixes. Remainder is attached Current problems: -double/float is mostly a kludge -build-grub-mkfont -nm on OpenBSD doesn't accept same options as GNU one.Only the first problem still remains.I have just tested the compilation of the latest revision (5148) and confirm that it compiles OK! There is a warning about random generator not being secure in util/grub-mkpasswd-pbkdf2.c, which may be supressed by adding "&& ! defined (__OpenBSD__)" to the defines list.To do this we need a confirmation that reading from /dev/urandom is indeed the right way to access PRNG on OpenBSD and that it gives us cryptographically good random.
user@machine: ./ent output Entropy = 7.999956 bits per byte. Optimum compression would reduce the size of this 419430400 byte file by 0 percent. Chi square distribution for 419430400 samples is 257.21, and randomly would exceed this value 44.95 percent of the times. Arithmetic mean value of data bytes is 127.5178 (127.5 = random). Monte Carlo value for Pi is 3.144255776 (error 0.08 percent). Serial correlation coefficient is -0.000120 (totally uncorrelated = 0.0).-----------------------------------------------------
_______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel