mirror of
https://github.com/restic/restic.git
synced 2025-11-15 04:23:09 +00:00
Merge pull request #2709 from greatroar/minio-sha256
Use Minio's optimized SHA-256
This commit is contained in:
@@ -3,7 +3,6 @@ package repository
|
||||
import (
|
||||
"bytes"
|
||||
"context"
|
||||
"crypto/sha256"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"io"
|
||||
@@ -17,6 +16,8 @@ import (
|
||||
"github.com/restic/restic/internal/hashing"
|
||||
"github.com/restic/restic/internal/pack"
|
||||
"github.com/restic/restic/internal/restic"
|
||||
|
||||
"github.com/minio/sha256-simd"
|
||||
"golang.org/x/sync/errgroup"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user