ladybird/Userland/Libraries/LibCrypto
Gunnar Beutner 5f18cf75c5 AK: Replace ByteBuffer::grow with resize()/ensure_capacity()
Previously ByteBuffer::grow() behaved like Vector<T>::resize().
However the function name was somewhat ambiguous - and so this patch
updates ByteBuffer to behave more like Vector<T> by replacing grow()
with resize() and adding an ensure_capacity() method.

This also lets the user change the buffer's capacity without affecting
the size which was not previously possible.

Additionally this patch makes the capacity() method public (again).
2021-05-31 14:49:00 +04:30
..
ASN1 LibCrypto: Fix bound checks when reading bitmaps 2021-05-31 00:47:43 +04:30
Authentication LibCrypto+LibTLS: Avoid unaligned reads and writes 2021-05-14 08:39:29 +01:00
BigInt LibCrypto: Prevent a signed overflow during BigInt Modular Power 2021-05-14 11:36:39 +02:00
Checksum Everywhere: Use "the SerenityOS developers." in copyright headers 2021-04-29 00:59:26 +02:00
Cipher LibCrypto: Make GCM movable 2021-05-19 09:18:45 +02:00
Hash LibCrypto: Use the new return-from-Variant::visit() mechanism 2021-05-19 22:45:34 +02:00
NumberTheory AK: Replace ByteBuffer::grow with resize()/ensure_capacity() 2021-05-31 14:49:00 +04:30
PK LibCrypto: Fix bound checks when reading bitmaps 2021-05-31 00:47:43 +04:30
CMakeLists.txt LibCrypto: Split BigInteger operations into an Algorithms class 2021-05-13 19:18:07 +01:00
Verification.h AK+Userland: Use mpfard@serenityos.org for my copyright headers 2021-04-22 22:19:09 +02:00