Merge pull request #2709 from greatroar/minio-sha256

Use Minio's optimized SHA-256
This commit is contained in:
MichaelEischer
2020-06-12 23:32:58 +02:00
committed by GitHub
6 changed files with 18 additions and 4 deletions

View File

@@ -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"
)