Lines Matching defs:reseed_counter
111 D->reseed_counter = UINT_MAX; /* paranoia: make generate fail */
149 /* 5. reseed_counter = 1 */
150 D->reseed_counter = 1;
189 /* 5. reseed_counter = 1 */
190 D->reseed_counter = 1;
206 uint8_t reseed_counter[4];
211 * 1. If reseed_counter > reseed_interval, then return an
214 if (D->reseed_counter > NIST_HASH_DRBG_RESEED_INTERVAL)
243 /* 5. V = (V + H + C + reseed_counter) mod 2^seedlen */
244 be32enc(reseed_counter, D->reseed_counter);
247 add8(D->V, sizeof D->V, reseed_counter, sizeof reseed_counter);
249 /* 6. reseed_counter = reseed_counter + 1 */
250 D->reseed_counter++;
1079 unsigned reseed_counter;
1086 reseed_counter = 1;
1089 if (D->reseed_counter != reseed_counter) {
1091 D->reseed_counter, reseed_counter);
1106 reseed_counter++;
1112 if (D->reseed_counter != reseed_counter) {
1114 D->reseed_counter, reseed_counter);
1123 reseed_counter = 1;
1130 reseed_counter++;
1136 if (D->reseed_counter != reseed_counter) {
1138 D->reseed_counter, reseed_counter);