From: Pavel Machek <pavel@ucw.cz> To: Chen Yu <yu.c.chen@intel.com>, tytso@mit.edu Cc: "Rafael J. Wysocki" <rafael@kernel.org>, Len Brown <len.brown@intel.com>, "Lee, Chun-Yi" <jlee@suse.com>, Borislav Petkov <bp@alien8.de>, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, "Rafael J . Wysocki" <rafael.j.wysocki@intel.com>, Theodore Ts'o <tytso@mit.edu>, Stephan Mueller <smueller@chronox.de>, Eric Biggers <ebiggers3@gmail.com>, Denis Kenzior <denkenz@gmail.com> Subject: Re: [PATCH 3/3][RFC] tools: create power/crypto utility Date: Thu, 21 Jun 2018 11:01:42 +0200 [thread overview] Message-ID: <20180621090142.GB21807@amd> (raw) In-Reply-To: <78af30838d0bac69bdd6e138b659bcbb8464fd13.1529486870.git.yu.c.chen@intel.com> [-- Attachment #1: Type: text/plain, Size: 1006 bytes --] On Wed 2018-06-20 17:40:51, Chen Yu wrote: > crypto_hibernate is a user-space utility to generate > 512bits AES key and pass it to the kernel via ioctl > for hibernation encryption.(We can also add the key > into kernel via keyctl if necessary, but currently > using ioctl seems to be more straightforward as we > need both the key and salt transit). Ah, here you go: https://en.wikipedia.org/wiki/Uswsusp It can already do encryption. If you see problems there, patches will be gladly accepted to fix them. If you want to maintain uswsusp in kernel tree, I guess that would be an option, too. If you want to just help swsusp, I have some patches that reduce duplicities between x86-32 and x86-64. It would be cool to clean them up and get them merged. > Suggested-by: "Theodore Ts'o" <tytso@mit.edu> Best regards, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 181 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: Pavel Machek <pavel@ucw.cz> To: Chen Yu <yu.c.chen@intel.com> Cc: "Rafael J. Wysocki" <rafael@kernel.org>, Len Brown <len.brown@intel.com>, "Lee, Chun-Yi" <jlee@suse.com>, Borislav Petkov <bp@alien8.de>, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, "Rafael J . Wysocki" <rafael.j.wysocki@intel.com>, Theodore Ts'o <tytso@mit.edu>, Stephan Mueller <smueller@chronox.de>, Eric Biggers <ebiggers3@gmail.com>, Denis Kenzior <denkenz@gmail.com> Subject: Re: [PATCH 3/3][RFC] tools: create power/crypto utility Date: Thu, 21 Jun 2018 11:01:42 +0200 [thread overview] Message-ID: <20180621090142.GB21807@amd> (raw) In-Reply-To: <78af30838d0bac69bdd6e138b659bcbb8464fd13.1529486870.git.yu.c.chen@intel.com> [-- Attachment #1: Type: text/plain, Size: 1006 bytes --] On Wed 2018-06-20 17:40:51, Chen Yu wrote: > crypto_hibernate is a user-space utility to generate > 512bits AES key and pass it to the kernel via ioctl > for hibernation encryption.(We can also add the key > into kernel via keyctl if necessary, but currently > using ioctl seems to be more straightforward as we > need both the key and salt transit). Ah, here you go: https://en.wikipedia.org/wiki/Uswsusp It can already do encryption. If you see problems there, patches will be gladly accepted to fix them. If you want to maintain uswsusp in kernel tree, I guess that would be an option, too. If you want to just help swsusp, I have some patches that reduce duplicities between x86-32 and x86-64. It would be cool to clean them up and get them merged. > Suggested-by: "Theodore Ts'o" <tytso@mit.edu> Best regards, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 181 bytes --]
next prev parent reply other threads:[~2018-06-21 9:01 UTC|newest] Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-06-20 9:39 [PATCH 0/3][RFC] Introduce the in-kernel hibernation encryption Chen Yu 2018-06-20 9:39 ` [PATCH 1/3][RFC] PM / Hibernate: Add helper functions for " Chen Yu 2018-06-20 9:40 ` [PATCH 2/3][RFC] PM / Hibernate: Encrypt the snapshot pages before submitted to the block device Chen Yu 2018-06-28 13:07 ` joeyli 2018-06-28 13:50 ` Yu Chen 2018-06-28 14:28 ` joeyli 2018-06-28 14:52 ` Yu Chen 2018-06-29 12:59 ` joeyli 2018-07-06 15:28 ` Yu Chen 2018-07-12 10:10 ` joeyli 2018-07-13 7:34 ` Yu Chen 2018-07-18 15:48 ` joeyli 2018-07-19 9:16 ` Yu Chen 2018-06-20 9:40 ` [PATCH 3/3][RFC] tools: create power/crypto utility Chen Yu 2018-06-20 17:41 ` Eric Biggers 2018-06-22 2:39 ` Yu Chen 2018-06-22 2:59 ` Eric Biggers 2018-06-21 9:01 ` Pavel Machek [this message] 2018-06-21 9:01 ` Pavel Machek 2018-06-21 12:10 ` Rafael J. Wysocki 2018-06-21 19:04 ` Pavel Machek 2018-06-25 7:06 ` Rafael J. Wysocki 2018-06-25 11:54 ` Pavel Machek 2018-06-25 21:56 ` Rafael J. Wysocki 2018-06-25 22:16 ` Pavel Machek [not found] ` <1530009024.20417.5.camel@suse.com> 2018-06-26 11:12 ` Pavel Machek 2018-06-21 8:53 ` [PATCH 0/3][RFC] Introduce the in-kernel hibernation encryption Pavel Machek 2018-06-21 12:08 ` Rafael J. Wysocki 2018-06-21 19:14 ` Pavel Machek 2018-06-22 2:14 ` Yu Chen 2018-06-25 11:55 ` Pavel Machek 2018-06-25 7:16 ` Rafael J. Wysocki 2018-06-25 11:59 ` Pavel Machek 2018-06-25 22:14 ` Rafael J. Wysocki 2018-07-05 16:16 ` joeyli 2018-07-06 13:42 ` Yu Chen
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20180621090142.GB21807@amd \ --to=pavel@ucw.cz \ --cc=bp@alien8.de \ --cc=denkenz@gmail.com \ --cc=ebiggers3@gmail.com \ --cc=jlee@suse.com \ --cc=len.brown@intel.com \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-pm@vger.kernel.org \ --cc=rafael.j.wysocki@intel.com \ --cc=rafael@kernel.org \ --cc=smueller@chronox.de \ --cc=tytso@mit.edu \ --cc=yu.c.chen@intel.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.