summaryrefslogtreecommitdiffstats
path: root/crypto/testmgr.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2019-03-10 20:00:58 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2019-03-22 13:57:26 +0100
commitf808aa3f245e778c27fc923afc040c40b94697d4 (patch)
tree873d700c426e0377149683e12df08b2737988fa3 /crypto/testmgr.c
parentcrypto: x86/morus1280 - convert to use AEAD SIMD helpers (diff)
downloadlinux-f808aa3f245e778c27fc923afc040c40b94697d4.tar.xz
linux-f808aa3f245e778c27fc923afc040c40b94697d4.zip
crypto: testmgr - remove workaround for AEADs that modify aead_request
Now that all AEAD algorithms (that I have the hardware to test, at least) have been fixed to not modify the user-provided aead_request, remove the workaround from testmgr that reset aead_request::tfm after each AEAD encryption/decryption. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/testmgr.c')
-rw-r--r--crypto/testmgr.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/crypto/testmgr.c b/crypto/testmgr.c
index 8386038d67c7..5d56b2990762 100644
--- a/crypto/testmgr.c
+++ b/crypto/testmgr.c
@@ -1237,9 +1237,6 @@ static int test_aead_vec_cfg(const char *driver, int enc,
aead_request_set_ad(req, vec->alen);
err = crypto_wait_req(enc ? crypto_aead_encrypt(req) :
crypto_aead_decrypt(req), &wait);
-
- aead_request_set_tfm(req, tfm); /* TODO: get rid of this */
-
if (err) {
if (err == -EBADMSG && vec->novrfy)
return 0;