From: Gordon M. <go...@us...> - 2003-02-24 10:59:32
|
Update of /cvsroot/bitcollider/bitcollider/include In directory sc8-pr-cvs1:/tmp/cvs-serv23953/include Modified Files: bc_version.h tigertree.h Log Message: tigertree fix and related version revs Index: bc_version.h =================================================================== RCS file: /cvsroot/bitcollider/bitcollider/include/bc_version.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -r1.7 -r1.8 *** bc_version.h 8 Jul 2002 19:39:57 -0000 1.7 --- bc_version.h 24 Feb 2003 10:59:29 -0000 1.8 *************** *** 19,26 **** /* This indicates the version of the official submission spec */ ! #define BC_SUBMITSPECVER "0.3" /* Your agent-version string; should be #[.#[.#[etc]]] format */ ! #define BC_VERSION "0.4.0" #endif --- 19,26 ---- /* This indicates the version of the official submission spec */ ! #define BC_SUBMITSPECVER "0.4" /* Your agent-version string; should be #[.#[.#[etc]]] format */ ! #define BC_VERSION "0.5.0" #endif Index: tigertree.h =================================================================== RCS file: /cvsroot/bitcollider/bitcollider/include/tigertree.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** tigertree.h 3 Apr 2001 23:53:49 -0000 1.2 --- tigertree.h 24 Feb 2003 10:59:29 -0000 1.3 *************** *** 10,18 **** #define TIGERSIZE 24 ! /* size of each block independently tiger-hashed */ #define BLOCKSIZE 1024 ! /* size of input to each non-leaf hash-tree node */ ! #define NODESIZE TIGERSIZE*2 /* default size of interim values stack, in TIGERSIZE --- 10,18 ---- #define TIGERSIZE 24 ! /* size of each block independently tiger-hashed, not counting leaf 0x00 prefix */ #define BLOCKSIZE 1024 ! /* size of input to each non-leaf hash-tree node, not counting node 0x01 prefix */ ! #define NODESIZE (TIGERSIZE*2) /* default size of interim values stack, in TIGERSIZE *************** *** 23,27 **** typedef struct tt_context { word64 count; /* total blocks processed */ ! unsigned char block[BLOCKSIZE]; /* block in progress */ int index; /* index into block */ unsigned char *top; /* top (next empty) stack slot */ --- 23,29 ---- typedef struct tt_context { word64 count; /* total blocks processed */ ! unsigned char leaf[1+BLOCKSIZE]; /* leaf in progress */ ! unsigned char *block; /* leaf data */ ! unsigned char node[1+NODESIZE]; /* node scratch space */ int index; /* index into block */ unsigned char *top; /* top (next empty) stack slot */ |