lib/libmd: reenable AVX2 SHA1 kernel

Following jrtc27@'s fix of the transcribed code, it seems to work
fine now.

See also:	207f3b2b25
This commit is contained in:
Robert Clausecker
2025-06-04 12:00:05 +02:00
parent a5fe142e08
commit a3ed55ff18
-2
View File
@@ -47,10 +47,8 @@ DEFINE_UIFUNC(, void, sha1_block, (SHA1_CTX *, const void *, size_t))
{
if (cpu_stdext_feature & CPUID_STDEXT_SHA)
return (_libmd_sha1block_shani);
#if 0
if ((cpu_stdext_feature & AVX2_STDEXT_NEEDED) == AVX2_STDEXT_NEEDED)
return (sha1block_avx2_wrapper);
#endif
else
return (_libmd_sha1block_scalar);
}