summaryrefslogtreecommitdiff
path: root/crypto/rsa.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2021-02-01 19:02:37 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2021-02-10 17:55:57 +1100
commite78fa53b027e14a0c7581f5e6e4fdd096954d5b1 (patch)
tree41fc7ab2153910afe852014328399b9c40f876fd /crypto/rsa.c
parentb259129bc4eeae7f5f826f5a34b8e81841b55e2d (diff)
downloadlinux-crypto-e78fa53b027e14a0c7581f5e6e4fdd096954d5b1.tar.gz
linux-crypto-e78fa53b027e14a0c7581f5e6e4fdd096954d5b1.zip
crypto: twofish - use unaligned accessors instead of alignmask
Instead of using an alignmask of 0x3 to ensure 32-bit alignment of the Twofish 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