X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/f46efa79cd2bb9adc81541f1218965f85a6b2eef..432c4e184d44704511a5991b80224a87cb1d4613:/gf.h diff --git a/gf.h b/gf.h index ebf67f1..fba801c 100644 --- 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