Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 606740
Collapse All | Expand All

(-)a/random/random-drbg.c (-2 / +2 lines)
Lines 1021-1027 drbg_hmac_update (drbg_state_t drbg, drbg_string_t *seed, int reseed) Link Here
1021
    {
1021
    {
1022
      /* 10.1.2.3 step 2 already implicitly covered with
1022
      /* 10.1.2.3 step 2 already implicitly covered with
1023
       * the initial memset(0) of drbg->C */
1023
       * the initial memset(0) of drbg->C */
1024
      memset (drbg->V, 1, drbg_statelen (drbg));
1024
      if(drbg_statelen (drbg))
1025
        memset (drbg->V, 1, drbg_statelen (drbg));
1025
      ret = drbg_hmac_setkey (drbg, drbg->C);
1026
      ret = drbg_hmac_setkey (drbg, drbg->C);
1026
      if (ret)
1027
      if (ret)
1027
	return ret;
1028
	return ret;
1028
- 

Return to bug 606740