summaryrefslogtreecommitdiffstats
path: root/drivers/pps/generators
diff options
context:
space:
mode:
authorArd Biesheuvel2018-01-19 13:04:33 +0100
committerHerbert Xu2018-01-25 15:10:32 +0100
commitc013cee99d5a18aec8c71fee8f5f41369cd12595 (patch)
tree3a8ba8b3d6e8d687935633a1b80e3dd6578826b2 /drivers/pps/generators
parentcrypto: aesni - handle zero length dst buffer (diff)
downloadkernel-qcow2-linux-c013cee99d5a18aec8c71fee8f5f41369cd12595.tar.gz
kernel-qcow2-linux-c013cee99d5a18aec8c71fee8f5f41369cd12595.tar.xz
kernel-qcow2-linux-c013cee99d5a18aec8c71fee8f5f41369cd12595.zip
crypto: sha3-generic - fixes for alignment and big endian operation
Ensure that the input is byte swabbed before injecting it into the SHA3 transform. Use the get_unaligned() accessor for this so that we don't perform unaligned access inadvertently on architectures that do not support that. Cc: <stable@vger.kernel.org> Fixes: 53964b9ee63b7075 ("crypto: sha3 - Add SHA-3 hash algorithm") Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/pps/generators')
0 files changed, 0 insertions, 0 deletions