Use sha256-simd instead of crypto/sha256 (#6252)

This commit is contained in:
Harshavardhana 2018-08-06 18:00:10 -07:00 committed by kannappanr
parent ce02ab613d
commit 9719640e34
2 changed files with 2 additions and 2 deletions

View File

@ -18,12 +18,12 @@ package cmd
import (
"context"
"crypto/sha256"
"errors"
"hash"
"github.com/minio/highwayhash"
"github.com/minio/minio/cmd/logger"
"github.com/minio/sha256-simd"
"golang.org/x/crypto/blake2b"
)

View File

@ -19,7 +19,6 @@ package sia
import (
"bytes"
"context"
"crypto/sha256"
"encoding/hex"
"encoding/json"
"fmt"
@ -40,6 +39,7 @@ import (
"github.com/minio/minio/cmd/logger"
"github.com/minio/minio/pkg/auth"
"github.com/minio/minio/pkg/hash"
"github.com/minio/sha256-simd"
)
const (