RustCrypto / RustCrypto/elliptic-curves
Bitwise operations for scalars
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 874
- Forks
- 299
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 12
Description
I'm curious as to why Shr is the only bitwise operator implemented for scalars? I'm interested in k256 specifically, but I think this is a more generalized question.
Why not have Shl, And, etc. etc.?
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 reviewing the scalar implementation and existing Shr support in k256, then compare how scalar bitwise operations are handled across the repository's curve implementations. Define the desired operator and trait scope, including which operations should be supported; done means the maintainers agree on that API and its compatibility implications.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cryptography
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100