diff options
| author | Ard Biesheuvel <[email protected]> | 2018-07-27 12:59:15 +0000 |
|---|---|---|
| committer | Will Deacon <[email protected]> | 2018-07-31 12:20:30 +0000 |
| commit | c7513c2a2714204d3588ecaa170ae628fd0d217e (patch) | |
| tree | cd4d59d8937424000afd8d7e0a138f8ebd82289b /fs/btrfs/dev-replace.c | |
| parent | Linux 4.18-rc7 (diff) | |
| download | kernel-c7513c2a2714204d3588ecaa170ae628fd0d217e.tar.gz kernel-c7513c2a2714204d3588ecaa170ae628fd0d217e.zip | |
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 <[email protected]>
Signed-off-by: Ard Biesheuvel <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
