Use optimized sha256-simd whenever possible (#8227)

Avoid using `crypto/sha256` and use always
`github.com/minio/sha256-simd`
master
Harshavardhana 5 years ago committed by kannappanr
parent 8700945cdf
commit e7f491a14b
  1. 3
      cmd/xl-v1-metadata.go

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

Loading…
Cancel
Save