diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2014-02-11 22:25:07 -0800 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2014-02-11 22:25:07 -0800 |
commit | b96d7968be429a2e4d13b9141ee6ad333ef1cf42 (patch) | |
tree | f93b49e86acedb9245de6acac48c37fa104ebecd /docs/hazmat/backends/openssl.rst | |
parent | 00f0f2aedf797616b3f2b3c6762f5674bf03b15d (diff) | |
parent | 039b478648caba208441a1edcb9c4a23f84ce1c8 (diff) | |
download | cryptography-b96d7968be429a2e4d13b9141ee6ad333ef1cf42.tar.gz cryptography-b96d7968be429a2e4d13b9141ee6ad333ef1cf42.tar.bz2 cryptography-b96d7968be429a2e4d13b9141ee6ad333ef1cf42.zip |
Merge pull request #595 from reaperhulk/be-more-accurate-about-random
Be accurate when telling Windows users what CryptGenRandom uses
Diffstat (limited to 'docs/hazmat/backends/openssl.rst')
-rw-r--r-- | docs/hazmat/backends/openssl.rst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/hazmat/backends/openssl.rst b/docs/hazmat/backends/openssl.rst index e3880875..d6351c9c 100644 --- a/docs/hazmat/backends/openssl.rst +++ b/docs/hazmat/backends/openssl.rst @@ -62,7 +62,9 @@ OS Random Sources On OS X and FreeBSD ``/dev/urandom`` is an alias for ``/dev/random`` and utilizes the `Yarrow`_ algorithm. -On Windows ``CryptGenRandom`` is backed by `Fortuna`_. +On Windows the implementation of ``CryptGenRandom`` depends on which version of +the operation system you are using. See the `Microsoft documentation`_ for more +details. Linux uses its own PRNG design. ``/dev/urandom`` is a non-blocking source seeded from the same pool as ``/dev/random``. @@ -71,4 +73,4 @@ from the same pool as ``/dev/random``. .. _`OpenSSL`: https://www.openssl.org/ .. _`initializing the RNG`: http://en.wikipedia.org/wiki/OpenSSL#Vulnerability_in_the_Debian_implementation .. _`Yarrow`: http://en.wikipedia.org/wiki/Yarrow_algorithm -.. _`Fortuna`: http://en.wikipedia.org/wiki/Fortuna_(PRNG) +.. _`Microsoft documentation`: http://msdn.microsoft.com/en-us/library/windows/desktop/aa379942(v=vs.85).aspx |