--- linux-2.6.13-rc3.orig/kernel/power/Kconfig 2005-07-17 16:03:26.000000000 +0200 +++ linux-2.6.13-rc3/kernel/power/Kconfig 2005-07-17 10:40:48.000000000 +0200 @@ -72,6 +72,18 @@ suspended image to. It will simply pick the first available swap device. +config SWSUSP_ENCRYPT + bool "Encrypt suspend image" + depends on SOFTWARE_SUSPEND && CRYPTO=y && (CRYPTO_AES=y || CRYPTO_AES_586=y || CRYPTO_AES_X86_64=y) + default "" + ---help--- + To prevent data gathering from swap after resume you can encrypt + the suspend image with a temporary key that is deleted on + resume. + + Note that the temporary key is stored unencrypted on disk while the + system is suspended. + config SUSPEND_SMP bool depends on HOTPLUG_CPU && X86 && PM