Lines Matching refs:RAND_POOL
34 typedef struct rand_pool_st RAND_POOL; typedef
41 size_t rand_acquire_entropy_from_tsc(RAND_POOL *pool);
42 size_t rand_acquire_entropy_from_cpu(RAND_POOL *pool);
57 size_t rand_drbg_get_additional_data(RAND_POOL *pool, unsigned char **pout);
59 void rand_drbg_cleanup_additional_data(RAND_POOL *pool, unsigned char *out);
64 RAND_POOL *rand_pool_new(int entropy_requested, int secure,
66 RAND_POOL *rand_pool_attach(const unsigned char *buffer, size_t len,
68 void rand_pool_free(RAND_POOL *pool);
70 const unsigned char *rand_pool_buffer(RAND_POOL *pool);
71 unsigned char *rand_pool_detach(RAND_POOL *pool);
72 void rand_pool_reattach(RAND_POOL *pool, unsigned char *buffer);
74 size_t rand_pool_entropy(RAND_POOL *pool);
75 size_t rand_pool_length(RAND_POOL *pool);
77 size_t rand_pool_entropy_available(RAND_POOL *pool);
78 size_t rand_pool_entropy_needed(RAND_POOL *pool);
80 size_t rand_pool_bytes_needed(RAND_POOL *pool, unsigned int entropy_factor);
81 size_t rand_pool_bytes_remaining(RAND_POOL *pool);
83 int rand_pool_add(RAND_POOL *pool,
85 unsigned char *rand_pool_add_begin(RAND_POOL *pool, size_t len);
86 int rand_pool_add_end(RAND_POOL *pool, size_t len, size_t entropy);
99 size_t rand_pool_acquire_entropy(RAND_POOL *pool);
113 int rand_pool_add_nonce_data(RAND_POOL *pool);
125 int rand_pool_add_additional_data(RAND_POOL *pool);