summaryrefslogtreecommitdiff
path: root/crypto/xcbc.c
diff options
context:
space:
mode:
authorStephan Mueller <smueller@chronox.de>2015-03-01 20:40:17 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2015-03-04 22:13:29 +1300
commitea2481e2469ac9237110827f6aaf64c2302176c0 (patch)
treef3c64b275400ffe19914afff1fb4da526907768b /crypto/xcbc.c
parentcb437ccd61e61b050ea2473041b5c64083162a57 (diff)
downloadlinux-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/xcbc.c')
0 files changed, 0 insertions, 0 deletions