OSDN Git Service

crypto: tgr192 - fix unaligned memory access
authorEric Biggers <ebiggers@google.com>
Thu, 10 Jan 2019 20:17:58 +0000 (12:17 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 18 Jan 2019 10:43:43 +0000 (18:43 +0800)
commitf990f7fb58ac8ac9a43316f09a48cff1a49dda42
tree01b8488d7ac36351909a8baf098069ba5465d838
parent793ff5ffc105a5962ab4c978d08988e3f8dc93aa
crypto: tgr192 - fix unaligned memory access

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>
crypto/tgr192.c