diff options
author | Franck LENORMAND <franck.lenormand@nxp.com> | 2018-09-14 10:31:57 +0200 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2019-02-12 10:34:14 +0800 |
commit | dc0d0dc42d1b90e7f5af420b74cdf330bebf11b4 (patch) | |
tree | 27909cc8f0ab921abc4853d967d018d5dffff123 /crypto/ccm.c | |
parent | 0ebb5c33746bbb98697a1e30dd5c7fd820e6a1f8 (diff) |
MLK-19365: crypto: gcm: 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>
Diffstat (limited to 'crypto/ccm.c')
0 files changed, 0 insertions, 0 deletions