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

« « « Anklang Documentation
Loading...
Searching...
No Matches
entropy.hh
Go to the documentation of this file.
1 // This Source Code Form is licensed MPL-2.0: http://mozilla.org/MPL/2.0
2#ifndef __ASE_ENTROPY_HH__
3#define __ASE_ENTROPY_HH__
4
5#include <ase/cxxaux.hh>
6
7namespace Ase {
8
10void collect_runtime_entropy (uint64 *data, size_t n);
11
13void collect_system_entropy (uint64 *data, size_t n);
14
15} // Ase
16
17#endif // __ASE_ENTROPY_HH__
The Anklang C++ API namespace.
Definition api.hh:9
uint64_t uint64
A 64-bit unsigned integer, use PRI*64 in format strings.
Definition cxxaux.hh:25
void collect_runtime_entropy(uint64 *data, size_t n)
To provide good quality random number seeds, this function gathers entropy from a variety of process ...
Definition entropy.cc:408
void collect_system_entropy(uint64 *data, size_t n)
This function adds to collect_runtime_entropy() by collecting entropy from aditional but potentially ...
Definition entropy.cc:426