aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/math
Commit message (Expand)AuthorAgeFilesLines
* Add combined conditional add-or-subtractJack Lloyd2018-06-143-5/+41
* Remove CT annotations from Montgomery reductionJack Lloyd2018-06-141-8/+0
* In Montgomery mul, avoid branching based on sig words of integersJack Lloyd2018-06-141-13/+21
* Make Karatsuba multiply completely const timeJack Lloyd2018-06-143-19/+45
* Unroll bigint_monty_redc for various sizesJack Lloyd2018-06-114-24/+2691
* Fix a bug in Barrett reductionJack Lloyd2018-06-052-26/+33
* Correct error in P-224 computationJack Lloyd2018-05-311-2/+3
* Speed up DSA param genJack Lloyd2018-05-211-3/+6
* Fix typo in comment [ci skip]Jack Lloyd2018-05-171-1/+1
* Add clarifying comments and increase M-R tests for 256-bit integersJack Lloyd2018-05-151-3/+7
* Always use 1/2^-128 error bounds with Miller-RabinJack Lloyd2018-05-141-24/+14
* Add message to BOTAN_ARG_CHECK and use it more widelyJack Lloyd2018-05-131-2/+1
* Inline BigInt::shrink_to_fitJack Lloyd2018-05-092-7/+5
* Add 24-word wide Comba multiply/squareJack Lloyd2018-05-083-1/+1101
* Remove needless allocation in Montgomery_Int::mul_byJack Lloyd2018-05-022-7/+41
* Make Montgomery_Int public, add function for addition with workspaceJack Lloyd2018-05-022-3/+11
* Inline this operator+ [ci skip]Jack Lloyd2018-04-262-6/+1
* Correct handling of gcd(p - 1, e) in RSA keygenJack Lloyd2018-04-261-7/+25
* Rewrite GCD in less branchy way, and use Montgomery in M-R testJack Lloyd2018-04-261-16/+30
* Add BigInt functions for adding, subtracting and comparing with wordsJack Lloyd2018-04-264-51/+142
* Add BigInt::mod_subJack Lloyd2018-04-232-0/+65
* Add early exit for P-192 reduceJack Lloyd2018-04-181-0/+5
* Remove now unused functionJack Lloyd2018-04-181-19/+0
* Optimize P-224 reductionJack Lloyd2018-04-181-47/+77
* Further NIST reduction tweaksJack Lloyd2018-04-181-40/+44
* P-192 optimizationsJack Lloyd2018-04-181-34/+64
* Micro optimizations in P-256 and P-384 reductionsJack Lloyd2018-04-181-30/+73
* Minor optimizations for P-256 and P-384Jack Lloyd2018-04-171-161/+65
* Avoid potential side channel when generating RSA primesJack Lloyd2018-04-173-41/+173
* Add vars to split the two Karatsuba sub-workspacesJack Lloyd2018-04-161-14/+20
* Add const time annotationsJack Lloyd2018-04-155-6/+42
* Simplify Karatsuba codeJack Lloyd2018-04-153-39/+43
* Add a Montgomery exponentiation that takes variable timeJack Lloyd2018-04-092-0/+38
* Square is always positiveJack Lloyd2018-04-081-0/+1
* Add BigInt::square plus a speed test for BigInt multiplyJack Lloyd2018-04-083-8/+25
* Convert comba script to Python3Jack Lloyd2018-04-081-1/+1
* Split up asm constructs to avoid miscompilationJack Lloyd2018-04-051-30/+49
* Fix some Doxygen errorsJack Lloyd2018-03-282-1/+3
* In Barrett avoid creating an unnecessary tempJack Lloyd2018-03-251-4/+4
* Fix some corner cases for small values in power_modJack Lloyd2018-03-241-1/+15
* Tiny optimization in Montgomery inverseJack Lloyd2018-03-221-1/+1
* Shift ECDSA inputs to match OpenSSL behaviorJack Lloyd2018-03-212-0/+21
* Simplify a common case BigInt constructorJack Lloyd2018-03-212-1/+13
* Store base point multiplies in a single std::vectorJack Lloyd2018-03-202-0/+17
* Remove use of ;; to end linesJack Lloyd2018-03-192-2/+2
* Add basecase_sqr functionJack Lloyd2018-03-161-3/+29
* Add Montgomery multiexponentiationJack Lloyd2018-03-154-0/+95
* Some additional operations on Montgomery_IntJack Lloyd2018-03-142-0/+45
* Add a facility for debug-mode assertionsJack Lloyd2018-03-141-3/+7
* Improve memory handling for PointGFpJack Lloyd2018-03-143-6/+3