summaryrefslogtreecommitdiff
path: root/crypto/pcrypt.c
diff options
context:
space:
mode:
authorStephan Mueller <smueller@chronox.de>2015-03-01 22:40:17 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2015-03-04 12:13:29 +0300
commit37821da088d090d8e152f3f8cc072948fa544e5a (patch)
tree68a2ec28c6f2ebca89767609bb70af7612c7f430 /crypto/pcrypt.c
parent04bcbfcf7e28ba502383a8e19d99960ab8e347c8 (diff)
downloadlinux-37821da088d090d8e152f3f8cc072948fa544e5a.tar.xz
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/pcrypt.c')
0 files changed, 0 insertions, 0 deletions