Unverified Commit 509f0538 authored by Steven Allen's avatar Steven Allen Committed by GitHub

Merge pull request #32 from libp2p/dep/faster-sha

dep: use a faster sha256 library
parents 80d3b476 9b606fd1
......@@ -2,11 +2,11 @@ package keyspace
import (
"bytes"
"crypto/sha256"
"math/big"
"math/bits"
u "github.com/ipfs/go-ipfs-util"
sha256 "github.com/minio/sha256-simd"
)
// XORKeySpace is a KeySpace which:
......
......@@ -2,12 +2,12 @@ package kbucket
import (
"bytes"
"crypto/sha256"
"errors"
u "github.com/ipfs/go-ipfs-util"
ks "github.com/libp2p/go-libp2p-kbucket/keyspace"
peer "github.com/libp2p/go-libp2p-peer"
sha256 "github.com/minio/sha256-simd"
)
// Returned if a routing table query returns no results. This is NOT expected
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment