Skip to content

Commit ffaa867

Browse files
committed
elliptic-curve: remove ShrAssign bound on Scalars
Removes the bound from the `CurveArithmetic::Scalar` associated type. I was attempting to figure out why this issue didn't result in any bugs: RustCrypto/elliptic-curves#1319 It appears to be completely unused. The easiest way to fix that bug is to delete all of the relevant code.
1 parent a10ef18 commit ffaa867

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

elliptic-curve/src/arithmetic.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ pub trait CurveArithmetic: Curve {
8181
+ for<'a> Mul<&'a Self::ProjectivePoint, Output = Self::ProjectivePoint>
8282
+ PartialOrd
8383
+ Reduce<Self::Uint, Bytes = FieldBytes<Self>>
84-
+ ShrAssign<usize>
8584
+ TryInto<NonZeroScalar<Self>, Error = Error>
8685
+ ff::Field
8786
+ ff::PrimeField<Repr = FieldBytes<Self>>;

0 commit comments

Comments
 (0)