diff options
author | Stephan Mueller <smueller@chronox.de> | 2015-03-01 20:39:17 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-03-04 22:13:29 +1300 |
commit | cb437ccd61e61b050ea2473041b5c64083162a57 (patch) | |
tree | c2556d373c55b87a51099105378fcb0a32923e42 /crypto/blowfish_common.c | |
parent | 4cb2baf91e96c1549a9aced081f1ea086ae06647 (diff) | |
download | linux-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/blowfish_common.c')
0 files changed, 0 insertions, 0 deletions