]> git.ipfire.org Git - people/arne_f/kernel.git/commit
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>
Mon, 27 Jan 2020 13:46:13 +0000 (14:46 +0100)
commit478428c99780eae874e04d07a1ce32fa99a9a484
treef69e2d6f413ac6e117135d1e93c2a3d584965749
parentbc757cbe47a3e4b8e83c0b471890eeb7a3cb986a
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