Various changes. Kinda in the middle of it here, but it seems to work.
[catacomb-perl] / test.pl
1 use Catacomb qw(:const);
2
3 ($c, $g, $r, $h) = Catacomb::EC::Curve->getinfo("secp160r1");
4 print $g->atinfp(), ": ", $g->x, ", ", $g->y, "\n";
5 $p = $c->mul($g, $r);
6 print $p->atinfp(), "\n";