Lines Matching refs:P224
16 p224 := P224()
17 if !p224.IsOnCurve(p224.Params().Gx, p224.Params().Gy) {
23 p224 := P224()
25 if p224.IsOnCurve(x, y) {
28 b := Marshal(p224, x, y)
29 x1, y1 := Unmarshal(p224, b)
304 p224 := P224()
310 x, y := p224.ScalarBaseMult(k.Bytes())
321 // We use the P224 CurveParams directly in order to test the generic implementation.
322 p224 := P224().Params()
328 x, y := p224.ScalarBaseMult(k.Bytes())
389 {"p224", P224()},
424 p224 := P224()
429 p224.ScalarBaseMult(k.Bytes())
445 p224 := P224()
446 _, x, y, err := GenerateKey(p224, rand.Reader)
451 serialized := Marshal(p224, x, y)
452 xx, yy := Unmarshal(p224, serialized)
464 // This tests for a specific bug in the P224 implementation.
465 p224 := P224()
467 x, y := Unmarshal(p224, pointData)
468 if !p224.IsOnCurve(x, y) {
469 t.Error("P224 failed to validate a correct point")