]> Cypherpunks repositories - gostls13.git/commit
crypto/elliptic: document and test that IsOnCurve(∞) == false
authorFilippo Valsorda <filippo@golang.org>
Tue, 23 Jun 2020 22:14:25 +0000 (18:14 -0400)
committerFilippo Valsorda <filippo@golang.org>
Wed, 24 Jun 2020 16:12:25 +0000 (16:12 +0000)
commit320e4adc4bd153cb0cb7e31e186fb3b4564fd0a7
tree7aa96c180758035a7504ced40f12cdc7ff13828b
parent9f33108dfa22946622a8a78b5cd3f64cd3e455dd
crypto/elliptic: document and test that IsOnCurve(∞) == false

This also implies it can't be passed to Marshal.

Fixes #37294

Change-Id: I1e6b6abd87ff31f323486958d5cb34a5c8f76b5f
Reviewed-on: https://go-review.googlesource.com/c/go/+/239562
Run-TryBot: Filippo Valsorda <filippo@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Katie Hockman <katie@golang.org>
src/crypto/elliptic/elliptic.go
src/crypto/elliptic/elliptic_test.go