Re: [PATCH 1/4] cryoto: drbg - clear all temporary memory

2015-04-18 Thread Herbert Xu
On Fri, Apr 17, 2015 at 02:54:08PM +0200, Stephan Mueller wrote: > The buffer uses for temporary data must be cleared entirely. In AES192 > the used buffer is drbg_statelen(drbg) + drbg_blocklen(drbg) as > documented in the comment above drbg_ctr_df. > > This patch ensures that the temp buffer is

[PATCH 1/4] cryoto: drbg - clear all temporary memory

2015-04-17 Thread Stephan Mueller
The buffer uses for temporary data must be cleared entirely. In AES192 the used buffer is drbg_statelen(drbg) + drbg_blocklen(drbg) as documented in the comment above drbg_ctr_df. This patch ensures that the temp buffer is completely wiped. Signed-off-by: Stephan Mueller --- crypto/drbg.c | 2 +