Skip to content

Commit

Permalink
use minio/sha256-simd
Browse files Browse the repository at this point in the history
  • Loading branch information
shyba committed Mar 9, 2023
1 parent 88c6ec4 commit 8b4b833
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion cl/utils/crypto.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package utils

import (
"crypto/sha256"
"github.com/minio/sha256-simd"
"hash"
"sync"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/erigon-cl/core/state/state.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package state

import (
"crypto/sha256"
"github.com/minio/sha256-simd"
"encoding/binary"

lru "github.com/hashicorp/golang-lru"
Expand Down
2 changes: 1 addition & 1 deletion core/vm/contracts.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
package vm

import (
"crypto/sha256"
"encoding/binary"
"errors"
"github.com/minio/sha256-simd"
"math/big"

"github.com/holiman/uint256"
Expand Down
2 changes: 1 addition & 1 deletion crypto/ecies/ecies_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import (
"bytes"
"crypto/elliptic"
"crypto/rand"
"crypto/sha256"
"github.com/minio/sha256-simd"
"encoding/hex"
"flag"
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion crypto/ecies/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import (
"crypto/aes"
"crypto/cipher"
"crypto/elliptic"
"crypto/sha256"
"github.com/minio/sha256-simd"
"crypto/sha512"
"fmt"
"hash"
Expand Down
2 changes: 1 addition & 1 deletion p2p/discover/v5wire/crypto_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"bytes"
"crypto/ecdsa"
"crypto/elliptic"
"crypto/sha256"
"github.com/minio/sha256-simd"
"reflect"
"strings"
"testing"
Expand Down
2 changes: 1 addition & 1 deletion p2p/discover/v5wire/encoding.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"crypto/cipher"
"crypto/ecdsa"
crand "crypto/rand"
"crypto/sha256"
"github.com/minio/sha256-simd"
"encoding/binary"
"errors"
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion p2p/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package p2p
import (
"context"
"crypto/ecdsa"
"crypto/sha256"
"github.com/minio/sha256-simd"
"errors"
"io"
"math/rand"
Expand Down
2 changes: 1 addition & 1 deletion turbo/trie/vtree/verkle_utils_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package vtree

import (
"crypto/sha256"
"github.com/minio/sha256-simd"
"math/big"
"math/rand"
"testing"
Expand Down

0 comments on commit 8b4b833

Please sign in to comment.