diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2018-07-27 15:59:15 +0300 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2018-07-31 15:20:30 +0300 |
commit | c7513c2a2714204d3588ecaa170ae628fd0d217e (patch) | |
tree | cd4d59d8937424000afd8d7e0a138f8ebd82289b /drivers/scsi/qla2xxx/qla_def.h | |
parent | acb1872577b346bd15ab3a3f8dff780d6cca4b70 (diff) | |
download | linux-c7513c2a2714204d3588ecaa170ae628fd0d217e.tar.xz |
crypto/arm64: aes-ce-gcm - add missing kernel_neon_begin/end pair
Calling pmull_gcm_encrypt_block() requires kernel_neon_begin() and
kernel_neon_end() to be used since the routine touches the NEON
register file. Add the missing calls.
Also, since NEON register contents are not preserved outside of
a kernel mode NEON region, pass the key schedule array again.
Fixes: 7c50136a8aba ("crypto: arm64/aes-ghash - yield NEON after every ...")
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_def.h')
0 files changed, 0 insertions, 0 deletions