diff options
Diffstat (limited to 'kernel/power/Kconfig')
-rw-r--r-- | kernel/power/Kconfig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig index 2c7121d9bff1..917066a5767c 100644 --- a/kernel/power/Kconfig +++ b/kernel/power/Kconfig | |||
@@ -72,6 +72,18 @@ config PM_STD_PARTITION | |||
72 | suspended image to. It will simply pick the first available swap | 72 | suspended image to. It will simply pick the first available swap |
73 | device. | 73 | device. |
74 | 74 | ||
75 | config SWSUSP_ENCRYPT | ||
76 | bool "Encrypt suspend image" | ||
77 | depends on SOFTWARE_SUSPEND && CRYPTO=y && (CRYPTO_AES=y || CRYPTO_AES_586=y || CRYPTO_AES_X86_64=y) | ||
78 | default "" | ||
79 | ---help--- | ||
80 | To prevent data gathering from swap after resume you can encrypt | ||
81 | the suspend image with a temporary key that is deleted on | ||
82 | resume. | ||
83 | |||
84 | Note that the temporary key is stored unencrypted on disk while the | ||
85 | system is suspended. | ||
86 | |||
75 | config SUSPEND_SMP | 87 | config SUSPEND_SMP |
76 | bool | 88 | bool |
77 | depends on HOTPLUG_CPU && X86 && PM | 89 | depends on HOTPLUG_CPU && X86 && PM |