]> Cypherpunks repositories - gostls13.git/commit
crypto/elliptic: inline marshaling into nistec pointFromAffine
authorFilippo Valsorda <filippo@golang.org>
Thu, 3 Feb 2022 17:57:25 +0000 (09:57 -0800)
committerFilippo Valsorda <filippo@golang.org>
Wed, 27 Apr 2022 14:23:28 +0000 (14:23 +0000)
commitf0c0e0f255c59c8ee6e463103d0b8491b8f9b1af
tree68ef86ca8693333f9c6238da31f6ade034bc22f4
parent83ff0b0c61c6ae99a058c851f4b0680064d46e8b
crypto/elliptic: inline marshaling into nistec pointFromAffine

Marshal behavior for invalid points is undefined, so don't use it to
check if points are valid.

For #52182

Change-Id: If167893bc4b029f71bb2528564f2bd96bee7221c
Reviewed-on: https://go-review.googlesource.com/c/go/+/382994
Run-TryBot: Filippo Valsorda <filippo@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
Reviewed-by: Roland Shoemaker <roland@golang.org>
src/crypto/elliptic/nistec.go