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

From: Evan Green
Date: Wed Nov 09 2022 - 19:30:22 EST


On Fri, Nov 4, 2022 at 11:38 AM Kees Cook <keescook@xxxxxxxxxxxx> 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