aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/server.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2017-07-06 11:52:24 +0000
committerMarcus Brinkmann <[email protected]>2017-07-10 16:09:42 +0000
commitd24594976686983c7186cbe4e78153888a13b6e4 (patch)
tree12d3e6bbcf3ec1f1a2436d1ad0aa4fded4a48ce1 /dirmngr/server.c
parentspeedo: Provide a vagrantfile to test speedo in an isolated VM. (diff)
downloadgnupg-d24594976686983c7186cbe4e78153888a13b6e4.tar.gz
gnupg-d24594976686983c7186cbe4e78153888a13b6e4.zip
tofu: Compare squares instead of square roots.
* g10/Makefile.am (tofu_source) [USE_TOFU]: Remove sqrtu32.h and sqrtu32.c. * g10/sqrtu32.h, g10/sqrtu32.c: Removed files. * g10/tofu.c: Compare squares instead of square roots. -- The original code is a factor 11.5 slower than using libm's sqrt(), which in turn is a factor 3.5 slower than using one multiplication on the other side of the comparison. Also, it's much simpler now. Signed-off-by: Marcus Brinkmann <[email protected]>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions