diff options
author | Eric Biggers <ebiggers@google.com> | 2018-05-19 22:07:37 -0700 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-05-27 00:12:08 +0800 |
commit | fffe7d9279a48563fe4c19b07b649a583ac91a44 (patch) | |
tree | 01f5806dedea2392ba74a63dba0538a8dc63cd7d /crypto/crc32c_generic.c | |
parent | f16b613ca8b3e4960cdc5575e9b8e1dbdd7d54d5 (diff) | |
download | linux-fffe7d9279a48563fe4c19b07b649a583ac91a44.tar.bz2 |
crypto: crc32-generic - use unaligned access macros when needed
crc32-generic doesn't have a cra_alignmask set, which is desired as its
->update() works with any alignment. However, it incorrectly assumes
4-byte alignment in ->setkey() and when outputting the final digest.
Fix this by using the unaligned access macros in those cases.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/crc32c_generic.c')
0 files changed, 0 insertions, 0 deletions