From 1319ba6742a8562453646763adad22379674bab5 Mon Sep 17 00:00:00 2001 From: zeripath Date: Wed, 22 Feb 2023 19:21:46 +0000 Subject: Use minio/sha256-simd for accelerated SHA256 (#23052) minio/sha256-simd provides additional acceleration for SHA256 using AVX512, SHA Extensions for x86 and ARM64 for ARM. It provides a drop-in replacement for crypto/sha256 and if the extensions are not available it falls back to standard crypto/sha256. --------- Signed-off-by: Andrew Thornton Co-authored-by: John Olheiser --- modules/util/keypair_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/util') diff --git a/modules/util/keypair_test.go b/modules/util/keypair_test.go index c6f68c845a..c9925f7988 100644 --- a/modules/util/keypair_test.go +++ b/modules/util/keypair_test.go @@ -7,12 +7,12 @@ import ( "crypto" "crypto/rand" "crypto/rsa" - "crypto/sha256" "crypto/x509" "encoding/pem" "regexp" "testing" + "github.com/minio/sha256-simd" "github.com/stretchr/testify/assert" ) -- cgit v1.2.3