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