math/ec-prime.c: Some (ineffective) optimization work. cutting-room-floor/ec-opt
authorMark Wooding <mdw@distorted.org.uk>
Fri, 27 Dec 2013 12:13:47 +0000 (12:13 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 27 Dec 2013 12:13:47 +0000 (12:13 +0000)
commitf69ab683f8d4d795443533c60cd1531fa211ab15
tree9fef5cd166b8fde4dca41ef884212ea0f90cbccc
parenta7b6288fdd7117d1ed00d2d9e195cffc5f006103
math/ec-prime.c: Some (ineffective) optimization work.

It's possible to trade off a multiplication for a squaring in the
projective doubling case: computing 2 y z = (y + z)^2 - y^2 - z^2
(because we already have to compute y^2 and z^2).  But for some reason
this doesn't actually make things any better.
math/ec-prime.c