File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -169,14 +169,19 @@ extern "C" {
169
169
typedef struct mbedtls_ctr_drbg_context
170
170
{
171
171
unsigned char counter [16 ]; /*!< The counter (V). */
172
- int reseed_counter ; /*!< The reseed counter. */
172
+ int reseed_counter ; /*!< The reseed counter.
173
+ * This is the number of requests that have
174
+ * been made since the last (re)seeding,
175
+ * minus one. */
173
176
int prediction_resistance ; /*!< This determines whether prediction
174
177
resistance is enabled, that is
175
178
whether to systematically reseed before
176
179
each random generation. */
177
180
size_t entropy_len ; /*!< The amount of entropy grabbed on each
178
- seed or reseed operation. */
179
- int reseed_interval ; /*!< The reseed interval. */
181
+ seed or reseed operation, in bytes. */
182
+ int reseed_interval ; /*!< The reseed interval.
183
+ * This is the maximum number of requests
184
+ * that can be made between reseedings. */
180
185
181
186
mbedtls_aes_context aes_ctx ; /*!< The AES context. */
182
187
You can’t perform that action at this time.
0 commit comments