![]() |
Shadowrun: Awakened 29 September 2011 - Build 871
|
#include <Fortuna.hpp>
Inheritance diagram for cat::FortunaFactory:Public Member Functions | |
| bool | Initialize () |
| void | Shutdown () |
Static Public Member Functions | |
| static FortunaOutput * | Create () |
Protected Member Functions | |
| void | GetNextKey (FortunaOutput *output) |
| bool | InitializeEntropySources () |
| void | PollFastEntropySources (int pool) |
| void | PollInvariantSources (int pool) |
| void | PollSlowEntropySources (int pool) |
| bool | Reseed () |
| void | ShutdownEntropySources () |
Protected Attributes | |
| bool | _initialized |
| Skein | Pool [ENTROPY_POOLS] |
| u32 | reseed_counter |
Static Protected Attributes | |
| static const int | ENTROPY_POOLS = 32 |
| static Skein | MasterSeed |
| static u32 | MasterSeedRevision |
| static const int | POOL_BITS = 512 |
| static const int | POOL_BYTES = POOL_BITS / 8 |
| static const int | POOL_QWORDS = POOL_BYTES / sizeof(u64) |
Private Member Functions | |
| CAT_SINGLETON (FortunaFactory) | |
| bool | ThreadFunction (void *param) |
Private Attributes | |
| WaitableFlag | _kill_flag |
| Mutex | _lock |
Static Private Attributes | |
| static const int | ENTROPY_THREAD_KILL_TIMEOUT = 10000 |
Friends | |
| class | FortunaOutput |
Definition at line 112 of file Fortuna.hpp.
| cat::FortunaFactory::CAT_SINGLETON | ( | FortunaFactory | ) | [inline, private] |
| static FortunaOutput* cat::FortunaFactory::Create | ( | ) | [static] |
| void cat::FortunaFactory::GetNextKey | ( | FortunaOutput * | output | ) | [protected] |
| bool cat::FortunaFactory::Initialize | ( | ) |
| bool cat::FortunaFactory::InitializeEntropySources | ( | ) | [protected] |
| void cat::FortunaFactory::PollFastEntropySources | ( | int | pool | ) | [protected] |
| void cat::FortunaFactory::PollInvariantSources | ( | int | pool | ) | [protected] |
| void cat::FortunaFactory::PollSlowEntropySources | ( | int | pool | ) | [protected] |
| bool cat::FortunaFactory::Reseed | ( | ) | [protected] |
| void cat::FortunaFactory::Shutdown | ( | ) |
| void cat::FortunaFactory::ShutdownEntropySources | ( | ) | [protected] |
| bool cat::FortunaFactory::ThreadFunction | ( | void * | param | ) | [private, virtual] |
Implements cat::Thread.
friend class FortunaOutput [friend] |
Definition at line 124 of file Fortuna.hpp.
bool cat::FortunaFactory::_initialized [protected] |
Definition at line 167 of file Fortuna.hpp.
Referenced by CAT_SINGLETON().
WaitableFlag cat::FortunaFactory::_kill_flag [private] |
Definition at line 153 of file Fortuna.hpp.
Mutex cat::FortunaFactory::_lock [private] |
Definition at line 122 of file Fortuna.hpp.
const int cat::FortunaFactory::ENTROPY_POOLS = 32 [static, protected] |
Definition at line 159 of file Fortuna.hpp.
const int cat::FortunaFactory::ENTROPY_THREAD_KILL_TIMEOUT = 10000 [static, private] |
Definition at line 151 of file Fortuna.hpp.
Skein cat::FortunaFactory::MasterSeed [static, protected] |
Definition at line 165 of file Fortuna.hpp.
u32 cat::FortunaFactory::MasterSeedRevision [static, protected] |
Definition at line 164 of file Fortuna.hpp.
Skein cat::FortunaFactory::Pool[ENTROPY_POOLS] [protected] |
Definition at line 169 of file Fortuna.hpp.
const int cat::FortunaFactory::POOL_BITS = 512 [static, protected] |
Definition at line 160 of file Fortuna.hpp.
const int cat::FortunaFactory::POOL_BYTES = POOL_BITS / 8 [static, protected] |
Definition at line 161 of file Fortuna.hpp.
const int cat::FortunaFactory::POOL_QWORDS = POOL_BYTES / sizeof(u64) [static, protected] |
Definition at line 162 of file Fortuna.hpp.
u32 cat::FortunaFactory::reseed_counter [protected] |
Definition at line 168 of file Fortuna.hpp.
Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.