all: Use github.com/minio/sha256-simd

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3581
This commit is contained in:
Jakob Borg
2016-09-09 09:57:51 +00:00
committed by Audrius Butkevicius
parent 3990014073
commit 5e99d38412
31 changed files with 3547 additions and 20 deletions

View File

@@ -12,7 +12,6 @@ import (
"crypto/ecdsa"
"crypto/elliptic"
"crypto/rand"
"crypto/sha256"
"crypto/x509"
"encoding/asn1"
"encoding/pem"
@@ -20,6 +19,8 @@ import (
"fmt"
"io"
"math/big"
"github.com/minio/sha256-simd"
)
// GenerateKeys returns a new key pair, with the private and public key