aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/math/bigint/big_ops2.cpp
Commit message (Expand)AuthorAgeFilesLines
* Remove shift optimization for small word BigInt operator*=Jack Lloyd2019-10-301-16/+1
* Fix bad compare in BigInt <<=Jack Lloyd2019-08-231-1/+1
* Small BigInt optimizationsJack Lloyd2019-08-221-7/+4
* Use consistent logic for OAEP and PKCS1v15 decodingJack Lloyd2018-12-211-2/+1
* Fix bug and avoid allocations in left shiftJack Lloyd2018-12-071-9/+6
* Const time the behavior of shifts [WIP]Jack Lloyd2018-12-061-22/+16
* Use BigInt::cond_flip_signJack Lloyd2018-12-051-3/+1
* Fix shift operatorJack Lloyd2018-12-031-1/+1
* Correct a bug in BigInt::operator%(word)Jack Lloyd2018-12-011-16/+14
* Unroll mod_sub for 6 words also, helps P-384 quite a bitJack Lloyd2018-12-011-0/+2
* Add BigInt::mod_mulJack Lloyd2018-12-011-9/+29
* Simplify BigInt addition and subtractionJack Lloyd2018-11-301-98/+45
* Add CT::Mask typeJack Lloyd2018-11-281-1/+1
* Make more BigInt functions const-timeJack Lloyd2018-11-261-49/+55
* In operator>> avoid testing for zero unless requiredJack Lloyd2018-11-231-1/+1
* Optimize mod_subJack Lloyd2018-11-091-10/+21
* Add a cache of sig words to BigIntJack Lloyd2018-11-091-20/+17
* Avoid unnecessary realloc in BigInt::mod_subJack Lloyd2018-06-171-2/+7
* Add BigInt functions for adding, subtracting and comparing with wordsJack Lloyd2018-04-261-25/+39
* Add BigInt::mod_subJack Lloyd2018-04-231-0/+49
* Square is always positiveJack Lloyd2018-04-081-0/+1
* Add BigInt::square plus a speed test for BigInt multiplyJack Lloyd2018-04-081-0/+16
* Remove MP_WORD_BITS constantJack Lloyd2018-03-011-4/+4
* Avoid needless allocation in BigInt operator+=Jack Lloyd2018-02-281-4/+2
* Avoid some needless allocationsJack Lloyd2018-02-261-11/+27
* Optimize Barrett reductionJack Lloyd2018-02-261-4/+53
* Add BigInt::operator*= taking a wordJack Lloyd2018-02-261-2/+17
* Pass workspace size to various bigint_ functionsJack Lloyd2018-02-251-1/+1
* Minor optimizations in BigInt memory handlingJack Lloyd2018-02-231-1/+3
* Remove needless variableJack Lloyd2017-10-061-2/+0
* Convert to using standard uintN_t integer typesJack Lloyd2016-12-181-2/+2
* Reduction of code complexity in MP & ECC classes.Matthias Gierlings2016-06-191-4/+2
* lib/math: Convert &vec[0] to vec.data()Daniel Seither2015-06-201-3/+3
* Ensure all files have copyright and license info.lloyd2015-01-101-1/+1
* Move lib into srclloyd2014-01-101-0/+221