-
Notifications
You must be signed in to change notification settings - Fork 30.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deps: upgrade to HEAD of OpenSSL_1_0_1-stable
Use the current HEAD of OpenSSL_1_0_1-stable branch as the forthcoming openssl-1.0.1m and all sources are just extracted.
- Loading branch information
Shigeki Ohtsu
committed
Mar 18, 2015
1 parent
2b63bcd
commit 879c4c3
Showing
1,220 changed files
with
284,531 additions
and
297,587 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,42 @@ | ||
|
||
// Gathers unpredictable system data to be used for generating | ||
// random bits | ||
// 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; | ||
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; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
#include <MacHeaders.h> | ||
#define B_ENDIAN | ||
#ifdef __POWERPC__ | ||
#pragma longlong on | ||
# pragma longlong on | ||
#endif | ||
#if 1 | ||
#define MAC_OS_GUSI_SOURCE | ||
# define MAC_OS_GUSI_SOURCE | ||
#endif | ||
#define MONOLITH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
#include <MacHeaders.h> | ||
#define B_ENDIAN | ||
#ifdef __POWERPC__ | ||
#pragma longlong on | ||
# pragma longlong on | ||
#endif | ||
#if 0 | ||
#define MAC_OS_GUSI_SOURCE | ||
# define MAC_OS_GUSI_SOURCE | ||
#endif | ||
#define MONOLITH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#ifndef MK1MF_BUILD | ||
# define CFLAGS "-DB_ENDIAN" | ||
# define PLATFORM "macos" | ||
# define DATE "Sun Feb 27 19:44:16 MET 2000" | ||
# define CFLAGS "-DB_ENDIAN" | ||
# define PLATFORM "macos" | ||
# define DATE "Sun Feb 27 19:44:16 MET 2000" | ||
#endif |
Oops, something went wrong.