summaryrefslogtreecommitdiff
path: root/crypto/cfb.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2021-02-01 19:02:35 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2021-02-10 17:55:56 +1100
commitdf3eeda061d0b02ba1b2bb4194f4d6655bb4c5cc (patch)
tree1fa949c9185bcbc62bf6da74a010a87fe2a2ae00 /crypto/cfb.c
parent537b9f7cb323815a68fd46bd0c9a35379ceb0137 (diff)
downloadlinux-crypto-df3eeda061d0b02ba1b2bb4194f4d6655bb4c5cc.tar.gz
linux-crypto-df3eeda061d0b02ba1b2bb4194f4d6655bb4c5cc.zip
crypto: cast6 - use unaligned accessors instead of alignmask
Instead of using an alignmask of 0x3 to ensure 32-bit alignment of the CAST6 input and output blocks, which propagates to mode drivers, and results in pointless copying on architectures that don't care about alignment, use the unaligned accessors, which will do the right thing on each respective architecture, avoiding the need for double buffering. Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions