@@ 519-520 (lines=2) @@ | ||
516 | else if($derEvenOrOddCode == '02') // even |
|
517 | { |
|
518 | $resY = null; |
|
519 | if(false == gmp_strval(gmp_mod($y[0], gmp_init(2, 10)), 10)) |
|
520 | $resY = gmp_strval($y[0], 16); |
|
521 | if(false == gmp_strval(gmp_mod($y[1], gmp_init(2, 10)), 10)) |
|
522 | $resY = gmp_strval($y[1], 16); |
|
523 | if($resY) |
|
@@ 521-522 (lines=2) @@ | ||
518 | $resY = null; |
|
519 | if(false == gmp_strval(gmp_mod($y[0], gmp_init(2, 10)), 10)) |
|
520 | $resY = gmp_strval($y[0], 16); |
|
521 | if(false == gmp_strval(gmp_mod($y[1], gmp_init(2, 10)), 10)) |
|
522 | $resY = gmp_strval($y[1], 16); |
|
523 | if($resY) |
|
524 | { |
|
525 | while(strlen($resY) < 64) |
|
@@ 535-536 (lines=2) @@ | ||
532 | else if($derEvenOrOddCode == '03') // odd |
|
533 | { |
|
534 | $resY = null; |
|
535 | if(true == gmp_strval(gmp_mod($y[0], gmp_init(2, 10)), 10)) |
|
536 | $resY = gmp_strval($y[0], 16); |
|
537 | if(true == gmp_strval(gmp_mod($y[1], gmp_init(2, 10)), 10)) |
|
538 | $resY = gmp_strval($y[1], 16); |
|
539 | if($resY) |
|
@@ 537-538 (lines=2) @@ | ||
534 | $resY = null; |
|
535 | if(true == gmp_strval(gmp_mod($y[0], gmp_init(2, 10)), 10)) |
|
536 | $resY = gmp_strval($y[0], 16); |
|
537 | if(true == gmp_strval(gmp_mod($y[1], gmp_init(2, 10)), 10)) |
|
538 | $resY = gmp_strval($y[1], 16); |
|
539 | if($resY) |
|
540 | { |
|
541 | while(strlen($resY) < 64) |