Commit f1be242c authored by Dmitry Kasatkin's avatar Dmitry Kasatkin Committed by James Morris

integrity: digital signature config option name change

Similar to SIGNATURE, rename INTEGRITY_DIGSIG to INTEGRITY_SIGNATURE.
Signed-off-by: default avatarDmitry Kasatkin <dmitry.kasatkin@intel.com>
Signed-off-by: default avatarJames Morris <jmorris@namei.org>
parent 2e5f094b
...@@ -3,7 +3,7 @@ config INTEGRITY ...@@ -3,7 +3,7 @@ config INTEGRITY
def_bool y def_bool y
depends on IMA || EVM depends on IMA || EVM
config INTEGRITY_DIGSIG config INTEGRITY_SIGNATURE
boolean "Digital signature verification using multiple keyrings" boolean "Digital signature verification using multiple keyrings"
depends on INTEGRITY && KEYS depends on INTEGRITY && KEYS
default n default n
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# #
obj-$(CONFIG_INTEGRITY) += integrity.o obj-$(CONFIG_INTEGRITY) += integrity.o
obj-$(CONFIG_INTEGRITY_DIGSIG) += digsig.o obj-$(CONFIG_INTEGRITY_SIGNATURE) += digsig.o
integrity-y := iint.o integrity-y := iint.o
......
...@@ -51,7 +51,7 @@ struct integrity_iint_cache *integrity_iint_find(struct inode *inode); ...@@ -51,7 +51,7 @@ struct integrity_iint_cache *integrity_iint_find(struct inode *inode);
#define INTEGRITY_KEYRING_IMA 2 #define INTEGRITY_KEYRING_IMA 2
#define INTEGRITY_KEYRING_MAX 3 #define INTEGRITY_KEYRING_MAX 3
#ifdef CONFIG_INTEGRITY_DIGSIG #ifdef CONFIG_INTEGRITY_SIGNATURE
int integrity_digsig_verify(const unsigned int id, const char *sig, int siglen, int integrity_digsig_verify(const unsigned int id, const char *sig, int siglen,
const char *digest, int digestlen); const char *digest, int digestlen);
...@@ -65,7 +65,7 @@ static inline int integrity_digsig_verify(const unsigned int id, ...@@ -65,7 +65,7 @@ static inline int integrity_digsig_verify(const unsigned int id,
return -EOPNOTSUPP; return -EOPNOTSUPP;
} }
#endif /* CONFIG_INTEGRITY_DIGSIG */ #endif /* CONFIG_INTEGRITY_SIGNATURE */
/* set during initialization */ /* set during initialization */
extern int iint_initialized; extern int iint_initialized;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment