aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/math/bigint/bigint.cpp
Commit message (Expand)AuthorAgeFilesLines
* Deprecate BigInt::shrink_to_fitJack Lloyd2020-03-211-4/+2
* Fix underflow bug in modular inverseJack Lloyd2020-03-081-0/+2
* Add BigInt::ct_cond_addJack Lloyd2020-03-061-0/+9
* Optimize BigInt::get_substringJack Lloyd2020-02-071-9/+18
* Deprecate many publically available headersJack Lloyd2019-09-061-0/+7
* Small BigInt optimizationsJack Lloyd2019-08-221-4/+4
* Fix warningJack Lloyd2019-01-241-3/+6
* Revamp BigInt encoding and decoding.Jack Lloyd2019-01-241-15/+34
* Simplifications in BigIntJack Lloyd2018-12-291-7/+1
* 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
* Merge GH #1774 Const time BigInt shiftsJack Lloyd2018-12-081-9/+18
|\
| * Fix bug and avoid allocations in left shiftJack Lloyd2018-12-071-9/+18
* | 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-071-2/+25
|\ \ | |/ |/|
| * Add BigInt::ct_reduce_belowJack Lloyd2018-12-061-2/+25
* | Better logic in BigInt::bits wrt valgrind const time checksJack Lloyd2018-12-061-2/+3
|/
* Make BigInt::cond_flip_sign constant timeJack Lloyd2018-12-051-3/+9
* Remove some conditional branches from divisionJack Lloyd2018-12-051-1/+6
* Make binary extended Euclidean algorithm less branchyJack Lloyd2018-12-031-0/+12
* Add ct_modulo and BigInt::ct_cond_swapJack Lloyd2018-12-031-1/+10
* Add a const-time division algorithmJack Lloyd2018-12-021-2/+2
* Add BigInt::mod_mulJack Lloyd2018-12-011-2/+0
* Add CT::Mask typeJack Lloyd2018-11-281-8/+16
* Make more BigInt functions const-timeJack Lloyd2018-11-261-17/+51
* Add a cache of sig words to BigIntJack Lloyd2018-11-091-38/+50
* Simplify BigInt::get_substring a bitJack Lloyd2018-09-151-10/+11
* Cleanup of BigInt encoding/decoding functionsJack Lloyd2018-08-141-1/+1
* Add Lucas test from FIPS 186-4Jack Lloyd2018-07-311-0/+15
* Inline BigInt::shrink_to_fitJack Lloyd2018-05-091-6/+0
* Add BigInt functions for adding, subtracting and comparing with wordsJack Lloyd2018-04-261-0/+12
* Add const time annotationsJack Lloyd2018-04-151-0/+12
* Shift ECDSA inputs to match OpenSSL behaviorJack Lloyd2018-03-211-0/+12
* Simplify a common case BigInt constructorJack Lloyd2018-03-211-0/+5
* Store base point multiplies in a single std::vectorJack Lloyd2018-03-201-0/+11
* Remove MP_WORD_BITS constantJack Lloyd2018-03-011-6/+6
* Inline some simple BigInt sign handling functionsJack Lloyd2018-03-011-29/+0
* Optimize P-256 and P-384 reductionJack Lloyd2018-02-261-3/+9
* Optimize Barrett reductionJack Lloyd2018-02-261-0/+5
* Use reduce_below in PointGFpJack Lloyd2018-02-251-0/+2
* Add BigInt::reduce_belowJack Lloyd2018-02-251-0/+24
* Minor optimizations in BigInt memory handlingJack Lloyd2018-02-231-1/+1
* New API for blinded ECC point multiplicationJack Lloyd2018-02-211-1/+1
* Tiny optimization in BigInt::const_time_lookupJack Lloyd2018-02-131-1/+3
* Add wrappers for reinterpret_cast between char* and uint8_t*Jack Lloyd2017-10-031-1/+1
* Add valgrind annotations to check const_time_lookupJack Lloyd2017-09-261-0/+5
* Use a side channel silent table look up in the Montgomery exponentiationJack Lloyd2017-09-251-0/+24
* Header file cleanupsJack Lloyd2017-09-211-2/+0
* Convert to using standard uintN_t integer typesJack Lloyd2016-12-181-15/+15
* Internal header cleanupsJack Lloyd2015-09-191-1/+1