From 9d82a8c01e03fa1d0e6bca6d0874df3c47a558ec Mon Sep 17 00:00:00 2001 From: mdw Date: Thu, 1 Apr 2004 12:50:27 +0000 Subject: [PATCH] Remove debugging code. --- calc/ec2.cal | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/calc/ec2.cal b/calc/ec2.cal index 3e89034..9159f54 100644 --- a/calc/ec2.cal +++ b/calc/ec2.cal @@ -1,6 +1,6 @@ /* -*-apcalc-*- * - * $Id: ec2.cal,v 1.2 2004/03/21 22:52:06 mdw Exp $ + * $Id: ec2.cal,v 1.3 2004/04/01 12:50:27 mdw Exp $ * * Testbed for elliptic curve arithmetic over binary fields * @@ -30,6 +30,9 @@ /*----- Revision history --------------------------------------------------* * * $Log: ec2.cal,v $ + * Revision 1.3 2004/04/01 12:50:27 mdw + * Remove debugging code. + * * Revision 1.2 2004/03/21 22:52:06 mdw * Merge and close elliptic curve branch. * @@ -83,7 +86,6 @@ define ec2_pt_add(a, b) local e, alpha; local obj ec2_pt d; - print "> ecadd: ", a, b; if (a == 0) d = b; else if (b == 0) @@ -107,7 +109,6 @@ define ec2_pt_add(a, b) d.e = e; } - print "< ecadd: ", d; return (d); } @@ -115,7 +116,6 @@ define ec2_pt_dbl(a) { local e, alpha; local obj ec2_pt d; - print "> ecdbl: ", a; if (istype(a, 1)) return (0); e = a.e; @@ -123,7 +123,6 @@ define ec2_pt_dbl(a) d.x = (e.a + alpha^2 + alpha) % e.p; d.y = ((a.x + d.x) * alpha + d.x + a.y) % e.p; d.e = e; - print "< ecdbl: ", d; return (d); } -- 2.11.0