# Huawei Dynamic Integrity Measurement
#
config EULEROS_DIM_CORE
	tristate "Dynamic Integrity Measurement Core"
	select SECURITYFS
	select INTEGRITY_ASYMMETRIC_KEYS
	select CRYPTO_SHA256
	default n
	help 
	  The Dynamic Integrity Measurement(DIM) Core maintains
	  a list of hash values of code segment of executables
	  files, as they are read only and executed. If an attacker
	  manages to change the contents of the code segment in
	  process, we can tell.
	  If your system has a TPM chip, then DIM Core also maintains
	  an aggregate integrity value over this list inside the
	  TPM hardware.
	  If unsure, say N.

config EULEROS_DIM_X509_PATH
	string "DIM X509 certificate path"
	depends on EULEROS_DIM_CORE
	default "/etc/keys/x509_dim.der"
	help
	  This option defines DIM X509 certificate path.

config EULEROS_DIM_MONITOR
	tristate "Dynamic Integrity Measurement Monitor"
	select SECURITYFS
	depends on EULEROS_DIM_CORE
	default n
	help
	  The Dynamic Integrity Measurement(DIM) Monitor maintains
	  a hash values of DIM Core dynamic baseline data. If an
	  attacker manages to change the baseline data of DIM Core,
	  we can tell.
	  If unsure, say N.
