]> Cypherpunks repositories - gostls13.git/commit
crypto/elliptic: move P-521 group logic to internal/nistec
authorFilippo Valsorda <filippo@golang.org>
Sat, 15 May 2021 13:48:31 +0000 (09:48 -0400)
committerFilippo Valsorda <filippo@golang.org>
Sat, 30 Oct 2021 16:47:17 +0000 (16:47 +0000)
commit30b5d6385e91ab557978c0024a9eb90e656623b7
tree870831a014226fee9e6c144bf39db1d8e1e3d2c6
parentd1dceafc290865989be713cd6e235670169b73b3
crypto/elliptic: move P-521 group logic to internal/nistec

This abstracts the clunky and not constant time math/big elliptic.Curve
compatibility layer away from the pure fiat-backed group logic.

Change-Id: I3b7a7495034d0c569b21c442ae36958763b8b2d0
Reviewed-on: https://go-review.googlesource.com/c/go/+/320074
Trust: Filippo Valsorda <filippo@golang.org>
Run-TryBot: Filippo Valsorda <filippo@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Julie Qiu <julie@golang.org>
src/crypto/elliptic/elliptic.go
src/crypto/elliptic/elliptic_test.go
src/crypto/elliptic/internal/fiat/p521.go
src/crypto/elliptic/internal/fiat/p521_test.go
src/crypto/elliptic/internal/nistec/p521.go [new file with mode: 0644]
src/crypto/elliptic/internal/nistec/p521_test.go [new file with mode: 0644]
src/crypto/elliptic/p521.go
src/go/build/deps_test.go