Lines Matching refs:candidate
374 $candidate = new $class();
377 if (!$candidate instanceof PrimeCurve) {
380 if (!$candidate->getModulo()->equals($curve->getModulo())) {
383 if ($candidate->getA()->toBytes() != $curve->getA()->toBytes()) {
386 if ($candidate->getB()->toBytes() != $curve->getB()->toBytes()) {
390 list($candidateX, $candidateY) = $candidate->getBasePoint();
403 if (!$candidate instanceof BinaryCurve) {
406 if ($candidate->getModulo() != $curve->getModulo()) {
409 if ($candidate->getA()->toBytes() != $curve->getA()->toBytes()) {
412 if ($candidate->getB()->toBytes() != $curve->getB()->toBytes()) {
416 list($candidateX, $candidateY) = $candidate->getBasePoint();