Felix Lange
f088c650a5
all: replace t.Log(); t.FailNow() with t.Fatal() ( #19849 )
5 years ago
大彬
4ac04ae0fe
all: replace fmt.Print* calls with t.Log* in tests ( #19670 )
5 years ago
Matthew Halpern
2a0e1bb32b
crypto/ecies: remove unused function ( #19096 )
6 years ago
David Huie
23ac783332
ecies: drop randomness parameter from `PrivateKey.Decrypt` ( #16374 )
...
The parameter `rand` is unused in `PrivateKey.Decrypt`. Decryption in
the ECIES encryption scheme is deterministic, so randomness isn't
needed.
7 years ago
Egon Elbre
10ce8b0e3c
crypto: fix megacheck warnings ( #14917 )
...
* crypto: fix megacheck warnings
* crypto/ecies: remove ASN.1 support
7 years ago
Felix Lange
9b0af51386
crypto: add btcec fallback for sign/recover without cgo ( #3680 )
...
* 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
8 years ago
Felix Lange
35a7dcb162
all: gofmt -w -s
8 years ago
Felix Lange
fdb936ee95
crypto/ecies: make authenticated shared data work
...
The s2 parameter was not actually written to the MAC.
9 years ago
Gustav Simonsson
c8ad64f33c
crypto, crypto/ecies, crypto/secp256k1: libsecp256k1 scalar mult
...
thanks to Felix Lange (fjl) for help with design & impl
9 years ago
Pavol Rusnak
3f07afbbd2
remove elliptic.P224 usage
...
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.
9 years ago
Felix Lange
ea54283b30
all: update license information
10 years ago