diff --git a/elliptic-curve/src/point/non_identity.rs b/elliptic-curve/src/point/non_identity.rs index c985ba7fd..9dddba6ef 100644 --- a/elliptic-curve/src/point/non_identity.rs +++ b/elliptic-curve/src/point/non_identity.rs @@ -163,6 +163,18 @@ where } } +impl Mul<&NonZeroScalar> for NonIdentity

+where + C: CurveArithmetic, + P: Copy + Mul, Output = P>, +{ + type Output = NonIdentity

; + + fn mul(self, rhs: &NonZeroScalar) -> Self::Output { + self * *rhs + } +} + impl Mul<&NonZeroScalar> for &NonIdentity

where C: CurveArithmetic,