Skip to content

Commit

Permalink
Add internal annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
paragonie-security committed Apr 17, 2024
1 parent 7a3c59d commit 8e22261
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Core/AES.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* Bitsliced implementation of the AES block cipher.
*
* Based on the implementation provided by BearSSL.
*
* @internal This should only be used by sodium_compat
*/
class ParagonIE_Sodium_Core_AES extends ParagonIE_Sodium_Core_Util
{
Expand Down
3 changes: 3 additions & 0 deletions src/Core/AES/Block.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
return;
}

/**
* @internal This should only be used by sodium_compat
*/
class ParagonIE_Sodium_Core_AES_Block extends SplFixedArray
{
/**
Expand Down
3 changes: 3 additions & 0 deletions src/Core/AES/Expanded.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<?php

/**
* @internal This should only be used by sodium_compat
*/
class ParagonIE_Sodium_Core_AES_Expanded extends ParagonIE_Sodium_Core_AES_KeySchedule
{
/** @var bool $expanded */
Expand Down
3 changes: 3 additions & 0 deletions src/Core/AES/KeySchedule.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<?php

/**
* @internal This should only be used by sodium_compat
*/
class ParagonIE_Sodium_Core_AES_KeySchedule
{
/** @var array<int, int> $skey -- has size 120 */
Expand Down

0 comments on commit 8e22261

Please sign in to comment.