From 5e959d47e82944c7d941797490adea8737a1290d Mon Sep 17 00:00:00 2001 From: Steve Cornelius Date: Thu, 8 Nov 2012 00:33:13 -0700 Subject: [PATCH] ENGR00232945-1: CAAM: Add build environment for CAAM/SNVS handlers Add build environment for CAAM/SNVS security violation handlers. Signed-off-by: Steve Cornelius Signed-off-by: Terry Lv --- drivers/crypto/caam/Kconfig | 8 ++++++++ drivers/crypto/caam/Makefile | 1 + 2 files changed, 9 insertions(+) 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 -- 2.39.5