Use optimized sha256-simd whenever possible (#8227)

Avoid using `crypto/sha256` and use always
`github.com/minio/sha256-simd`
This commit is contained in:
Harshavardhana 2019-09-13 12:09:39 -07:00 committed by kannappanr
parent 8700945cdf
commit e7f491a14b
1 changed files with 2 additions and 1 deletions

View File

@ -19,7 +19,6 @@ package cmd
import (
"bytes"
"context"
"crypto/sha256"
"encoding/hex"
"encoding/json"
"net/http"
@ -28,6 +27,8 @@ import (
"sync"
"time"
"github.com/minio/sha256-simd"
"github.com/minio/minio/cmd/logger"
)