mirror of
https://github.com/restic/restic.git
synced 2025-12-11 18:47:50 +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:
@@ -3,6 +3,7 @@ package test
|
||||
import (
|
||||
"bytes"
|
||||
"context"
|
||||
"crypto/sha256"
|
||||
"fmt"
|
||||
"io"
|
||||
"math/rand"
|
||||
@@ -12,7 +13,6 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/minio/sha256-simd"
|
||||
"github.com/restic/restic/internal/errors"
|
||||
"github.com/restic/restic/internal/restic"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user