Skip to content

Commit

Permalink
Use Core32 instead of Core in class constant name
Browse files Browse the repository at this point in the history
  • Loading branch information
paragonie-security committed Sep 14, 2018
1 parent c9ef28e commit aaaf71f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Core32/Poly1305/State.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ public function blocks($message, $bytes)
$h3 = $this->h[3];
$h4 = $this->h[4];

while ($bytes >= ParagonIE_Sodium_Core_Poly1305::BLOCK_SIZE) {
while ($bytes >= ParagonIE_Sodium_Core32_Poly1305::BLOCK_SIZE) {
/* h += m[i] */
$h0 = $h0->addInt32(
ParagonIE_Sodium_Core32_Int32::fromReverseString(self::substr($message, 0, 4))
Expand Down

0 comments on commit aaaf71f

Please sign in to comment.