aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/ecies/ecies_test.go
Commit message (Collapse)AuthorAgeFilesLines
* all: make unit tests work with Go 1.13 (#20053)Felix Lange2019-09-111-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most of these changes are related to the Go 1.13 changes to test binary flag handling. * cmd/geth: make attach tests more reliable This makes the test wait for the endpoint to come up by polling it instead of waiting for two seconds. * tests: fix test binary flags for Go 1.13 Calling flag.Parse during package initialization is prohibited as of Go 1.13 and causes test failures. Call it in TestMain instead. * crypto/ecies: remove useless -dump flag in tests * p2p/simulations: fix test binary flags for Go 1.13 Calling flag.Parse during package initialization is prohibited as of Go 1.13 and causes test failures. Call it in TestMain instead. * build: remove workaround for ./... vendor matching This workaround was necessary for Go 1.8. The Go 1.9 release changed the expansion rules to exclude vendored packages. * Makefile: use relative path for GOBIN This makes the "Run ./build/bin/..." line look nicer. * les: fix test binary flags for Go 1.13 Calling flag.Parse during package initialization is prohibited as of Go 1.13 and causes test failures. Call it in TestMain instead.
* all: replace t.Log(); t.FailNow() with t.Fatal() (#19849)Felix Lange2019-07-181-75/+36
|
* all: replace fmt.Print* calls with t.Log* in tests (#19670)大彬2019-07-171-37/+37
|
* crypto/ecies: remove unused function (#19096)Matthew Halpern2019-02-181-13/+0
|
* ecies: drop randomness parameter from `PrivateKey.Decrypt` (#16374)David Huie2018-03-261-10/+10
| | | | | The parameter `rand` is unused in `PrivateKey.Decrypt`. Decryption in the ECIES encryption scheme is deterministic, so randomness isn't needed.
* crypto: fix megacheck warnings (#14917)Egon Elbre2017-08-081-176/+10
| | | | | | * crypto: fix megacheck warnings * crypto/ecies: remove ASN.1 support
* crypto: add btcec fallback for sign/recover without cgo (#3680)Felix Lange2017-02-181-10/+31
| | | | | | | | | | | * vendor: add github.com/btcsuite/btcd/btcec * crypto: add btcec fallback for sign/recover without cgo This commit adds a non-cgo fallback implementation of secp256k1 operations. * crypto, core/vm: remove wrappers for sha256, ripemd160
* all: gofmt -w -sFelix Lange2017-01-061-3/+3
|
* crypto/ecies: make authenticated shared data workFelix Lange2016-02-121-0/+30
| | | | The s2 parameter was not actually written to the MAC.
* crypto, crypto/ecies, crypto/secp256k1: libsecp256k1 scalar multGustav Simonsson2015-11-301-13/+108
| | | | thanks to Felix Lange (fjl) for help with design & impl
* remove elliptic.P224 usagePavol Rusnak2015-07-301-5/+0
| | | | | | | Fedora/RedHat distros comply with US patent law and remove this curve, which makes it impossible to run ethereum with distro provided Golang. File crypto/ecies/README claims it is unsupported anyway.
* all: update license informationFelix Lange2015-07-071-0/+29
|
* Add 'crypto/ecies/' from commit '7c0f4a9b18d992166452d8cd32caaefd92b26386'obscuren2015-02-141-0/+489
git-subtree-dir: crypto/ecies git-subtree-mainline: 49a739c8d647739b3d815966f8854a4e9978df56 git-subtree-split: 7c0f4a9b18d992166452d8cd32caaefd92b26386