Re: [edk2-devel] [PATCH 1/4] CryptoPkg/BaseCryptLib: avoid using SHA1()

2023-02-13 Thread Yao, Jiewen
nder openssl 3.0? > > Mike > > > -Original Message- > > From: devel@edk2.groups.io On Behalf Of Gerd > Hoffmann > > Sent: Monday, February 13, 2023 11:20 AM > > To: devel@edk2.groups.io > > Cc: Oliver Steffen ; Pawel Polawski > ; Gerd Hoffmann

Re: [edk2-devel] [PATCH 1/4] CryptoPkg/BaseCryptLib: avoid using SHA1()

2023-02-13 Thread Michael D Kinney
alf Of Gerd Hoffmann > Sent: Monday, February 13, 2023 11:20 AM > To: devel@edk2.groups.io > Cc: Oliver Steffen ; Pawel Polawski > ; Gerd Hoffmann > Subject: [edk2-devel] [PATCH 1/4] CryptoPkg/BaseCryptLib: avoid using SHA1() > > In openssl 3.0 SHA1() goes through the provide

[edk2-devel] [PATCH 1/4] CryptoPkg/BaseCryptLib: avoid using SHA1()

2023-02-13 Thread Gerd Hoffmann
In openssl 3.0 SHA1() goes through the provider logic, requiring a huge amount of openssl code. The individual functions do not, so use them instead. Signed-off-by: Gerd Hoffmann --- CryptoPkg/Library/BaseCryptLib/Hash/CryptSha1.c | 16 +--- 1 file changed, 13 insertions(+), 3 delet