Rewrite prng_fortuna.c to much more closely match the description of Fortuna in chapter 9 of Cryptography Engineering. Add a facility to get OS entropy and implement it for Unix and Windows (not yet tested on Windows) to replace prng/fortuna/entropy.c. Rewrite the test harness to always ensure stable output and perform a statistical test on the predictable internal state resulting from the stable-output tests. https://github.com/krb5/krb5/commit/76a54ee9451a793b2ebd313865fbc10619081d26 Commit By: ghudson Revision: 24652 Changed Files: U trunk/src/lib/crypto/krb/prng/fortuna/Makefile.in U trunk/src/lib/crypto/krb/prng/fortuna/deps D trunk/src/lib/crypto/krb/prng/fortuna/entropy.c D trunk/src/lib/crypto/krb/prng/fortuna/fortuna.h U trunk/src/lib/crypto/krb/prng/fortuna/prng_fortuna.c U trunk/src/lib/crypto/krb/prng/fortuna/t_fortuna.c A trunk/src/lib/crypto/krb/prng/fortuna/t_fortuna.expected D trunk/src/lib/crypto/krb/prng/fortuna/t_fortuna_make_oct.c D trunk/src/lib/crypto/krb/prng/fortuna/t_fortuna_make_oct.expected U trunk/src/lib/crypto/krb/prng/prng.c U trunk/src/lib/crypto/krb/prng/prng.h U trunk/src/lib/crypto/libk5crypto.exports