X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/5d4fee2a9d2ecf4d2566c0deca27e1878bf2380f..578a86d91941a0f722b87973d88e84ec2cf9a608:/gfshare.c diff --git a/gfshare.c b/gfshare.c index 09d3e89..a46f948 100644 --- a/gfshare.c +++ b/gfshare.c @@ -1,8 +1,8 @@ /* -*-c-*- * - * $Id: gfshare.c,v 1.6 2000/12/06 20:30:10 mdw Exp $ + * $Id: gfshare.c,v 1.9 2004/04/08 01:36:15 mdw Exp $ * - * Secret sharing over %$\gf(2^8)$% + * Secret sharing over %$\gf{2^8}$% * * (c) 2000 Straylight/Edgeware */ @@ -27,32 +27,6 @@ * MA 02111-1307, USA. */ -/*----- Revision history --------------------------------------------------* - * - * $Log: gfshare.c,v $ - * 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 @@ -70,7 +44,7 @@ /*----- Static variables --------------------------------------------------*/ -static octet gflog[] = GFSHARE_LOG, gfexp[] = GFSHARE_EXP; +static const octet gflog[] = GFSHARE_LOG, gfexp[] = GFSHARE_EXP; /*----- Main code ---------------------------------------------------------*/