Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for fieldMontgomeryReduc (0.11 sec)

  1. lib/fips140/v1.1.0-rc1.zip

    { x := uint32(a - b + q) return fieldReduceOnce(x) } // fieldMontgomeryMul returns a * b * R⁻¹ mod q. func fieldMontgomeryMul(a, b fieldElement) fieldElement { x := uint64(a) * uint64(b) return fieldMontgomeryReduc(x) } // fieldMontgomeryReduc returns x * R⁻¹ mod q for x < q * R. func fieldMontgomeryReduc(x uint64) fieldElement { t := uint32(x) * qNegInv u := (x + uint64(t)*q) >> 32 return fieldReduceOnce(uint32(u)) } // fieldMontgomeryMulSu returns a * (b - c). This operation is fused to save a...
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Dec 11 16:27:41 UTC 2025
    - 663K bytes
    - Viewed (0)
Back to top