Kconfig 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. #
  2. # Key management configuration
  3. #
  4. config KEYS
  5. bool "Enable access key retention support"
  6. select ASSOCIATIVE_ARRAY
  7. help
  8. This option provides support for retaining authentication tokens and
  9. access keys in the kernel.
  10. It also includes provision of methods by which such keys might be
  11. associated with a process so that network filesystems, encryption
  12. support and the like can find them.
  13. Furthermore, a special type of key is available that acts as keyring:
  14. a searchable sequence of keys. Each process is equipped with access
  15. to five standard keyrings: UID-specific, GID-specific, session,
  16. process and thread.
  17. If you are unsure as to whether this is required, answer N.
  18. config PERSISTENT_KEYRINGS
  19. bool "Enable register of persistent per-UID keyrings"
  20. depends on KEYS
  21. help
  22. This option provides a register of persistent per-UID keyrings,
  23. primarily aimed at Kerberos key storage. The keyrings are persistent
  24. in the sense that they stay around after all processes of that UID
  25. have exited, not that they survive the machine being rebooted.
  26. A particular keyring may be accessed by either the user whose keyring
  27. it is or by a process with administrative privileges. The active
  28. LSMs gets to rule on which admin-level processes get to access the
  29. cache.
  30. Keyrings are created and added into the register upon demand and get
  31. removed if they expire (a default timeout is set upon creation).
  32. config BIG_KEYS
  33. bool "Large payload keys"
  34. depends on KEYS
  35. depends on TMPFS
  36. select CRYPTO_AES
  37. select CRYPTO_GCM
  38. help
  39. This option provides support for holding large keys within the kernel
  40. (for example Kerberos ticket caches). The data may be stored out to
  41. swapspace by tmpfs.
  42. If you are unsure as to whether this is required, answer N.
  43. config TRUSTED_KEYS
  44. tristate "TRUSTED KEYS"
  45. depends on KEYS && TCG_TPM
  46. select CRYPTO
  47. select CRYPTO_HMAC
  48. select CRYPTO_SHA1
  49. select CRYPTO_HASH_INFO
  50. help
  51. This option provides support for creating, sealing, and unsealing
  52. keys in the kernel. Trusted keys are random number symmetric keys,
  53. generated and RSA-sealed by the TPM. The TPM only unseals the keys,
  54. if the boot PCRs and other criteria match. Userspace will only ever
  55. see encrypted blobs.
  56. If you are unsure as to whether this is required, answer N.
  57. config ENCRYPTED_KEYS
  58. tristate "ENCRYPTED KEYS"
  59. depends on KEYS
  60. select CRYPTO
  61. select CRYPTO_HMAC
  62. select CRYPTO_AES
  63. select CRYPTO_CBC
  64. select CRYPTO_SHA256
  65. select CRYPTO_RNG
  66. help
  67. This option provides support for create/encrypting/decrypting keys
  68. in the kernel. Encrypted keys are kernel generated random numbers,
  69. which are encrypted/decrypted with a 'master' symmetric key. The
  70. 'master' key can be either a trusted-key or user-key type.
  71. Userspace only ever sees/stores encrypted blobs.
  72. If you are unsure as to whether this is required, answer N.
  73. config KEY_DH_OPERATIONS
  74. bool "Diffie-Hellman operations on retained keys"
  75. depends on KEYS
  76. select MPILIB
  77. help
  78. This option provides support for calculating Diffie-Hellman
  79. public keys and shared secrets using values stored as keys
  80. in the kernel.
  81. If you are unsure as to whether this is required, answer N.