commit | 36cda08f98b1a97159ae8b3b23937d9c324e5437 | [log] [tgz] |
---|---|---|
author | Horia Geantă <horia.geanta@nxp.com> | Mon Jul 10 08:40:32 2017 +0300 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Tue Jul 18 18:16:03 2017 +0800 |
tree | 8653e73b69821194c780afd97e286c1aa97f2102 | |
parent | eb9ba37dc15a6e6b6140eb6d62785ba99b7179d7 [diff] |
crypto: caam/qi - fix AD length endianness in S/G entry Associated data (AD) length is read by CAAM from an S/G entry that is initially filled by the GPP. Accordingly, AD length has to be stored in CAAM endianness. Fixes: b189817cf789 ("crypto: caam/qi - add ablkcipher and authenc algorithms") Signed-off-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>