summaryrefslogtreecommitdiffstats
path: root/crypto/crc32_generic.c
diff options
context:
space:
mode:
authorEric Biggers2018-05-20 07:07:38 +0200
committerHerbert Xu2018-05-26 18:12:08 +0200
commit7bcfb13630569fab75455fed57fcee6cf9e40096 (patch)
tree597853354e8ba94e27fd3f95c0c0527d182994b5 /crypto/crc32_generic.c
parentcrypto: crc32-generic - use unaligned access macros when needed (diff)
downloadkernel-qcow2-linux-7bcfb13630569fab75455fed57fcee6cf9e40096.tar.gz
kernel-qcow2-linux-7bcfb13630569fab75455fed57fcee6cf9e40096.tar.xz
kernel-qcow2-linux-7bcfb13630569fab75455fed57fcee6cf9e40096.zip
crypto: crc32c-generic - remove cra_alignmask
crc32c-generic sets an alignmask, but actually its ->update() works with any alignment; only its ->setkey() and outputting the final digest assume an alignment. To prevent the buffer from having to be aligned by the crypto API for just these cases, switch these cases over to the unaligned access macros and remove the cra_alignmask. Note that this also makes crc32c-generic more consistent with crc32-generic. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/crc32_generic.c')
0 files changed, 0 insertions, 0 deletions