diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-12-13 11:26:09 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-12-13 11:26:09 -0500 |
commit | 041e9235c1710936a43f73d2f6e87bfc6e1c2242 (patch) | |
tree | b7d61b884932cbc74739681852f842979dd8debc /acinclude.m4 | |
parent | a3fe08164758e755fb2b51c7fb96e42d96179640 (diff) | |
download | tor-041e9235c1710936a43f73d2f6e87bfc6e1c2242.tar.gz tor-041e9235c1710936a43f73d2f6e87bfc6e1c2242.zip |
Lower the loop_max constant in curve25519_basepoint_spot_check()
The point of this function is to make sure that the ed25519-based
implementation of curve25519_basepoint() actually works when we
start tor, and use the regular fallback implementation if it
doesn't. But it accounts for 9% of our startup time in the case
when we have directory information, and I think it's safe to make
the test shorter. After all, it has yet to find any actual bugs in
curved25519_scalarmult_basepoint_donna() on any platforms.
Closes ticket 28838.
Diffstat (limited to 'acinclude.m4')
0 files changed, 0 insertions, 0 deletions