Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prime finite base field with test cases, add, sub, and partial mul (#9)
* feat: optimized modular addition * feat: implement optimized sub * test: addition and subtraction * chore: docs * tests: red green tests for adding mul, div, neg, inv * docs: add explainer on purpose of finite field * feat: additive inverse * feat: montgomery multiplication * fix: favor const implementations * fix: constant time montgomery multiply * fix: clean up comment
- Loading branch information