Switch back to sha256 from the std library

The std library now also supports the sha assembly instructions on
ARM64. Thus, sha256-simd no longer provides a performance benefit.
This commit is contained in:
Michael Eischer
2024-08-10 19:16:10 +02:00
parent fbecc9db66
commit 0b19f6cf5a
8 changed files with 6 additions and 12 deletions
+1 -1
View File
@@ -2,6 +2,7 @@ package main
import (
"context"
"crypto/sha256"
"encoding/json"
"fmt"
"path/filepath"
@@ -16,7 +17,6 @@ import (
"github.com/restic/restic/internal/ui/table"
"github.com/restic/restic/internal/walker"
"github.com/minio/sha256-simd"
"github.com/spf13/cobra"
)