Entropy Pool
include/crypto/entropy_pool.h View source View on GitHubStructs
Section titled “Structs”entropy_pool
Section titled “entropy_pool” struct entropy_pool (4 fields) source
Functions
Section titled “Functions”entropy_pool_init
Section titled “entropy_pool_init”void entropy_pool_init(struct entropy_pool *pool) source entropy_pool_add
Section titled “entropy_pool_add”void entropy_pool_add(
struct entropy_pool *pool,
const uint8_t *data,
uint64_t len,
uint64_t entropy_bits
) source entropy_pool_decrease
Section titled “entropy_pool_decrease”void entropy_pool_decrease(struct entropy_pool *pool, uint64_t bits) source entropy_pool_seed
Section titled “entropy_pool_seed”void entropy_pool_seed(struct entropy_pool *pool) source entropy_pool_reseed
Section titled “entropy_pool_reseed”void entropy_pool_reseed(struct entropy_pool *pool) source Macros
Section titled “Macros”ENTROPY_POOL_SIZE
Section titled “ENTROPY_POOL_SIZE”#define ENTROPY_POOL_SIZE 64 source 512 bits
ENTROPY_MAX_BITS
Section titled “ENTROPY_MAX_BITS”#define ENTROPY_MAX_BITS to_bits(ENTROPY_POOL_SIZE) source