commit | 8e0498d99f182dd06c012dfc62768e8ca0450adf | [log] [tgz] |
---|---|---|
author | Stephan Mueller <smueller@chronox.de> | Fri Apr 17 14:54:08 2015 +0200 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Tue Apr 21 09:14:38 2015 +0800 |
tree | f0fcc1eab2958f309989812113c56cf8c74728e4 | |
parent | 1a92b2ba339221a4afee43adf125fcc9a41353f7 [diff] |
cryoto: drbg - clear all temporary memory 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 <smueller@chronox.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>