From b4f7d88eccdd9a4ef81c9d972e2d0a1dcbb796d2 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Tue, 11 Feb 2014 23:29:51 -0600 Subject: be accurate when telling users what CryptGenRandom uses under the hood --- docs/hazmat/backends/openssl.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/hazmat/backends/openssl.rst b/docs/hazmat/backends/openssl.rst index e3880875..7f86d87e 100644 --- a/docs/hazmat/backends/openssl.rst +++ b/docs/hazmat/backends/openssl.rst @@ -62,7 +62,8 @@ 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 ``CryptGenRandom`` can use a variety of algorithms depending on the +version. View 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 +72,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 -- cgit v1.2.3 From 012bfbc69f8e722bd446482dbec663f71f14e889 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Tue, 11 Feb 2014 23:37:51 -0600 Subject: less confusing language --- docs/hazmat/backends/openssl.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/hazmat/backends/openssl.rst b/docs/hazmat/backends/openssl.rst index 7f86d87e..79fa0b32 100644 --- a/docs/hazmat/backends/openssl.rst +++ b/docs/hazmat/backends/openssl.rst @@ -62,8 +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`` can use a variety of algorithms depending on the -version. View the `Microsoft documentation`_ for more details. +On Windows the implementation of ``CryptGenRandom`` depends on which version of +the operation sytem 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``. -- cgit v1.2.3 From 039b478648caba208441a1edcb9c4a23f84ce1c8 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Tue, 11 Feb 2014 23:50:56 -0600 Subject: typo --- docs/hazmat/backends/openssl.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/hazmat/backends/openssl.rst b/docs/hazmat/backends/openssl.rst index 79fa0b32..d6351c9c 100644 --- a/docs/hazmat/backends/openssl.rst +++ b/docs/hazmat/backends/openssl.rst @@ -63,7 +63,7 @@ On OS X and FreeBSD ``/dev/urandom`` is an alias for ``/dev/random`` and utilizes the `Yarrow`_ algorithm. On Windows the implementation of ``CryptGenRandom`` depends on which version of -the operation sytem you are using. See the `Microsoft documentation`_ for more +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 -- cgit v1.2.3