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)
commit8da02bf1a216224e6f63b48d883b5aee07f82ba9
tree0768b06ea949dfe61943eadeeb74004413bc32fe
parent9bae54942b13ea9862e9137b403308a3fd4cec3b
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