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

Loading…
Cancel
Save