aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-01-17 19:43:39 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2012-01-17 19:43:39 -0500
commita25a2b84098eb5e001cb8086603d692aa95bf2ec (patch)
tree02c01b36251f7b0afb1a98093e14efb17d015910 /lib
parentf429ee3b808118591d1f3cdf3c0d0793911a5677 (diff)
parentf1be242c95257b199d8b679bc952ca33487c9af6 (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security: integrity: digital signature config option name change lib: Removed MPILIB, MPILIB_EXTRA, and SIGNATURE prompts lib: MPILIB Kconfig description update lib: digital signature dependency fix lib: digital signature config option name change encrypted-keys: fix rcu and sparse messages keys: fix trusted/encrypted keys sparse rcu_assign_pointer messages KEYS: Add missing smp_rmb() primitives to the keyring search code TOMOYO: Accept \000 as a valid character. security: update MAINTAINERS file with new git repo
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig19
-rw-r--r--lib/Makefile2
2 files changed, 10 insertions, 11 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index 201e1b33d721..169eb7c598e5 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -286,25 +286,24 @@ config CORDIC
286 calculations are in fixed point. Module will be called cordic. 286 calculations are in fixed point. Module will be called cordic.
287 287
288config MPILIB 288config MPILIB
289 tristate "Multiprecision maths library" 289 tristate
290 help 290 help
291 Multiprecision maths library from GnuPG. 291 Multiprecision maths library from GnuPG.
292 It is used to implement RSA digital signature verification, 292 It is used to implement RSA digital signature verification,
293 which is used by IMA/EVM digital signature extension. 293 which is used by IMA/EVM digital signature extension.
294 294
295config MPILIB_EXTRA 295config MPILIB_EXTRA
296 bool "Multiprecision maths library - additional sources" 296 bool
297 depends on MPILIB 297 depends on MPILIB
298 help 298 help
299 Multiprecision maths library from GnuPG. 299 Additional sources of multiprecision maths library from GnuPG.
300 It is used to implement RSA digital signature verification, 300 This code is unnecessary for RSA digital signature verification,
301 which is used by IMA/EVM digital signature extension. 301 but can be compiled if needed.
302 This code in unnecessary for RSA digital signature verification,
303 and can be compiled if needed.
304 302
305config DIGSIG 303config SIGNATURE
306 tristate "In-kernel signature checker" 304 tristate
307 depends on KEYS 305 depends on KEYS && CRYPTO
306 select CRYPTO_SHA1
308 select MPILIB 307 select MPILIB
309 help 308 help
310 Digital signature verification. Currently only RSA is supported. 309 Digital signature verification. Currently only RSA is supported.
diff --git a/lib/Makefile b/lib/Makefile
index dace162c7e1c..d71aae1b01b3 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -119,7 +119,7 @@ obj-$(CONFIG_CORDIC) += cordic.o
119obj-$(CONFIG_DQL) += dynamic_queue_limits.o 119obj-$(CONFIG_DQL) += dynamic_queue_limits.o
120 120
121obj-$(CONFIG_MPILIB) += mpi/ 121obj-$(CONFIG_MPILIB) += mpi/
122obj-$(CONFIG_DIGSIG) += digsig.o 122obj-$(CONFIG_SIGNATURE) += digsig.o
123 123
124hostprogs-y := gen_crc32table 124hostprogs-y := gen_crc32table
125clean-files := crc32table.h 125clean-files := crc32table.h