Lines Matching refs:GFMethod
56 /* Allocate memory for a new GFMethod object. */
57 GFMethod *
61 GFMethod *meth;
63 meth = (GFMethod *) kmem_alloc(sizeof(GFMethod), kmflag);
65 meth = (GFMethod *) malloc(sizeof(GFMethod));
82 /* Construct a generic GFMethod for arithmetic over prime fields with
84 GFMethod *
88 GFMethod *meth = NULL;
139 /* Construct a generic GFMethod for arithmetic over binary polynomial
143 GFMethod *
148 GFMethod *meth = NULL;
195 /* Free the memory allocated (if any) to a GFMethod object. */
197 GFMethod_free(GFMethod *meth)
207 kmem_free(meth, sizeof(GFMethod));
218 const GFMethod *meth)
234 ec_GFp_neg(const mp_int *a, mp_int *r, const GFMethod *meth)
248 const GFMethod *meth)
273 const GFMethod *meth)
356 const GFMethod *meth)
450 const GFMethod *meth)
527 const GFMethod *meth)
618 const GFMethod *meth)
702 const GFMethod *meth)
795 const GFMethod *meth)
863 const GFMethod *meth)
940 ec_GFp_mod(const mp_int *a, mp_int *r, const GFMethod *meth)
948 const GFMethod *meth)
955 ec_GFp_sqr(const mp_int *a, mp_int *r, const GFMethod *meth)
964 const GFMethod *meth)
989 const GFMethod *meth)
997 ec_GF2m_neg(const mp_int *a, mp_int *r, const GFMethod *meth)
1008 ec_GF2m_mod(const mp_int *a, mp_int *r, const GFMethod *meth)
1016 const GFMethod *meth)
1023 ec_GF2m_sqr(const mp_int *a, mp_int *r, const GFMethod *meth)
1032 const GFMethod *meth)