aboutsummaryrefslogtreecommitdiffstats
path: root/g10/sqrtu32.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* tofu: Compare squares instead of square roots.Marcus Brinkmann2017-07-101-14/+0
| | | | | | | | | | | | | * 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]>
* g10: Add missing sqrtu32.h and sqrtu32.c.Neal H. Walfield2016-09-071-0/+14
-- Signed-off-by: Neal H. Walfield <[email protected]> Fixes-commit: 875ac92.