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 | cbebe807d8465ef8f541a57c12ed6a3b55f73629 (patch) | |
tree | c5169848f1364c077b5cf726ffaf55d40b84c040 /crypto/vmac.c | |
parent | 4204b130b8a4d1cd2c4a0d9a5a09993e8948defe (diff) | |
download | linux-crypto-cbebe807d8465ef8f541a57c12ed6a3b55f73629.tar.gz linux-crypto-cbebe807d8465ef8f541a57c12ed6a3b55f73629.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 'crypto/vmac.c')
0 files changed, 0 insertions, 0 deletions