diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2021-02-01 19:02:32 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-02-10 07:55:56 +0100 |
commit | 50a3a9fae3e0c3662786875b941c93dcdd26eee6 (patch) | |
tree | 6d692620eb6c3681b5b9a27c66e1540fac0fdf25 /include/net | |
parent | crypto: serpent - use unaligned accessors instead of alignmask (diff) | |
download | linux-50a3a9fae3e0c3662786875b941c93dcdd26eee6.tar.xz linux-50a3a9fae3e0c3662786875b941c93dcdd26eee6.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 'include/net')
0 files changed, 0 insertions, 0 deletions