wp/wp-includes/sodium_compat/src/Core32/X25519.php
changeset 16 a86126ab1dd4
parent 9 177826044cd9
equal deleted inserted replaced
15:3d4e9c994f10 16:a86126ab1dd4
   149         $h[8] = $h[8]->subInt64($carry8->shiftLeft(26));
   149         $h[8] = $h[8]->subInt64($carry8->shiftLeft(26));
   150 
   150 
   151         for ($i = 0; $i < 10; ++$i) {
   151         for ($i = 0; $i < 10; ++$i) {
   152             $h[$i] = $h[$i]->toInt32();
   152             $h[$i] = $h[$i]->toInt32();
   153         }
   153         }
   154         /** @var array<int, ParagonIE_Sodium_Core32_Int32> $h */
   154         /** @var array<int, ParagonIE_Sodium_Core32_Int32> $h2 */
   155         return ParagonIE_Sodium_Core32_Curve25519_Fe::fromArray($h);
   155         $h2 = $h;
       
   156         return ParagonIE_Sodium_Core32_Curve25519_Fe::fromArray($h2);
   156     }
   157     }
   157 
   158 
   158     /**
   159     /**
   159      * @internal You should not use this directly from another application
   160      * @internal You should not use this directly from another application
   160      *
   161      *