From d09b483574412959e39d47f913b3554aded03a9d Mon Sep 17 00:00:00 2001 From: weidai Date: Mon, 16 Apr 2007 00:41:11 +0000 Subject: [PATCH] clarify comments --- trunk/c5/osrng.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/trunk/c5/osrng.h b/trunk/c5/osrng.h index c860cb24..448a905a 100644 --- a/trunk/c5/osrng.h +++ b/trunk/c5/osrng.h @@ -63,7 +63,7 @@ protected: #ifdef BLOCKING_RNG_AVAILABLE -//! encapsulate /dev/random +//! encapsulate /dev/random, or /dev/srandom on OpenBSD class CRYPTOPP_DLL BlockingRng : public RandomNumberGenerator { public: @@ -85,7 +85,7 @@ CRYPTOPP_DLL void CRYPTOPP_API OS_GenerateRandomBlock(bool blocking, byte *outpu class CRYPTOPP_DLL AutoSeededRandomPool : public RandomPool { public: - //! blocking will be ignored if the prefered RNG isn't available + //! use blocking to choose seeding with BlockingRng or NonblockingRng. the parameter is ignored if only one of these is available explicit AutoSeededRandomPool(bool blocking = false, unsigned int seedSize = 32) {Reseed(blocking, seedSize);} void Reseed(bool blocking = false, unsigned int seedSize = 32); @@ -96,7 +96,7 @@ template class AutoSeededX917RNG : public RandomNumberGenerator, public NotCopyable { public: - //! blocking will be ignored if the prefered RNG isn't available + //! use blocking to choose seeding with BlockingRng or NonblockingRng. the parameter is ignored if only one of these is available explicit AutoSeededX917RNG(bool blocking = false) {Reseed(blocking);} void Reseed(bool blocking = false);