aboutsummaryrefslogtreecommitdiff
path: root/drivers/crypto/hisilicon
diff options
context:
space:
mode:
authorPeter Harliman Liem <pliem@maxlinear.com>2022-09-06 10:51:28 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2022-09-16 18:29:44 +0800
commit664593407e936b6438fbfaaf98876910fd31cf9a (patch)
tree75493bf4970a8eeb06d3c1b4d395a9c614b308c3 /drivers/crypto/hisilicon
parent96d3e6f05f5b7ec1cadb6a26c05093efcf062432 (diff)
crypto: inside-secure - Change swab to swab32
The use of swab() is causing failures in 64-bit arch, as it translates to __swab64() instead of the intended __swab32(). It eventually causes wrong results in xcbcmac & cmac algo. Fixes: 78cf1c8bfcb8 ("crypto: inside-secure - Move ipad/opad into safexcel_context") Signed-off-by: Peter Harliman Liem <pliem@maxlinear.com> Acked-by: Antoine Tenart <atenart@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/hisilicon')
0 files changed, 0 insertions, 0 deletions