This reverts commit
dd624114c50b1a8cb1bec091e20eaf2539695cde.
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>
struct crypto_gcm_req_priv_ctx {
u8 iv[16];
-
- /*
- * We need to force auth_tag to be on its own cacheline.
- *
- * We put it on its cacheline with the macro ____cacheline_aligned.
- * The next fields must be on another cacheline so we add a dummy field
- * which is located on another cacheline to enforce that.
- */
- u8 auth_tag[16] ____cacheline_aligned;
-
- u8 dummy_align_auth_tag ____cacheline_aligned;
-
+ u8 auth_tag[16];
u8 iauth_tag[16];
struct scatterlist src[3];
struct scatterlist dst[3];