Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CombinedMult (0.38 sec)

  1. src/crypto/elliptic/nistec.go

    	if err != nil {
    		panic("crypto/elliptic: nistec rejected normalized scalar")
    	}
    	return curve.pointToAffine(p)
    }
    
    // CombinedMult returns [s1]G + [s2]P where G is the generator. It's used
    // through an interface upgrade in crypto/ecdsa.
    func (curve *nistCurve[Point]) CombinedMult(Px, Py *big.Int, s1, s2 []byte) (x, y *big.Int) {
    	s1 = curve.normalizeScalar(s1)
    	q, err := curve.newPoint().ScalarBaseMult(s1)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 21 16:19:34 UTC 2022
    - 9.6K bytes
    - Viewed (0)
Back to top