diff options
author | Rob Austein <sra@hactrn.net> | 2007-06-07 02:37:32 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2007-06-07 02:37:32 +0000 |
commit | 5dadf34209c288b8fffba1016e6a3c9446381153 (patch) | |
tree | 2ec36232cafd0da10fffda780f08a43c97d70aad /openssl/trunk/MacOS/Randomizer.h | |
parent | 6fcf9830cfea5236faf42cc3437ed4bed06c16de (diff) |
Replace hacked OpenSSL code with OpenSSL 0.9.8e distribution.
svn path=/openssl/Makefile; revision=659
Diffstat (limited to 'openssl/trunk/MacOS/Randomizer.h')
-rw-r--r-- | openssl/trunk/MacOS/Randomizer.h | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/openssl/trunk/MacOS/Randomizer.h b/openssl/trunk/MacOS/Randomizer.h deleted file mode 100644 index 565537b1..00000000 --- a/openssl/trunk/MacOS/Randomizer.h +++ /dev/null @@ -1,43 +0,0 @@ - -// Gathers unpredictable system data to be used for generating -// random bits - -#include <MacTypes.h> - -class CRandomizer -{ -public: - CRandomizer (void); - void PeriodicAction (void); - -private: - - // Private calls - - void AddTimeSinceMachineStartup (void); - void AddAbsoluteSystemStartupTime (void); - void AddAppRunningTime (void); - void AddStartupVolumeInfo (void); - void AddFiller (void); - - void AddCurrentMouse (void); - void AddNow (double millisecondUncertainty); - void AddBytes (void *data, long size, double entropy); - - void GetTimeBaseResolution (void); - unsigned long SysTimer (void); - - // System Info - bool mSupportsLargeVolumes; - bool mIsPowerPC; - bool mIs601; - - // Time info - double mTimebaseTicksPerMillisec; - unsigned long mLastPeriodicTicks; - - // Mouse info - long mSamplePeriod; - Point mLastMouse; - long mMouseStill; -}; |