linux-IllusionX/drivers/crypto/inside-secure
Peter Harliman Liem 664593407e 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: 78cf1c8bfc ("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>
2022-09-16 18:29:44 +08:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
safexcel.c crypto: inside-secure - Add missing MODULE_DEVICE_TABLE for of 2022-07-29 18:28:54 +08:00
safexcel.h crypto: inside-secure - fix packed bit-field result descriptor 2022-07-08 15:21:17 +08:00
safexcel_cipher.c crypto: sha - split sha.h into sha1.h and sha2.h 2020-11-20 14:45:33 +11:00
safexcel_hash.c crypto: inside-secure - Change swab to swab32 2022-09-16 18:29:44 +08:00
safexcel_ring.c crypto: inside-secure - Prevent missing of processing errors 2020-09-18 17:20:10 +10:00