mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:07:44 +00:00
LibCrypto: Make create_aligned_buffer() static
I ended up not needing this, but there's no reason for this function to not be static.
This commit is contained in:
parent
919033fffd
commit
492962502f
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ public:
|
|||
|
||||
T const& cipher() const { return m_cipher; }
|
||||
|
||||
ErrorOr<ByteBuffer> create_aligned_buffer(size_t input_size) const
|
||||
static ErrorOr<ByteBuffer> create_aligned_buffer(size_t input_size)
|
||||
{
|
||||
size_t remainder = (input_size + T::block_size()) % T::block_size();
|
||||
if (remainder == 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue