crypto: tgr192 - fix unaligned memory access
authorEric Biggers <ebiggers@google.com>
Thu, 10 Jan 2019 20:17:58 +0000 (12:17 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Jan 2020 09:24:12 +0000 (10:24 +0100)
commit3dda2ad4da8934b714a2b2a4c8e4a7cb773b5d32
tree93af830239605cff06a244c1bf984ed1a1b64571
parent33f5e61468927cd0e7a4e425ab2b3cb594742390
crypto: tgr192 - fix unaligned memory access

[ Upstream commit f990f7fb58ac8ac9a43316f09a48cff1a49dda42 ]

Fix an unaligned memory access in tgr192_transform() by using the
unaligned access helpers.

Fixes: 06ace7a9bafe ("[CRYPTO] Use standard byte order macros wherever possible")
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
crypto/tgr192.c