ladybird/Userland/Libraries/LibTLS
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
..
Certificate.cpp LibTLS: Move the asn certificate parser to Certificate.cpp 2021-05-19 09:18:45 +02:00
Certificate.h LibTLS: Move the asn certificate parser to Certificate.cpp 2021-05-19 09:18:45 +02:00
CipherSuite.h LibTLS: Use a more precise KeyExchangeAlgorithm enum 2021-05-29 13:29:46 +04:30
CMakeLists.txt LibTLS: Rework method names and arrangement in cpp files 2021-05-19 09:18:45 +02:00
Handshake.cpp LibTLS: Allow using other hash algorithms for HMAC 2021-05-29 13:29:46 +04:30
HandshakeCertificate.cpp LibTLS: Rework method names and arrangement in cpp files 2021-05-19 09:18:45 +02:00
HandshakeClient.cpp AK: Replace ByteBuffer::grow with resize()/ensure_capacity() 2021-05-31 14:49:00 +04:30
HandshakeServer.cpp LibTLS: Allow using other hash algorithms for HMAC 2021-05-29 13:29:46 +04:30
Record.cpp LibTLS: Enable the RSA_WITH_AES_256_GCM_SHA384 cipher 2021-05-19 09:18:45 +02:00
Socket.cpp Everywhere: Turn #if *_DEBUG into dbgln_if/if constexpr 2021-05-01 21:25:06 +02:00
TLSPacketBuilder.h AK: Replace ByteBuffer::grow with resize()/ensure_capacity() 2021-05-31 14:49:00 +04:30
TLSv12.cpp LibTLS: Allow using other hash algorithms for HMAC 2021-05-29 13:29:46 +04:30
TLSv12.h LibTLS: Allow using other hash algorithms for HMAC 2021-05-29 13:29:46 +04:30