commit | 1a3713c7cd8c903264065a79c9b29517eec5152e | [log] [tgz] |
---|---|---|
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | Sat Mar 10 15:21:54 2018 +0000 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Mar 16 23:35:58 2018 +0800 |
tree | 6b7649606284d85179bb7fffdf1b503a4876c70d | |
parent | 870c163a0ee6486bf0a313d47da927400bcb131b [diff] |
crypto: arm64/sha256-neon - play nice with CONFIG_PREEMPT kernels Tweak the SHA256 update routines to invoke the SHA256 block transform block by block, to avoid excessive scheduling delays caused by the NEON algorithm running with preemption disabled. Also, remove a stale comment which no longer applies now that kernel mode NEON is actually disallowed in some contexts. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>