MCPcopy Create free account
hub / github.com/docknetwork/crypto / msm

Method msm

utils/src/pairs.rs:145–147  ·  view source on GitHub ↗

`G::Group::msm_unchecked(left, right)`

(self)

Source from the content-addressed store, hash-verified

143impl<'left, 'right, G: AffineRepr> Pairs<'left, 'right, G, G::ScalarField> {
144 /// `G::Group::msm_unchecked(left, right)`
145 pub fn msm(self) -> G::Group {
146 G::Group::msm_unchecked(self.left, self.right)
147 }
148}
149
150/// Extension for `OwnedPairs` for cases when left is an `AffineRepr` implementer, and right is a `ScalarField::BigInt` implementer.

Callers 5

newMethod · 0.45
newMethod · 0.45
verifyMethod · 0.45
unblindMethod · 0.45
newMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected