Re: [PATCH v4 07/11] PM: hibernate: Add kernel-based encryption

Evan Green
2022-11-10T00:30:20Z

On Fri, Nov 4, 2022 at 11:38 AM Kees Cook <keescook@chromium.org> wrote:
>
> On Thu, Nov 03, 2022 at 11:01:15AM -0700, Evan Green wrote:
> > [...]
> > +config ENCRYPTED_HIBERNATION
> > + bool "Encryption support for userspace snapshots"
> > + depends on HIBERNATION_SNAPSHOT_DEV
> > + depends on CRYPTO_AEAD2=y
> > + default n
>
> "default n" is the, err, default, so this line can be left out.
>
> If someone more familiar with the crypto pieces can review the rest,
> that would be good. :)

Eric and I emailed briefly about it a couple weeks ago, he said he
would try to take a look when he could. I'm optimistic.

-Evan

>
> --
> Kees Cook