> From: Chris von Recklinghausen <crecklin@xxxxxxxxxx> > Sent: Thursday, April 1, 2021 9:42 AM > To: ardb@xxxxxxxxxx; simo@xxxxxxxxxx; rafael@xxxxxxxxxx; Dexuan Cui > <decui@xxxxxxxxxxxxx>; linux-pm@xxxxxxxxxxxxxxx; > linux-crypto@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx > Subject: [PATCH v2 1/1] use crc32 instead of md5 for hibernation e820 integrity > check > > Suspend fails on a system in fips mode because md5 is used for the e820 > integrity check and is not available. Use crc32 instead. > > Fixes: 62a03defeabd ("PM / hibernate: Verify the consistent of e820 memory > map > by md5 digest") > Signed-off-by: Chris von Recklinghausen <crecklin@xxxxxxxxxx> > --- > arch/x86/power/hibernate.c | 35 +++++++++++++++++++---------------- > 1 file changed, 19 insertions(+), 16 deletions(-) Thanks Chris and all! This patch looks good to me. Tested-by: Dexuan Cui <decui@xxxxxxxxxxxxx> Reviewed-by: Dexuan Cui <decui@xxxxxxxxxxxxx>