Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for minusInverseModW (0.14 sec)

  1. src/crypto/internal/bigmod/nat.go

    		rr.montgomeryMul(rr, rr, m)
    		i--
    		if logR>>i&1 != 0 {
    			rr.Add(rr, m)
    		}
    	}
    
    	return rr
    }
    
    // minusInverseModW computes -x⁻¹ mod _W with x odd.
    //
    // This operation is used to precompute a constant involved in Montgomery
    // multiplication.
    func minusInverseModW(x uint) uint {
    	// Every iteration of this loop doubles the least-significant bits of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 24K bytes
    - Viewed (0)
Back to top