diff options
author | Stephan Mueller <smueller@chronox.de> | 2015-03-01 20:40:17 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-03-04 22:13:29 +1300 |
commit | ea2481e2469ac9237110827f6aaf64c2302176c0 (patch) | |
tree | f3c64b275400ffe19914afff1fb4da526907768b /crypto/af_alg.c | |
parent | cb437ccd61e61b050ea2473041b5c64083162a57 (diff) | |
download | linux-crypto-ea2481e2469ac9237110827f6aaf64c2302176c0.tar.gz linux-crypto-ea2481e2469ac9237110827f6aaf64c2302176c0.zip |
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>
Diffstat (limited to 'crypto/af_alg.c')
0 files changed, 0 insertions, 0 deletions