- 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/Core32/Ed25519.php
r46858 r48121 379 379 public static function small_order($R) 380 380 { 381 static $bl acklist = array(381 static $blocklist = array( 382 382 /* 0 (order 4) */ 383 383 array( … … 465 465 ) 466 466 ); 467 /** @var array<int, array<int, int>> $bl acklist */468 $countBl acklist = count($blacklist);469 470 for ($i = 0; $i < $countBl acklist; ++$i) {467 /** @var array<int, array<int, int>> $blocklist */ 468 $countBlocklist = count($blocklist); 469 470 for ($i = 0; $i < $countBlocklist; ++$i) { 471 471 $c = 0; 472 472 for ($j = 0; $j < 32; ++$j) { 473 $c |= self::chrToInt($R[$j]) ^ $bl acklist[$i][$j];473 $c |= self::chrToInt($R[$j]) ^ $blocklist[$i][$j]; 474 474 } 475 475 if ($c === 0) {
Note: See TracChangeset
for help on using the changeset viewer.