#include "OW_config.h"
#include "OW_CryptographicRandomNumber.hpp"
#include "OW_ExceptionIds.hpp"
#include "OW_Assertion.hpp"
#include "OW_Exec.hpp"
#include "OW_Thread.hpp"
#include "OW_FileSystem.hpp"
#include "OW_ThreadOnce.hpp"
#include "OW_Mutex.hpp"
#include "OW_MutexLock.hpp"
#include "OW_String.hpp"
#include "OW_Array.hpp"
#include "OW_SSLCtxMgr.hpp"
#include "OW_UnnamedPipe.hpp"
#include <vector>
#include <climits>
#include <csignal>
#include <openssl/rand.h>
#include <openssl/crypto.h>
#include <openssl/err.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
Include dependency graph for OW_CryptographicRandomNumber.cpp:
Go to the source code of this file.
Namespaces | |
namespace | OW_NAMESPACE |
Functions | |
int | OW_NAMESPACE::getNumBits (Int32 num) |
bool | OW_NAMESPACE::randFilePathIsSecure (const String &randFilePath) |
bool | OW_NAMESPACE::randFileIsSecure (const char *randFile) |
static void | OW_NAMESPACE::randomALRMHandler (int sig) |
void | OW_NAMESPACE::generateRandomTimerData (unsigned char *data, int size, int *iterations) |
void | OW_NAMESPACE::generateRandomDataFromFile (const char *name, int len) |
void | OW_NAMESPACE::generateRandomDataFromTime (double entropy) |
String | OW_NAMESPACE::locateInPath (const String &cmd, const String &path) |
Variables | |
OnceFlag | OW_NAMESPACE::guard |
unsigned int | OW_NAMESPACE::seed = 0 |
volatile sig_atomic_t | OW_NAMESPACE::g_counter |
volatile unsigned char * | OW_NAMESPACE::g_data |
volatile sig_atomic_t | OW_NAMESPACE::g_dataIdx |
int | OW_NAMESPACE::g_dataSize |
Mutex | OW_NAMESPACE::g_randomTimerGuard |
const char * | command |
double | usefulness |
const cmd | OW_NAMESPACE::randomSourceCommands [] |
|
Definition at line 385 of file OW_CryptographicRandomNumber.cpp. Referenced by OW_NAMESPACE::Exec::executeProcessAndGatherOutput(), OW_NAMESPACE::Exec::safePopen(), and OW_NAMESPACE::Exec::safeSystem(). |
|
Definition at line 386 of file OW_CryptographicRandomNumber.cpp. |