X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/986527ae4af14be68551d0b49a1145bb3e89f259..3688eb757240b2332f67ec827be8caf6f6abe924:/group.h diff --git a/group.h b/group.h index aae0e60..5ea7786 100644 --- a/group.h +++ b/group.h @@ -341,6 +341,22 @@ typedef struct gprime_param { group *group_prime(const gprime_param */*gp*/); +/*----- Binary field subgroups --------------------------------------------*/ + +typedef gprime_param gbin_param; + +/* --- @group_binary@ --- * + * + * Arguments: @const gbin_param *gb@ = group parameters + * + * Returns: A pointer to the group, or null. + * + * Use: Constructs an abstract group interface for a subgroup of a + * prime field. Group elements are @mp *@ pointers. + */ + +group *group_binary(const gbin_param */*gp*/); + /*----- Elliptic curve groups ---------------------------------------------*/ /* --- @group_ec@ --- *