aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2015-11-16 13:12:48 +0100
committerMister Oyster <oysterized@gmail.com>2017-12-21 13:31:34 +0100
commit272815e191869ed8b7e71ab78dfda0fc0abe3958 (patch)
treed63144ffd1a5ad93294abb5aa1cbbc0a379cb278 /include/linux
parent792528fb83da82b97624e0d25636a1ab6d7e32a2 (diff)
arm64: crypto: reduce priority of core AES cipher
The asynchronous, merged implementations of AES in CBC, CTR and XTS modes are preferred when available (i.e., when instantiating ablkciphers explicitly). However, the synchronous core AES cipher combined with the generic CBC mode implementation will produce a 'cbc(aes)' blkcipher that is callable asynchronously as well. To prevent this implementation from being used when the accelerated asynchronous implemenation is also available, lower its priority to 250 (i.e., below the asynchronous module's priority of 300). Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions