crypto: ccree - introduce CryptoCell driver
authorGilad Ben-Yossef <gilad@benyossef.com>
Mon, 22 Jan 2018 09:27:00 +0000 (09:27 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 15 Feb 2018 15:26:40 +0000 (23:26 +0800)
commit4c3f97276e156820a0433bf7b59a4df1100829ae
tree6772f78d5a4a2a5728d6a3efc2c5cba4b08cefff
parente294ca1cca3aa7f33e0d0369646a57089eb5578e
crypto: ccree - introduce CryptoCell driver

Introduce basic low level Arm TrustZone CryptoCell HW support.
This first patch doesn't actually register any Crypto API
transformations, these will follow up in the next patch.

This first revision supports the CC 712 REE component.

Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
22 files changed:
drivers/crypto/Kconfig
drivers/crypto/Makefile
drivers/crypto/ccree/Makefile [new file with mode: 0644]
drivers/crypto/ccree/cc_buffer_mgr.c [new file with mode: 0644]
drivers/crypto/ccree/cc_buffer_mgr.h [new file with mode: 0644]
drivers/crypto/ccree/cc_crypto_ctx.h [new file with mode: 0644]
drivers/crypto/ccree/cc_debugfs.c [new file with mode: 0644]
drivers/crypto/ccree/cc_debugfs.h [new file with mode: 0644]
drivers/crypto/ccree/cc_driver.c [new file with mode: 0644]
drivers/crypto/ccree/cc_driver.h [new file with mode: 0644]
drivers/crypto/ccree/cc_host_regs.h [new file with mode: 0644]
drivers/crypto/ccree/cc_hw_queue_defs.h [new file with mode: 0644]
drivers/crypto/ccree/cc_ivgen.c [new file with mode: 0644]
drivers/crypto/ccree/cc_ivgen.h [new file with mode: 0644]
drivers/crypto/ccree/cc_kernel_regs.h [new file with mode: 0644]
drivers/crypto/ccree/cc_lli_defs.h [new file with mode: 0644]
drivers/crypto/ccree/cc_pm.c [new file with mode: 0644]
drivers/crypto/ccree/cc_pm.h [new file with mode: 0644]
drivers/crypto/ccree/cc_request_mgr.c [new file with mode: 0644]
drivers/crypto/ccree/cc_request_mgr.h [new file with mode: 0644]
drivers/crypto/ccree/cc_sram_mgr.c [new file with mode: 0644]
drivers/crypto/ccree/cc_sram_mgr.h [new file with mode: 0644]