MLK-14785 CAAM: Fix gcm.c to work correctly with CAAM
authorRadu Solea <radu.solea@nxp.com>
Tue, 23 May 2017 12:13:50 +0000 (15:13 +0300)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:45:31 +0000 (02:45 +0300)
commit80e2831298dc83891d8e6b5d4d71b3692aa74e30
tree902459972009c07b65aebf92d8c4999a3524d2d4
parent851c12cbfcc0347106b8f9b8f4a7fdbaf139e614
MLK-14785 CAAM: Fix gcm.c to work correctly with CAAM

CAAM uses DMA to transfer data to and from memory, if
DMA and CPU accessed data share the same cacheline cache
pollution will occur. Marking the result as cacheline aligned
moves it to a separate cache line.

Signed-off-by: Radu Solea <radu.solea@nxp.com>
(Vipul: Fixed merge conflicts)
Signed-off-by: Vipul Kumar <vipul_kumar@mentor.com>
crypto/gcm.c