Anklang 0.3.0-460-gc4ef46ba
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)
Collect entropy from the current process, usually quicker than collect_system_entropy().
Definition entropy.cc:408
void collect_system_entropy(uint64 *data, size_t n)
Collect entropy from system devices, like interrupt counters, clocks and random devices.
Definition entropy.cc:426