Standard curves and curve checking.
[u/mdw/catacomb] / gf.h
diff --git a/gf.h b/gf.h
index 889cd9b..fba801c 100644 (file)
--- a/gf.h
+++ b/gf.h
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: gf.h,v 1.1.2.1 2004/03/21 22:39:46 mdw Exp $
+ * $Id: gf.h,v 1.3 2004/03/27 17:54:11 mdw Exp $
  *
  * Arithmetic on binary polynomials
  *
 /*----- 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.
+ *
  * Revision 1.1.2.1  2004/03/21 22:39:46  mdw
  * Elliptic curves on binary fields work.
  *
@@ -99,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