mirror of
https://github.com/restic/restic.git
synced 2025-12-02 13:52:02 +00:00
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:
@@ -6,6 +6,7 @@ package fuse
|
||||
import (
|
||||
"bytes"
|
||||
"context"
|
||||
"crypto/sha256"
|
||||
"fmt"
|
||||
"path"
|
||||
"sort"
|
||||
@@ -15,8 +16,6 @@ import (
|
||||
|
||||
"github.com/restic/restic/internal/debug"
|
||||
"github.com/restic/restic/internal/restic"
|
||||
|
||||
"github.com/minio/sha256-simd"
|
||||
)
|
||||
|
||||
type MetaDirData struct {
|
||||
|
||||
Reference in New Issue
Block a user