Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for panicIfNotOnCurve (0.6 sec)

  1. src/crypto/elliptic/params.go

    	// use that instead of the generic one.
    	if specific, ok := matchesSpecificCurve(curve); ok {
    		return specific.Add(x1, y1, x2, y2)
    	}
    	panicIfNotOnCurve(curve, x1, y1)
    	panicIfNotOnCurve(curve, x2, y2)
    
    	z1 := zForAffine(x1, y1)
    	z2 := zForAffine(x2, y2)
    	return curve.affineFromJacobian(curve.addJacobian(x1, y1, z1, x2, y2, z2))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top