diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2017-05-02 16:40:01 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2017-05-02 16:40:01 (GMT) |
commit | 0a2b8b8e0bc2e91a9f10659b30e2e4f5b79ce692 (patch) | |
tree | 3d0871d05cfd11f60b86829d2d93704034dad24e /openssl/MacOS/Randomizer.h | |
parent | e9abe0dba896d2b0fc22301588336e89ff246ba7 (diff) | |
download | blt-0a2b8b8e0bc2e91a9f10659b30e2e4f5b79ce692.zip blt-0a2b8b8e0bc2e91a9f10659b30e2e4f5b79ce692.tar.gz blt-0a2b8b8e0bc2e91a9f10659b30e2e4f5b79ce692.tar.bz2 |
reinstall
Diffstat (limited to 'openssl/MacOS/Randomizer.h')
-rw-r--r-- | openssl/MacOS/Randomizer.h | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/openssl/MacOS/Randomizer.h b/openssl/MacOS/Randomizer.h deleted file mode 100644 index 7c8b076..0000000 --- a/openssl/MacOS/Randomizer.h +++ /dev/null @@ -1,42 +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; -}; |