ec.c: Dispatch to `ecptxl_3' whether or not we have a curve.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 24 Nov 2019 22:42:10 +0000 (22:42 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 11 Apr 2020 11:49:31 +0000 (12:49 +0100)
commit7f5eb608c6b3118e76e98f6e5de142f2343b0e45
tree9b49325dc4fd5d3312365287b49883174fa5de05
parent941a348351e409096689d4126214026eb2745d69
ec.c: Dispatch to `ecptxl_3' whether or not we have a curve.

The `ecptxl_3' function has a better error message in the case where
there is no curve.  Indeed, `want sequence of two or three items' is
downright unfair in the case where you did in fact supply a sequence of
three items, and the real problem is that you're trying to construct a
curveless point.
ec.c
t/t-ec.py