diff --git a/datasquare_test.go b/datasquare_test.go index 928f4fa..42514f7 100644 --- a/datasquare_test.go +++ b/datasquare_test.go @@ -1,12 +1,12 @@ package rsmt2d import ( + "crypto/sha256" "fmt" "reflect" "testing" "github.com/celestiaorg/merkletree" - "github.com/minio/sha256-simd" "github.com/stretchr/testify/assert" ) diff --git a/go.mod b/go.mod index 4399bb2..846a2ca 100644 --- a/go.mod +++ b/go.mod @@ -19,7 +19,6 @@ require ( github.com/davecgh/go-spew v1.1.1 // indirect github.com/klauspost/cpuid/v2 v2.1.1 // indirect github.com/kr/text v0.2.0 // indirect - github.com/minio/sha256-simd v1.0.0 github.com/pmezard/go-difflib v1.0.0 // indirect gitlab.com/NebulousLabs/errors v0.0.0-20200929122200-06c536cf6975 // indirect golang.org/x/crypto v0.1.0 // indirect diff --git a/go.sum b/go.sum index 35da479..4f212c9 100644 --- a/go.sum +++ b/go.sum @@ -11,7 +11,6 @@ github.com/google/gofuzz v1.2.0 h1:xRy4A+RhZaiKjJ1bPfwQ8sedCA+YS2YcCHW6ec7JMi0= github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= -github.com/klauspost/cpuid/v2 v2.0.4/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg= github.com/klauspost/cpuid/v2 v2.1.1 h1:t0wUqjowdm8ezddV5k0tLWVklVuvLJpoHeb4WBdydm0= github.com/klauspost/cpuid/v2 v2.1.1/go.mod h1:RVVoqg1df56z8g3pUjL/3lE5UfnlrJX8tyFgg4nqhuY= github.com/klauspost/reedsolomon v1.11.8 h1:s8RpUW5TK4hjr+djiOpbZJB4ksx+TdYbRH7vHQpwPOY= @@ -22,8 +21,6 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/minio/sha256-simd v1.0.0 h1:v1ta+49hkWZyvaKwrQB8elexRqm6Y0aMLjCNsrYxo6g= -github.com/minio/sha256-simd v1.0.0/go.mod h1:OuYzVNI5vcoYIAmbIvHPl3N3jUzVedXbKy5RFepssQM= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= diff --git a/nmtwrapper_test.go b/nmtwrapper_test.go index a651fc2..3e107da 100644 --- a/nmtwrapper_test.go +++ b/nmtwrapper_test.go @@ -6,11 +6,11 @@ package rsmt2d import ( "bytes" + "crypto/sha256" "fmt" "github.com/celestiaorg/nmt" "github.com/celestiaorg/nmt/namespace" - "github.com/minio/sha256-simd" ) // Fulfills the Tree interface and TreeConstructorFn function diff --git a/tree.go b/tree.go index 9a56965..f8dcc66 100644 --- a/tree.go +++ b/tree.go @@ -1,7 +1,7 @@ package rsmt2d import ( - "github.com/minio/sha256-simd" + "crypto/sha256" "github.com/celestiaorg/merkletree" )