RustCrypto / RustCrypto/crypto-bigint
`MontyForm` variable-time arithmetic for constants
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 309
- Forks
- 95
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 3
Description
Elliptic-curve algorithms often contain arithmetic with constants. MontyForm could provide functions that optimize these operations.
I propose to introduce *_vartime methods that are only variable-time over rhs: MontyForm. They have to be constant-time for lhs.
Related: #839.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the existing MontyForm arithmetic APIs and the discussion in related issue #839. Identify which constant operations need *_vartime methods, then verify that each is variable-time only over rhs: MontyForm and remains constant-time for lhs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cryptography
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100