]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
crypto: sun4i-ss - add the CRYPTO_ALG_KERN_DRIVER_ONLY flag
authorAntoine Ténart <antoine.tenart@free-electrons.com>
Thu, 1 Jun 2017 19:39:02 +0000 (21:39 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 19 Jun 2017 06:19:51 +0000 (14:19 +0800)
commit0d9c68a9bfc7259f847704f28c64549fc4078aa2
tree31ae72a562d9a21f4d38e07e592df183faa99126
parent317cbacf720c35c3c47e9d167c1946fa144a1e07
crypto: sun4i-ss - add the CRYPTO_ALG_KERN_DRIVER_ONLY flag

The CRYPTO_ALG_KERN_DRIVER_ONLY flag is set for hardware accelerated
ciphers accessible through a kernel driver only. This is the case for
ciphers exposed by the sun4i-ss driver. This patch sets this flag.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Tested-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Acked-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/sunxi-ss/sun4i-ss-core.c