summaryrefslogtreecommitdiff
path: root/crypto/camellia_generic.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2021-02-01 19:02:32 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2021-02-10 17:55:56 +1100
commit81da3f5848f936c4a574430ee4d363cb79e25345 (patch)
treef50623e4985c6e70af721c1fba557317764852e0 /crypto/camellia_generic.c
parent2a7b561b384de8700800053abacd4b2eb8b0122c (diff)
downloadlinux-crypto-81da3f5848f936c4a574430ee4d363cb79e25345.tar.gz
linux-crypto-81da3f5848f936c4a574430ee4d363cb79e25345.zip
crypto: blowfish - use unaligned accessors instead of alignmask
Instead of using an alignmask of 0x3 to ensure 32-bit alignment of the Blowfish 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 'crypto/camellia_generic.c')
0 files changed, 0 insertions, 0 deletions