pub trait CommunicativeMul: Sized + Mul<Output = Self> { }
Expand description

Safety

This trait is safe to implement only when the underlying type is guaranteed to give the same result for any a * b and b * a

Implementors§

source§

impl<I, M> CommunicativeMul for FpElement<I, M>where M: Montgomery<I>, I: BigIntOpsExt,

Safety

BigUInt mod mul is communicative