public override ECFieldElement Multiply( ECFieldElement b) { // Right-to-left comb multiplication in the LongArray // Input: Binary polynomials a(z) and b(z) of degree at most m-1 // Output: c(z) = a(z) * b(z) mod f(z) // No check performed here for performance reasons. Instead the // elements involved are checked in ECPoint.F2m // checkFieldElements(this, b); return(new F2mFieldElement(m, ks, x.ModMultiply(((F2mFieldElement)b).x, m, ks))); }
public override ECFieldElement Multiply(ECFieldElement b) { return(new F2mFieldElement(m, ks, x.ModMultiply(((F2mFieldElement)b).x, m, ks))); }