Skip to content

Commit a49e490

Browse files
Vladimir Zapolskiyherbertx
authored andcommitted
crypto: s5p-sss - add S5PV210 advanced crypto engine support
This change adds support for AES encrypting and decrypting using advanced crypto engine found on Samsung S5PV210 and S5PC110 SoCs. Signed-off-by: Vladimir Zapolskiy <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent b3b7f05 commit a49e490

File tree

3 files changed

+713
-0
lines changed

3 files changed

+713
-0
lines changed

drivers/crypto/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,4 +271,15 @@ config CRYPTO_DEV_PICOXCELL
271271

272272
Saying m here will build a module named pipcoxcell_crypto.
273273

274+
config CRYPTO_DEV_S5P
275+
tristate "Support for Samsung S5PV210 crypto accelerator"
276+
depends on ARCH_S5PV210
277+
select CRYPTO_AES
278+
select CRYPTO_ALGAPI
279+
select CRYPTO_BLKCIPHER
280+
help
281+
This option allows you to have support for S5P crypto acceleration.
282+
Select this to offload Samsung S5PV210 or S5PC110 from AES
283+
algorithms execution.
284+
274285
endif # CRYPTO_HW

drivers/crypto/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ obj-$(CONFIG_CRYPTO_DEV_PPC4XX) += amcc/
1212
obj-$(CONFIG_CRYPTO_DEV_OMAP_SHAM) += omap-sham.o
1313
obj-$(CONFIG_CRYPTO_DEV_OMAP_AES) += omap-aes.o
1414
obj-$(CONFIG_CRYPTO_DEV_PICOXCELL) += picoxcell_crypto.o
15+
obj-$(CONFIG_CRYPTO_DEV_S5P) += s5p-sss.o

0 commit comments

Comments
 (0)