diff options
author | Steve Cornelius <steve.cornelius@freescale.com> | 2012-11-08 00:33:13 -0700 |
---|---|---|
committer | Terry Lv <r65388@freescale.com> | 2012-11-13 13:45:58 +0800 |
commit | 6ac35bb16b4f90a945e70d262ae9d8407cf332fc (patch) | |
tree | 7b08623aeaae1eda73a55bc8f76fcbf7a213a163 | |
parent | ac604d90ceb7ee0e0367a0f6ba51efa01d33b0e9 (diff) |
ENGR00232945-1: CAAM: Add build environment for CAAM/SNVS handlers
Add build environment for CAAM/SNVS security violation handlers.
Signed-off-by: Steve Cornelius <steve.cornelius@freescale.com>
Signed-off-by: Terry Lv <r65388@freescale.com>
-rw-r--r-- | drivers/crypto/caam/Kconfig | 8 | ||||
-rw-r--r-- | drivers/crypto/caam/Makefile | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/drivers/crypto/caam/Kconfig b/drivers/crypto/caam/Kconfig index d9367cd25526..3d66041cc821 100644 --- a/drivers/crypto/caam/Kconfig +++ b/drivers/crypto/caam/Kconfig @@ -140,3 +140,11 @@ config CRYPTO_DEV_FSL_CAAM_SM_TEST stored and recovered secrets can be used for general purpose encryption/decryption. +config CRYPTO_DEV_FSL_CAAM_SECVIO + boolean "CAAM/SNVS Security Violation Handler (EXPERIMENTAL)" + depends on CRYPTO_DEV_FSL_CAAM + default n + help + Enables installation of an interrupt handler with registrable + handler functions which can be specified to act on the consequences + of a security violation. diff --git a/drivers/crypto/caam/Makefile b/drivers/crypto/caam/Makefile index c7470e13e0ea..36bc651a368d 100644 --- a/drivers/crypto/caam/Makefile +++ b/drivers/crypto/caam/Makefile @@ -8,6 +8,7 @@ obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_AHASH_API) += caamhash.o obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_RNG_API) += caamrng.o obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_SM) += sm_store.o obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_SM_TEST) += sm_test.o +obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_SECVIO) += secvio.o caam-objs := ctrl.o jr.o error.o key_gen.o |