]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00232945-1: CAAM: Add build environment for CAAM/SNVS handlers
authorSteve Cornelius <steve.cornelius@freescale.com>
Thu, 8 Nov 2012 07:33:13 +0000 (00:33 -0700)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:41 +0000 (08:35 +0200)
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>
drivers/crypto/caam/Kconfig
drivers/crypto/caam/Makefile

index d9367cd25526171977f34dd3cf23dca40a0ca47c..3d66041cc8210f96ab696ab8131f84e68244cb40 100644 (file)
@@ -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.
index c7470e13e0ea080f24f4537ee70561e4ba7f0672..36bc651a368dc85e8111cfc3b92f3536aa589c77 100644 (file)
@@ -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