Branch: Tag:

2017-11-26

2017-11-26 17:36:35 by Martin Nilsson <nilsson@fastmail.com>

Check for entropy underflow when the per-call output limit is reached.

494:    str += 16;       if( !(stored % (1<<19)) ) +  {    ctr_debug_update(NULL); -  +  THIS->reseed_counter++; +  if(THIS->reseed_counter>THIS->reseed_interval) +  apply_current(f_Nettle_AES128_CTR_DRBG_entropy_underflow_fun_num, 0);    } -  +  }       if( len>stored )    {