From aaaf71f3f7713248703c23cfbd1189ce1215f57f Mon Sep 17 00:00:00 2001 From: Paragon Initiative Enterprises Date: Thu, 13 Sep 2018 20:17:10 -0400 Subject: [PATCH] Use Core32 instead of Core in class constant name --- src/Core32/Poly1305/State.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core32/Poly1305/State.php b/src/Core32/Poly1305/State.php index 08a5399e..8327ad6c 100644 --- a/src/Core32/Poly1305/State.php +++ b/src/Core32/Poly1305/State.php @@ -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))