]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: sm4 - export encrypt/decrypt routines to other drivers
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 25 Apr 2018 12:20:45 +0000 (14:20 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 5 May 2018 06:52:51 +0000 (14:52 +0800)
commit9f05db8fbf3b160a8fce4481c2e863be1db1a021
tree0768b06ea949dfe61943eadeeb74004413bc32fe
parent7fc0dafe04e6ce418c6be8ca2f64b84b3c959dc6
crypto: sm4 - export encrypt/decrypt routines to other drivers

In preparation of adding support for the SIMD based arm64 implementation
of arm64, which requires a fallback to non-SIMD code when invoked in
certain contexts, expose the generic SM4 encrypt and decrypt routines
to other drivers.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/sm4_generic.c
include/crypto/sm4.h