Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Handle no reduction case needed in montgomery asm
As said by @han0110: > It's because the montgomery_reduction hardcoded in from_raw is only for sparse field (higest carry will always be 0), but we shuold just hartdcode dense field version to cover all cases. And it should be fine since from_raw is usually used for constly initialize some constants. Co-authored-by: Han <[email protected]>
- Loading branch information