mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 14:12:06 +00:00
crypto: axis - add ARTPEC-6/7 crypto accelerator driver
This is an asynchronous crypto API driver for the accelerator present in the ARTPEC-6 and -7 SoCs from Axis Communications AB. The driver supports AES in ECB/CTR/CBC/XTS/GCM modes and SHA1/2 hash standards. Signed-off-by: Lars Persson <larper@axis.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
6f7473c524
commit
a21eb94fc4
@ -708,4 +708,25 @@ config CRYPTO_DEV_SAFEXCEL
|
||||
chain mode, AES cipher mode and SHA1/SHA224/SHA256/SHA512 hash
|
||||
algorithms.
|
||||
|
||||
config CRYPTO_DEV_ARTPEC6
|
||||
tristate "Support for Axis ARTPEC-6/7 hardware crypto acceleration."
|
||||
depends on ARM && (ARCH_ARTPEC || COMPILE_TEST)
|
||||
depends on HAS_DMA
|
||||
depends on OF
|
||||
select CRYPTO_AEAD
|
||||
select CRYPTO_AES
|
||||
select CRYPTO_ALGAPI
|
||||
select CRYPTO_BLKCIPHER
|
||||
select CRYPTO_CTR
|
||||
select CRYPTO_HASH
|
||||
select CRYPTO_SHA1
|
||||
select CRYPTO_SHA256
|
||||
select CRYPTO_SHA384
|
||||
select CRYPTO_SHA512
|
||||
help
|
||||
Enables the driver for the on-chip crypto accelerator
|
||||
of Axis ARTPEC SoCs.
|
||||
|
||||
To compile this driver as a module, choose M here.
|
||||
|
||||
endif # CRYPTO_HW
|
||||
|
@ -44,3 +44,4 @@ obj-$(CONFIG_CRYPTO_DEV_VIRTIO) += virtio/
|
||||
obj-$(CONFIG_CRYPTO_DEV_VMX) += vmx/
|
||||
obj-$(CONFIG_CRYPTO_DEV_BCM_SPU) += bcm/
|
||||
obj-$(CONFIG_CRYPTO_DEV_SAFEXCEL) += inside-secure/
|
||||
obj-$(CONFIG_CRYPTO_DEV_ARTPEC6) += axis/
|
||||
|
1
drivers/crypto/axis/Makefile
Normal file
1
drivers/crypto/axis/Makefile
Normal file
@ -0,0 +1 @@
|
||||
obj-$(CONFIG_CRYPTO_DEV_ARTPEC6) := artpec6_crypto.o
|
3192
drivers/crypto/axis/artpec6_crypto.c
Normal file
3192
drivers/crypto/axis/artpec6_crypto.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user