summaryrefslogtreecommitdiff
path: root/crypto/memneq.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2017-02-02 15:58:57 +0000
committerHerbert Xu <herbert@gondor.apana.org.au>2017-02-11 17:50:43 +0800
commit4c5ab7a498b2a95225468b4189f0d7bb12709b8a (patch)
tree9306556764bab125a4b57ee42ac7687f0faabb94 /crypto/memneq.c
parent53a80d54383ff98efadbfee75032a8370ac7bd0b (diff)
downloadlinux-crypto-4c5ab7a498b2a95225468b4189f0d7bb12709b8a.tar.gz
linux-crypto-4c5ab7a498b2a95225468b4189f0d7bb12709b8a.zip
crypto: aes-generic - drop alignment requirement
The generic AES code exposes a 32-bit align mask, which forces all users of the code to use temporary buffers or take other measures to ensure the alignment requirement is adhered to, even on architectures that don't care about alignment for software algorithms such as this one. So drop the align mask, and fix the code to use get_unaligned_le32() where appropriate, which will resolve to whatever is optimal for the architecture. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/memneq.c')
0 files changed, 0 insertions, 0 deletions