Searched defs:rand_pool_st (Results 1 – 2 of 2) sorted by relevance
71 typedef struct rand_pool_st { struct72 unsigned char *buffer; /* points to the beginning of the random pool */73 size_t len; /* current number of random bytes contained in the pool */75 int attached; /* true pool was attached to existing buffer */76 int secure; /* 1: allocated on the secure heap, 0: otherwise */78 size_t min_len; /* minimum number of random bytes requested */79 size_t max_len; /* maximum number of random bytes (allocated buffer size) */80 size_t alloc_len; /* current number of bytes allocated */81 size_t entropy; /* current entropy count in bits */82 size_t entropy_requested; /* requested entropy count in bits */
167 struct rand_pool_st { struct168 unsigned char *buffer; /* points to the beginning of the random pool */169 size_t len; /* current number of random bytes contained in the pool */171 int attached; /* true pool was attached to existing buffer */172 int secure; /* 1: allocated on the secure heap, 0: otherwise */174 size_t min_len; /* minimum number of random bytes requested */175 size_t max_len; /* maximum number of random bytes (allocated buffer size) */176 size_t alloc_len; /* current number of bytes allocated */177 size_t entropy; /* current entropy count in bits */178 size_t entropy_requested; /* requested entropy count in bits */