Skip to content

Commit

Permalink
Sets window size to 19 by default
Browse files Browse the repository at this point in the history
  • Loading branch information
kenorb committed Jun 15, 2022
1 parent 4d67911 commit b55a375
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions brainflayer.c
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ void usage(unsigned char *name) {
-B batch size for affine transformations\n\
must be a power of 2 (default/max: %d)\n\
-N number of SHA rounds (used only in '-t shaxn' mode)\n\
-w WINDOW_SIZE window size for ecmult table (default: 18)\n\
-w WINDOW_SIZE window size for ecmult table (default: 19)\n\
uses about 3 * 2^w KiB memory on startup, but\n\
only about 2^w KiB once the table is built\n\
-m FILE load ecmult table from FILE\n\
Expand Down Expand Up @@ -419,7 +419,7 @@ int main(int argc, char **argv) {

unsigned char modestr[64];

int spok = 0, aopt = 0, boptn = 0, vopt = 0, wopt = 18, xopt = 0;
int spok = 0, aopt = 0, boptn = 0, vopt = 0, wopt = 19, xopt = 0;
int nopt_mod = 0, nopt_rem = 0, Bopt = 0, Copt = 0, Nopt = 2;
uint64_t kopt = 0;
unsigned char *bopts[BOPT_MAX];
Expand Down

0 comments on commit b55a375

Please sign in to comment.