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 | 4431bd49530c7379dffaf0963d69bdab7fbead05 (patch) | |
tree | ac82c63e4c80d128014e87c958900fce512c2b66 /crypto/wp512.c | |
parent | 7c3f13238992884abf3782dcc8e97e0862e5c23e (diff) | |
download | linux-4431bd49530c7379dffaf0963d69bdab7fbead05.tar.gz linux-4431bd49530c7379dffaf0963d69bdab7fbead05.tar.bz2 linux-4431bd49530c7379dffaf0963d69bdab7fbead05.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/wp512.c')
0 files changed, 0 insertions, 0 deletions