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 | 04bcbfcf7e28ba502383a8e19d99960ab8e347c8 (patch) | |
tree | 36fc2e3be9d626e4396305ece16a7bc8a203940d /.gitignore | |
parent | e8e5995372ac3fc63995915dcb351f38a3560018 (diff) |
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 '.gitignore')
0 files changed, 0 insertions, 0 deletions