Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize addmod() for elliptic curve context
In elliptic curve context the x and y arguments are already reduced modulo mod. Here we can pick up similar condition and provide optimized implementation for such case. This case is 2x faster with little overhead for other cases. Based on holiman/uint256#86.
- Loading branch information