Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | For odd moduli use a input-independent modular inverse algorithm. | Jack Lloyd | 2016-02-20 | 1 | -0/+32 |
| | | | | Also adds a (not const time) implementation of almost Montgomery reduction. | ||||
* | Add constant time conditional swap, add, sub for bigint words | Jack Lloyd | 2016-02-17 | 1 | -0/+123 |
Not optimized and relies on asm support for const time word_add/word_sub instructions. Fix a bug introduced in 46e9a89 - unpoison needs to call the valgrind API with the pointer rather than the reference. Caused values not to be unpoisoned. |