2021-04-01 19:51:35

by Dexuan Cui

[permalink] [raw]
Subject: RE: [PATCH v2 1/1] use crc32 instead of md5 for hibernation e820 integrity check

> From: Chris von Recklinghausen <[email protected]>
> Sent: Thursday, April 1, 2021 9:42 AM
> To: [email protected]; [email protected]; [email protected]; Dexuan Cui
> <[email protected]>; [email protected];
> [email protected]; [email protected]
> 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 <[email protected]>
> ---
> 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 <[email protected]>
Reviewed-by: Dexuan Cui <[email protected]>