[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YHX+1/LgNWzAGzsY@sol.localdomain>
Date: Tue, 13 Apr 2021 13:28:07 -0700
From: Eric Biggers <ebiggers@...nel.org>
To: Chris von Recklinghausen <crecklin@...hat.com>
Cc: ardb@...nel.org, simo@...hat.com, rafael@...nel.org,
decui@...rosoft.com, linux-pm@...r.kernel.org,
linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v7 1/1] use crc32 instead of md5 for hibernation e820
integrity check
On Tue, Apr 13, 2021 at 12:13:30PM -0400, Chris von Recklinghausen wrote:
> Suspend fails on a system in fips mode because md5 is used for the e820
Suspend to disk (hibernation), or any suspend?
> struct restore_data_record {
> unsigned long jump_address;
> unsigned long jump_address_phys;
> unsigned long cr3;
> unsigned long magic;
> - u8 e820_digest[MD5_DIGEST_SIZE];
> + unsigned long e820_digest;
> };
This field should probably be renamed to 'e820_crc' or 'e820_checksum', since
"digest" normally means a cryptographic digest.
- Eric
Powered by blists - more mailing lists