]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
lib: digital signature config option name change
authorDmitry Kasatkin <dmitry.kasatkin@intel.com>
Tue, 17 Jan 2012 15:12:03 +0000 (17:12 +0200)
committerJames Morris <jmorris@namei.org>
Tue, 17 Jan 2012 23:46:21 +0000 (10:46 +1100)
It was reported that DIGSIG is confusing name for digital signature
module. It was suggested to rename DIGSIG to SIGNATURE.

Requested-by: Linus Torvalds <torvalds@linux-foundation.org>
Suggested-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@intel.com>
Signed-off-by: James Morris <jmorris@namei.org>
include/linux/digsig.h
lib/Kconfig
lib/Makefile
security/integrity/Kconfig

index efae755017d7de93d4bc40b28c29488aa959bf46..b01558b15814f6d94be21272d385df3a1c4d23b5 100644 (file)
@@ -46,7 +46,7 @@ struct signature_hdr {
        char            mpi[0];
 } __packed;
 
-#if defined(CONFIG_DIGSIG) || defined(CONFIG_DIGSIG_MODULE)
+#if defined(CONFIG_SIGNATURE) || defined(CONFIG_SIGNATURE_MODULE)
 
 int digsig_verify(struct key *keyring, const char *sig, int siglen,
                                        const char *digest, int digestlen);
@@ -59,6 +59,6 @@ static inline int digsig_verify(struct key *keyring, const char *sig,
        return -EOPNOTSUPP;
 }
 
-#endif /* CONFIG_DIGSIG */
+#endif /* CONFIG_SIGNATURE */
 
 #endif /* _DIGSIG_H */
index 201e1b33d721bf2ff83e6cd5ca817ea243861c39..854735d96dc3ea2274e5280087793b9834f6bffc 100644 (file)
@@ -302,7 +302,7 @@ config MPILIB_EXTRA
          This code in unnecessary for RSA digital signature verification,
          and can be compiled if needed.
 
-config DIGSIG
+config SIGNATURE
        tristate "In-kernel signature checker"
        depends on KEYS
        select MPILIB
index dace162c7e1c2f063498ded701e5576f3c16b75a..d71aae1b01b364d7972837a562e765f6945e1955 100644 (file)
@@ -119,7 +119,7 @@ obj-$(CONFIG_CORDIC) += cordic.o
 obj-$(CONFIG_DQL) += dynamic_queue_limits.o
 
 obj-$(CONFIG_MPILIB) += mpi/
-obj-$(CONFIG_DIGSIG) += digsig.o
+obj-$(CONFIG_SIGNATURE) += digsig.o
 
 hostprogs-y    := gen_crc32table
 clean-files    := crc32table.h
index d384ea921482088dea0c7c13f54e2d3c57c18f26..ff60bf72881fbacc35d558d0e56aee1978c74891 100644 (file)
@@ -7,7 +7,7 @@ config INTEGRITY_DIGSIG
        boolean "Digital signature verification using multiple keyrings"
        depends on INTEGRITY && KEYS
        default n
-       select DIGSIG
+       select SIGNATURE
        help
          This option enables digital signature verification support
          using multiple keyrings. It defines separate keyrings for each