summaryrefslogtreecommitdiff
path: root/crypto/rng.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2021-02-01 21:02:31 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2021-02-10 09:55:56 +0300
commit81d091a293a24912a61c22e073824d29496301d5 (patch)
tree912c8bfaf9ed886856df9287e21c9ad310bd1994 /crypto/rng.c
parent784506a1df57737fc8460fd644b30ac8fecaedf0 (diff)
downloadlinux-81d091a293a24912a61c22e073824d29496301d5.tar.xz
crypto: serpent - use unaligned accessors instead of alignmask
Instead of using an alignmask of 0x3 to ensure 32-bit alignment of the Serpent 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/rng.c')
0 files changed, 0 insertions, 0 deletions