Standard curves and curve checking.
[u/mdw/catacomb] / gf.h
diff --git a/gf.h b/gf.h
index ebf67f1..fba801c 100644 (file)
--- a/gf.h
+++ b/gf.h
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: gf.h,v 1.2 2004/03/21 22:52:06 mdw Exp $
+ * $Id: gf.h,v 1.3 2004/03/27 17:54:11 mdw Exp $
  *
  * Arithmetic on binary polynomials
  *
@@ -30,6 +30,9 @@
 /*----- Revision history --------------------------------------------------* 
  *
  * $Log: gf.h,v $
+ * Revision 1.3  2004/03/27 17:54:11  mdw
+ * Standard curves and curve checking.
+ *
  * Revision 1.2  2004/03/21 22:52:06  mdw
  * Merge and close elliptic curve branch.
  *
@@ -102,6 +105,15 @@ extern mp *gf_sqr(mp */*d*/, mp */*a*/);
 
 extern void gf_div(mp **/*qq*/, mp **/*rr*/, mp */*a*/, mp */*b*/);
 
+/* --- @gf_irreduciblep@ --- *
+ *
+ * Arguments:  @mp *f@ = a polynomial
+ *
+ * Returns:    Nonzero if the polynomial is irreducible; otherwise zero.
+ */
+
+extern int gf_irreduciblep(mp */*f*/);
+
 /* --- @gf_gcd@ --- *
  *
  * Arguments:  @mp **gcd, **xx, **yy@ = where to write the results