Skip to content

elliptic-curve: scalar Mul bounds#1854

Merged
tarcieri merged 1 commit into
masterfrom
elliptic-curve/scalar-mul-bounds
May 22, 2025
Merged

elliptic-curve: scalar Mul bounds#1854
tarcieri merged 1 commit into
masterfrom
elliptic-curve/scalar-mul-bounds

Conversation

@tarcieri

Copy link
Copy Markdown
Member

Adds bounds on CurveArithmetic::Scalar that it has a Mul<P> impl for both AffinePoint and ProjectivePoint

Adds bounds on `CurveArithmetic::Scalar` that it has a `Mul<P>` impl for
both `AffinePoint` and `ProjectivePoint`
@tarcieri

tarcieri commented May 22, 2025

Copy link
Copy Markdown
Member Author

Note: will do a corresponding PR to https://github.com/RustCrypto/elliptic-curves before merging this

Done: RustCrypto/elliptic-curves#1198

tarcieri added a commit to RustCrypto/elliptic-curves that referenced this pull request May 22, 2025
Adds a macro which writes a series of `Mul` impls for `Scalar` types for
both `AffinePoint` and `ProjectivePoint` as operands (and various
combinations of references thereof).

See also: RustCrypto/traits#1854
tarcieri added a commit to RustCrypto/elliptic-curves that referenced this pull request May 22, 2025
Adds a macro which writes a series of `Mul` impls for `Scalar` types for
both `AffinePoint` and `ProjectivePoint` as operands (and various
combinations of references thereof).

See also: RustCrypto/traits#1854
@tarcieri tarcieri merged commit 91d6acd into master May 22, 2025
12 checks passed
@tarcieri tarcieri deleted the elliptic-curve/scalar-mul-bounds branch May 22, 2025 02:20
tarcieri pushed a commit that referenced this pull request May 22, 2025
This implements `Mul<NonIdentity> for NonZeroScalar`.

Analogous to #1854.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant