Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

variable sized precomputed table for signing #337

Merged
merged 1 commit into from
Sep 5, 2019

Commits on Sep 5, 2019

  1. variable signing precompute table

    make ECMULT_GEN_PREC_BITS configurable
    
    ecmult_static_context.h: add compile time config assertion (#3) - Prevents accidentally using a file which was generated with a
    different configuration.
    
    README: mention valgrind issue
    
    With --with-ecmult-gen-precision=8, valgrind needs a max stack size
    adjustment to not run into a stack switching heuristic:
    
    http://valgrind.org/docs/manual/manual-core.html
    
    > -max-stackframe= [default: 2000000]
    > The maximum size of a stack frame. If the stack pointer moves by more than this amount then Valgrind will assume that the program is switching to a different stack.
    You may need to use this option if your program has large stack-allocated arrays.
    
    basic-config: undef ECMULT_WINDOW_SIZE before (re-)defining it
    djb authored and douglasbakkum committed Sep 5, 2019
    Configuration menu
    Copy the full SHA
    dcb2e3b View commit details
    Browse the repository at this point in the history