Really quite broken.
* Firstly, the code tried to copy a point to an uninitialized
destination point, which just isn't a good idea.
* And secondly, after tediously doing the correct conversion, it just
tried to copy the raw point over the top of the correct converted
point.
Not good, really.
if (getecpt(ECCURVE_C(me), &f->base, x) ||
(f->exp = getmp(m)) == 0)
return (-1);
if (getecpt(ECCURVE_C(me), &f->base, x) ||
(f->exp = getmp(m)) == 0)
return (-1);