diff options
author | Stephan Mueller <[email protected]> | 2015-03-01 20:39:17 +0100 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2015-03-04 22:13:29 +1300 |
commit | 04bcbfcf7e28ba502383a8e19d99960ab8e347c8 (patch) | |
tree | 36fc2e3be9d626e4396305ece16a7bc8a203940d /tools/perf/scripts/python/sctop.py | |
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 <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions