Messages in this thread Patch in this message | ![/](/images/icornerl.gif) | | Date | Mon, 11 Apr 2005 01:19:22 +0200 | From | Andreas Steinmetz <> | Subject | [PATCH encrypted swsusp 2/3] configuration |
| |
The following patch includes the necessary kernel configuration option. -- Andreas Steinmetz SPAMmers use robotrap@domdv.de
--- linux-2.6.11.2/kernel/power/Kconfig.ast 2005-04-10 20:44:48.000000000 +0200 +++ linux-2.6.11.2/kernel/power/Kconfig 2005-04-10 21:01:36.000000000 +0200 @@ -72,3 +72,14 @@ 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) + 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.
| ![\](/images/icornerr.gif) |