- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for fieldMontgomeryReduc (0.09 seconds)
-
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...Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Dec 11 16:27:41 GMT 2025 - 663K bytes - Click Count (0)