aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/ecies
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-262-13/+13
| | | | | The parameter `rand` is unused in `PrivateKey.Decrypt`. Decryption in the ECIES encryption scheme is deterministic, so randomness isn't needed.
* various: remove redundant parentheses (#15793)Furkan KAMACI2018-01-031-1/+1
|
* crypto: fix megacheck warnings (#14917)Egon Elbre2017-08-084-857/+16
| | | | | | * crypto: fix megacheck warnings * crypto/ecies: remove ASN.1 support
* crypto: add btcec fallback for sign/recover without cgo (#3680)Felix Lange2017-02-183-16/+37
| | | | | | | | | | | * 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: fix spelling errorsPéter Szilágyi2017-01-071-1/+1
|
* all: fix issues reported by honnef.co/go/simple/cmd/gosimpleFelix Lange2017-01-071-3/+2
|
* all: gofmt -w -sFelix Lange2017-01-062-9/+9
|
* all: fix go vet warningsFelix Lange2016-04-151-2/+2
|
* crypto/ecies: make authenticated shared data workFelix Lange2016-02-122-6/+36
| | | | The s2 parameter was not actually written to the MAC.
* crypto, crypto/ecies, crypto/secp256k1: libsecp256k1 scalar multGustav Simonsson2015-11-304-20/+123
| | | | thanks to Felix Lange (fjl) for help with design & impl
* remove elliptic.P224 usagePavol Rusnak2015-07-302-14/+1
| | | | | | | 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-074-0/+116
|
* Add IsOnCurve check to EC unmarshalling in ECIES decryptionGustav Simonsson2015-04-081-0/+4
|
* Add 'crypto/ecies/' from commit '7c0f4a9b18d992166452d8cd32caaefd92b26386'obscuren2015-02-147-0/+1703
git-subtree-dir: crypto/ecies git-subtree-mainline: 49a739c8d647739b3d815966f8854a4e9978df56 git-subtree-split: 7c0f4a9b18d992166452d8cd32caaefd92b26386