Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for fiatScalarMul (0.09 sec)

  1. src/crypto/internal/edwards25519/scalar.go

    	// s = -1 * x + 0 mod l
    	fiatScalarOpp(&s.s, &x.s)
    	return s
    }
    
    // Multiply sets s = x * y mod l, and returns s.
    func (s *Scalar) Multiply(x, y *Scalar) *Scalar {
    	// s = x * y + 0 mod l
    	fiatScalarMul(&s.s, &x.s, &y.s)
    	return s
    }
    
    // Set sets s = x, and returns s.
    func (s *Scalar) Set(x *Scalar) *Scalar {
    	*s = *x
    	return s
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top