/* -*-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
*/
* 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 <assert.h>
/*----- Static variables --------------------------------------------------*/
-static octet gflog[] = GFSHARE_LOG, gfexp[] = GFSHARE_EXP;
+static const octet gflog[] = GFSHARE_LOG, gfexp[] = GFSHARE_EXP;
/*----- Main code ---------------------------------------------------------*/