X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/eaa515d8f14b12289534502060def4e10654416e..b817bfc642225b8c3c0b6a7e42d1fb949b61a606:/gfshare.c diff --git a/gfshare.c b/gfshare.c index 2bc72c6..a46f948 100644 --- a/gfshare.c +++ b/gfshare.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: gfshare.c,v 1.7 2001/06/16 23:42:17 mdw Exp $ + * $Id: gfshare.c,v 1.9 2004/04/08 01:36:15 mdw Exp $ * * Secret sharing over %$\gf{2^8}$% * @@ -27,35 +27,6 @@ * MA 02111-1307, USA. */ -/*----- Revision history --------------------------------------------------* - * - * $Log: gfshare.c,v $ - * Revision 1.7 2001/06/16 23:42:17 mdw - * Typesetting fixes. - * - * Revision 1.6 2000/12/06 20:30:10 mdw - * Change secret sharing interface: present the secret at share - * construction time. - * - * Revision 1.5 2000/06/24 19:11:47 mdw - * Fix daft error in the comment for @gfshare_get@. - * - * Revision 1.4 2000/06/24 18:29:05 mdw - * Interface change: allow shares to be extracted from a context on demand, - * rather than building them all up-front. - * - * Revision 1.3 2000/06/22 18:04:13 mdw - * Improve secret reconstruction -- compute coefficients as needed rather - * than making a big array of them. - * - * Revision 1.2 2000/06/18 23:12:15 mdw - * Change typesetting of Galois Field names. - * - * Revision 1.1 2000/06/17 10:56:30 mdw - * Fast but nonstandard secret sharing system. - * - */ - /*----- Header files ------------------------------------------------------*/ #include @@ -73,7 +44,7 @@ /*----- Static variables --------------------------------------------------*/ -static octet gflog[] = GFSHARE_LOG, gfexp[] = GFSHARE_EXP; +static const octet gflog[] = GFSHARE_LOG, gfexp[] = GFSHARE_EXP; /*----- Main code ---------------------------------------------------------*/