Anklang-0.3.0.dev551+gad1415e2 anklang-0.3.0.dev551+gad1415e2
ASE — Anklang Sound Engine (C++)

« « « Anklang Documentation
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
entropy.cc File Reference
#include "entropy.hh"
#include "randomhash.hh"
#include "strings.hh"
#include "platform.hh"
#include <random>
#include <setjmp.h>
#include <signal.h>
#include <string.h>
#include <stdio.h>
#include <unistd.h>
#include <time.h>
#include <glob.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <net/if.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
#include <sys/times.h>
#include <sys/resource.h>
#include <sys/time.h>
#include <linux/random.h>
#include <sys/syscall.h>
#include <sys/utsname.h>

Go to the source code of this file.

Namespaces

namespace  Ase
 The Anklang C++ API namespace.
 

Functions

void Ase::collect_runtime_entropy (uint64 *data, size_t n)
 To provide good quality random number seeds, this function gathers entropy from a variety of process specific sources.
 
void Ase::collect_system_entropy (uint64 *data, size_t n)
 This function adds to collect_runtime_entropy() by collecting entropy from aditional but potentially slower system sources, such as interrupt counters, disk + network statistics, system load, execution + pipelining + scheduling latencies and device MACs.
 

Variables

static bool const charAse::fileglob
 
static bool const char const size_t Ase::maxbytes