- Timestamp:
- 06/22/2020 05:24:34 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/sodium_compat/src/Core/Ed25519.php
r46858 r48121 377 377 public static function small_order($R) 378 378 { 379 /** @var array<int, array<int, int>> $bl acklist */380 $bl acklist = array(379 /** @var array<int, array<int, int>> $blocklist */ 380 $blocklist = array( 381 381 /* 0 (order 4) */ 382 382 array( … … 464 464 ) 465 465 ); 466 /** @var int $countBl acklist */467 $countBl acklist = count($blacklist);468 469 for ($i = 0; $i < $countBl acklist; ++$i) {466 /** @var int $countBlocklist */ 467 $countBlocklist = count($blocklist); 468 469 for ($i = 0; $i < $countBlocklist; ++$i) { 470 470 $c = 0; 471 471 for ($j = 0; $j < 32; ++$j) { 472 $c |= self::chrToInt($R[$j]) ^ (int) $bl acklist[$i][$j];472 $c |= self::chrToInt($R[$j]) ^ (int) $blocklist[$i][$j]; 473 473 } 474 474 if ($c === 0) {
Note: See TracChangeset
for help on using the changeset viewer.