aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/math
Commit message (Expand)AuthorAgeFilesLines
* Fix MSVC "optimization" warning about bool conversionsJack Lloyd2019-12-062-2/+2
* Remove the 32-bit x86 asm for MSVCJack Lloyd2019-11-232-272/+4
* Remove shift optimization for small word BigInt operator*=Jack Lloyd2019-10-301-16/+1
* Fix error messageJack Lloyd2019-10-171-6/+6
* Fix coprimality check during prime generationJack Lloyd2019-10-171-27/+21
* When generating prime, avoid Lucas test if prob < 32Jack Lloyd2019-10-171-4/+6
* Merge GH #2147 Add constant-time gcd computationJack Lloyd2019-10-162-15/+52
|\
| * Add constant-time gcdJack Lloyd2019-10-122-15/+52
* | Improve speed of prime generation especially for RSA keygenJack Lloyd2019-10-121-31/+65
|/
* Deprecate many publically available headersJack Lloyd2019-09-066-6/+15
* Fix buildJack Lloyd2019-08-242-1/+3
* Inline the fixed window and Montgomery strategies into pow_mod.cppJack Lloyd2019-08-236-198/+133
* Remove pow_mod.h from power_mod implementationJack Lloyd2019-08-231-19/+23
* Fix bad compare in BigInt <<=Jack Lloyd2019-08-231-1/+1
* Small BigInt optimizationsJack Lloyd2019-08-224-14/+15
* Add function comment [ci skip]Jack Lloyd2019-08-171-0/+6
* Avoid using old pow_mod interface in RSAJack Lloyd2019-08-171-0/+1
* Fix Coverity issueJack Lloyd2019-07-101-3/+1
* Fix LGTM warningJack Lloyd2019-07-051-4/+2
* Officially deprecate headersJack Lloyd2019-06-071-1/+1
* Add script for running TLS fuzzerJack Lloyd2019-05-241-2/+2
* Use C++ raw strings in inline asmJack Lloyd2019-05-032-72/+64
* Fix feature macro checks.Jack Lloyd2019-04-262-4/+5
* Fix warningJack Lloyd2019-01-241-3/+6
* Doc updatesJack Lloyd2019-01-241-1/+3
* Revamp BigInt encoding and decoding.Jack Lloyd2019-01-244-103/+130
* Fix some warnings from PVS-StudioJack Lloyd2019-01-171-2/+5
* Fix use of macroJack Lloyd2018-12-311-1/+1
* Simplifications in BigIntJack Lloyd2018-12-291-7/+1
* Make bigint_sub_abs const timeJack Lloyd2018-12-271-6/+3
* Fix Barrett reduction input boundJack Lloyd2018-12-262-5/+5
* Avoid size-based bypass of the comparison in Barrett reduction.Jack Lloyd2018-12-241-1/+1
* Avoid conditional branch in Barrett for negative inputsJack Lloyd2018-12-241-4/+27
* In NIST P-xxx reductions unpoison S before using itJack Lloyd2018-12-241-8/+10
* Unpoison result of high_bits_freeJack Lloyd2018-12-241-0/+1
* Make ctz and high_bit faster and const-time-ishJack Lloyd2018-12-221-5/+0
* Use consistent logic for OAEP and PKCS1v15 decodingJack Lloyd2018-12-212-6/+3
* Unroll const_time_lookup by 2Jack Lloyd2018-12-141-6/+10
* Merge GH #1780 Use constant time algorithm for monty_inverseJack Lloyd2018-12-092-39/+23
|\
| * Use a const time algorithm for monty_inverseJack Lloyd2018-12-092-39/+23
* | Fix typoJack Lloyd2018-12-091-1/+1
* | Avoid doing a variable time division during Montgomery setupJack Lloyd2018-12-093-4/+9
|/
* Move Miller-Rabin t param inside the blockJack Lloyd2018-12-091-2/+2
* Avoid repeated size checks when setting words in NIST reductionJack Lloyd2018-12-081-25/+33
* Merge GH #1774 Const time BigInt shiftsJack Lloyd2018-12-086-98/+83
|\
| * Avoid early exitJack Lloyd2018-12-071-4/+3
| * Fix bug and avoid allocations in left shiftJack Lloyd2018-12-075-22/+36
| * Const time the behavior of shifts [WIP]Jack Lloyd2018-12-063-87/+59
* | In calc_sig_words save the size of m_reg before the loopJack Lloyd2018-12-081-3/+4
* | Merge GH #1773 Add BigInt::ct_reduce_belowJack Lloyd2018-12-073-3/+39
|\ \ | |/ |/|