Home | History | Annotate | Download | only in elliptic

Lines Matching full:curve

26 		t.Errorf("FAIL: point off curve is claimed to be on the curve")
31 t.Errorf("FAIL: unmarshaling a point not on the curve succeeded")
423 curve Curve
430 curve := test.curve
431 x, y := curve.ScalarBaseMult(nil)
438 x2, y2 := curve.Double(x, y)
443 baseX := curve.Params().Gx
444 baseY := curve.Params().Gy
446 x3, y3 := curve.Add(baseX, baseY, x, y)
451 x4, y4 := curve.Add(x, y, baseX, baseY)
459 Curve
470 Curve
595 curve := P256()
596 p := curve.Params().P
601 // Set x to be greater than curve's parameter P ? specifically, to P+5.
603 // curve.
610 if X, Y := Unmarshal(curve, invalidX); X != nil || Y != nil {
614 // This is a point on the curve with a small y value, small enough that we can add p and still be within 32 bytes.
627 if X, Y := Unmarshal(curve, invalidY); X != nil || Y != nil {