MLK-19365: crypto: ccm: Cache aligned auth_data
Generic GCM is likely to end up using a hardware accelerator to do
part of the job. Allocating hash, iv and result in a contiguous memory
area increases the risk of dma mapping multiple ranges on the same
cacheline. Also having dma and cpu written data on the same cacheline
will cause coherence issues.
Signed-off-by: Franck LENORMAND <franck.lenormand@nxp.com>
(cherry picked from commit
9d10c2f661c888dfee7f316c73b849a9cede2e1c)
Signed-off-by: Vipul Kumar <vipul_kumar@mentor.com>