X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=lib%2Fopenssl%2FMacOS%2FRandomizer.h;fp=lib%2Fopenssl%2FMacOS%2FRandomizer.h;h=0000000000000000000000000000000000000000;hb=02ed66432c92de70694700164f986190aad3cbc5;hp=565537b15dfb951adb0c1ad0ec45b34d83f39ab1;hpb=89016837dcbf2775cd15dc8cbaba00dc6379f86e;p=cassiopeia.git diff --git a/lib/openssl/MacOS/Randomizer.h b/lib/openssl/MacOS/Randomizer.h deleted file mode 100644 index 565537b..0000000 --- a/lib/openssl/MacOS/Randomizer.h +++ /dev/null @@ -1,43 +0,0 @@ - -// Gathers unpredictable system data to be used for generating -// random bits - -#include - -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; -};