aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/math/bigint/bigint.cpp
Commit message (Expand)AuthorAgeFilesLines
* 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
* Fix BigInt random_integer() distribution issue.Simon Warta2015-07-241-2/+2
* Refactor BigIntSimon Warta2015-07-241-0/+11
* BigInt::to_u32bit failed on 32-bit integers. GH #220Jack Lloyd2015-07-231-1/+1
* Fix round_upSimon Warta2015-07-151-2/+2
* Add specialized reducers for P-192, P-224, P-256 and P-384lloyd2015-02-261-36/+3
* Ensure all files have copyright and license info.lloyd2015-01-101-1/+1
* Inline BigInt::get_bit and byte_atlloyd2015-01-081-21/+0
* Add specialized reduction for P-521 along with 9x9 Comba routines.lloyd2014-11-151-8/+3