diff options
author | Gilad Ben-Yossef <gilad@benyossef.com> | 2017-12-17 08:29:01 +0000 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-12-28 17:56:39 +1100 |
commit | afb87203b36b8d120a0d01e729313c3d483feb59 (patch) | |
tree | bdb7c40965ead56999964608f24e2bb848f181a6 /crypto/rng.c | |
parent | f696ab85aa28632425bebed97bcbe7018c892841 (diff) | |
download | linux-crypto-afb87203b36b8d120a0d01e729313c3d483feb59.tar.gz linux-crypto-afb87203b36b8d120a0d01e729313c3d483feb59.zip |
crypto: tcrypt - fix AEAD decryption speed test
The AEAD speed test pretended to support decryption, however that support
was broken as decryption requires a valid auth field which the test did
not provide.
Fix this by running the encryption path once with inout/output sgls
switched to calculate the auth field prior to performing decryption
speed tests.
Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/rng.c')
0 files changed, 0 insertions, 0 deletions