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>
Mon, 25 Nov 2019 17:51:32 +0000 (17:51 +0000)
commitf169c24bb9769a5e2a8a3ea40d233b0c3092e813
tree03ff8efd9f85d5a2e2e89a047e9487e1d9a28cd5
parent55114a87bd04f6c10811dcdfa65c0acf49430a30
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