Lines Matching defs:prov_drbg_st
69 struct prov_drbg_st { struct
70 CRYPTO_RWLOCK *lock;
71 PROV_CTX *provctx;
74 int (*instantiate)(PROV_DRBG *drbg,
78 int (*uninstantiate)(PROV_DRBG *ctx);
79 int (*reseed)(PROV_DRBG *drbg, const unsigned char *ent, size_t ent_len,
81 int (*generate)(PROV_DRBG *, unsigned char *out, size_t outlen,
85 void *parent;
86 OSSL_FUNC_rand_enable_locking_fn *parent_enable_locking;
87 OSSL_FUNC_rand_lock_fn *parent_lock;
88 OSSL_FUNC_rand_unlock_fn *parent_unlock;
89 OSSL_FUNC_rand_get_ctx_params_fn *parent_get_ctx_params;
90 OSSL_FUNC_rand_nonce_fn *parent_nonce;
91 OSSL_FUNC_rand_get_seed_fn *parent_get_seed;
92 OSSL_FUNC_rand_clear_seed_fn *parent_clear_seed;
100 int fork_id;
101 unsigned short flags; /* various external flags */
123 unsigned int strength;
124 size_t max_request;
125 size_t min_entropylen, max_entropylen;
126 size_t min_noncelen, max_noncelen;
127 size_t max_perslen, max_adinlen;
134 unsigned int generate_counter;
139 unsigned int reseed_interval;
141 time_t reseed_time;
146 time_t reseed_time_interval;
157 TSAN_QUALIFIER unsigned int reseed_counter;
158 unsigned int reseed_next_counter;
159 unsigned int parent_reseed_counter;
161 size_t seedlen;
162 DRBG_STATUS state;
165 void *data;
168 void *callback_arg;
169 OSSL_INOUT_CALLBACK *get_entropy_fn;
170 OSSL_CALLBACK *cleanup_entropy_fn;
171 OSSL_INOUT_CALLBACK *get_nonce_fn;
172 OSSL_CALLBACK *cleanup_nonce_fn;