- Timestamp:
- 10/06/2025 03:46:40 PM (13 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/sodium_compat/src/Core/ChaCha20/IetfCtx.php
r46586 r60905 27 27 throw new InvalidArgumentException('ChaCha20 expects a 96-bit nonce in IETF mode.'); 28 28 } 29 $counter = $this->initCounter($counter); 29 30 parent::__construct($key, self::substr($iv, 0, 8), $counter); 30 31 if (!empty($counter)) { 32 $this->container[12] = self::load_4(self::substr($counter, 0, 4)); 33 } 31 $this->container[12] = self::load_4(self::substr($counter, 0, 4)); 34 32 $this->container[13] = self::load_4(self::substr($iv, 0, 4)); 35 33 $this->container[14] = self::load_4(self::substr($iv, 4, 4));
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)