commit | 37821da088d090d8e152f3f8cc072948fa544e5a | [log] [tgz] |
---|---|---|
author | Stephan Mueller <smueller@chronox.de> | Sun Mar 01 20:40:17 2015 +0100 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Wed Mar 04 22:13:29 2015 +1300 |
tree | 68a2ec28c6f2ebca89767609bb70af7612c7f430 | |
parent | 04bcbfcf7e28ba502383a8e19d99960ab8e347c8 [diff] |
crypto: drbg - remove superflowous memsets The DRBG code contains memset(0) calls to initialize a varaible that are not necessary as the variable is always overwritten by the processing. This patch increases the CTR and Hash DRBGs by about 5%. Signed-off-by: Stephan Mueller <smueller@chronox.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>