]> Cypherpunks repositories - gostls13.git/commit
crypto/elliptic: p224Contract could produce a non-minimal representation.
authorAdam Langley <agl@golang.org>
Tue, 31 Jan 2012 17:27:42 +0000 (12:27 -0500)
committerAdam Langley <agl@golang.org>
Tue, 31 Jan 2012 17:27:42 +0000 (12:27 -0500)
commit2cc33511312a68299ced23428365c0fc86c89476
tree837be3d950be08a12b80a624b3d07050f7f15ddb
parent2f63afdc7afbf0af957f4dd5f60279711602b53c
crypto/elliptic: p224Contract could produce a non-minimal representation.

I missed an overflow in contract because I suspected that the prime
elimination would take care of it. It didn't, and I forgot to get back
to the overflow. Because of this, p224Contract may have produced a
non-minimal representation, causing flakey failures ~0.02% of the
time.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5592045
src/pkg/crypto/elliptic/elliptic_test.go
src/pkg/crypto/elliptic/p224.go