good morning!!!!

Skip to content
Snippets Groups Projects
Commit 6284604b authored by Jeffrey Wilcke's avatar Jeffrey Wilcke
Browse files

Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop

parents a953f3ec 7c0a18ed
No related branches found
No related tags found
Loading
......@@ -303,6 +303,10 @@ func (prv *PrivateKey) Decrypt(rand io.Reader, c, s1, s2 []byte) (m []byte, err
err = ErrInvalidPublicKey
return
}
if !R.Curve.IsOnCurve(R.X, R.Y) {
err = ErrInvalidCurve
return
}
z, err := prv.GenerateShared(R, params.KeyLen, params.KeyLen)
if err != nil {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment