crypto: sl3516 - Add sl3516 crypto engine
authorCorentin Labbe <clabbe@baylibre.com>
Tue, 1 Jun 2021 15:11:29 +0000 (15:11 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 11 Jun 2021 07:03:29 +0000 (15:03 +0800)
commit46c5338db7bd45b2cf99570560f00389d60fd6b4
treebc8617a2ad95b45273f669645e4b204ffc872103
parent124d77c22c6183c76aa4bb71c29ee0c842562a5f
crypto: sl3516 - Add sl3516 crypto engine

The cortina/gemini SL3516 SoC has a crypto IP name either (crypto
engine/crypto acceleration engine in the datasheet).
It support many algorithms like [AES|DES|3DES][ECB|CBC], SHA1, MD5 and
some HMAC.

This patch adds the core files and support for ecb(aes) and the RNG.

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/Kconfig
drivers/crypto/Makefile
drivers/crypto/gemini/Makefile [new file with mode: 0644]
drivers/crypto/gemini/sl3516-ce-cipher.c [new file with mode: 0644]
drivers/crypto/gemini/sl3516-ce-core.c [new file with mode: 0644]
drivers/crypto/gemini/sl3516-ce-rng.c [new file with mode: 0644]
drivers/crypto/gemini/sl3516-ce.h [new file with mode: 0644]