diff options
| author | Ard Biesheuvel <ardb@kernel.org> | 2020-12-08 15:34:41 +0100 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-01-03 08:41:34 +1100 |
| commit | 303fd3e1c771077e32e96e5788817f025f0067e2 (patch) | |
| tree | 2bcc909ead3481c11260807606f258be544a7c32 /scripts/patch-kernel | |
| parent | ddf169a98f01d6fd46295ec0dd4c1d6385be65d4 (diff) | |
| download | cachepc-linux-303fd3e1c771077e32e96e5788817f025f0067e2.tar.gz cachepc-linux-303fd3e1c771077e32e96e5788817f025f0067e2.zip | |
crypto: tcrypt - avoid signed overflow in byte count
The signed long type used for printing the number of bytes processed in
tcrypt benchmarks limits the range to -/+ 2 GiB, which is not sufficient
to cover the performance of common accelerated ciphers such as AES-NI
when benchmarked with sec=1. So switch to u64 instead.
While at it, fix up a missing printk->pr_cont conversion in the AEAD
benchmark.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
