MLK-22039: Revert "MLK-14785 CAAM: Fix gcm.c to work correctly with CAAM"
authorHoria Geantă <horia.geanta@nxp.com>
Wed, 3 Jul 2019 13:12:23 +0000 (16:12 +0300)
committerHoria Geantă <horia.geanta@nxp.com>
Fri, 5 Jul 2019 15:00:31 +0000 (18:00 +0300)
This reverts commit 80e2831298dc83891d8e6b5d4d71b3692aa74e30.

Now that the IV update is done by CAAM engine, the cacheline sharing issue
is no longer noticed. Thus this fix is no longer needed.

Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Reviewed-by: Iuliana Prodan <iuliana.prodan@nxp.com>
crypto/gcm.c

index f89deff..0ad879e 100644 (file)
@@ -104,7 +104,6 @@ static int crypto_gcm_setkey(struct crypto_aead *aead, const u8 *key,
                u8 iv[16];
 
                struct crypto_wait wait;
-               struct crypto_gcm_setkey_result result ____cacheline_aligned;
 
                struct scatterlist sg[1];
                struct skcipher_request req;