summaryrefslogtreecommitdiff
path: root/crypto/rmd256.c
diff options
context:
space:
mode:
authorStephan Mueller <smueller@chronox.de>2015-03-01 20:39:17 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2015-03-04 22:13:29 +1300
commitcb437ccd61e61b050ea2473041b5c64083162a57 (patch)
treec2556d373c55b87a51099105378fcb0a32923e42 /crypto/rmd256.c
parent4cb2baf91e96c1549a9aced081f1ea086ae06647 (diff)
downloadlinux-crypto-cb437ccd61e61b050ea2473041b5c64083162a57.tar.gz
linux-crypto-cb437ccd61e61b050ea2473041b5c64083162a57.zip
crypto: drbg - use single block cipher API
The CTR DRBG only encrypts one single block at a time. Thus, use the single block crypto API to avoid additional overhead from the block chaining modes. With the patch, the speed of the DRBG increases between 30% and 40%. The DRBG still passes the CTR DRBG CAVS test. Signed-off-by: Stephan Mueller <smueller@chronox.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/rmd256.c')
0 files changed, 0 insertions, 0 deletions