ladybird/Libraries/LibWeb/Crypto
devgianlu 0fc02d4d00 LibCrypto: Make PKSystem methods return a ByteBuffer directly
It used to be that the caller would supply a buffer to write the output
to. This created an anti-pattern in multiple places where the caller
would allocate a `ByteBuffer` and then use `.bytes()` to provide it to
the `PKSystem` method. Then the callee would resize the output buffer
and reassign it, but because the resize was on `Bytes` and not on
`ByteBuffer`, the caller using the latter would cause a bug.

Additionally, in pretty much all cases the buffer was pre-allocated
shortly before.
2025-01-13 17:00:18 +01:00
..
Crypto.cpp LibWeb: Use Crypto::fill_with_secure_random instead of PRNG 2024-12-24 17:54:52 +01:00
Crypto.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
Crypto.idl
CryptoAlgorithms.cpp LibCrypto: Make PKSystem methods return a ByteBuffer directly 2025-01-13 17:00:18 +01:00
CryptoAlgorithms.h LibWeb: Add Ed448 support in WebCryptoAPI 2025-01-11 11:13:06 +01:00
CryptoBindings.cpp LibWeb: Do not worry about small OOM in JsonWebKey::parse 2024-12-16 06:46:36 -08:00
CryptoBindings.h LibWeb: Parse JsonWebKey from string 2024-12-16 11:35:00 +01:00
CryptoKey.cpp LibWeb: Reorganize definitions and includes to avoid circular references 2024-11-24 11:11:44 +01:00
CryptoKey.h LibWeb: Switch ECDH.generateKey to use internal keys instead of bytes 2024-11-27 10:59:48 +01:00
CryptoKey.idl
KeyAlgorithms.cpp LibWeb: Define HmacKeyAlgorithm native accessor for length property 2024-12-16 11:35:00 +01:00
KeyAlgorithms.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
SubtleCrypto.cpp LibWeb: Add Ed448 support in WebCryptoAPI 2025-01-11 11:13:06 +01:00
SubtleCrypto.h LibWeb: Update SubtleCrypto IDL according to latest spec 2024-12-18 13:18:40 +01:00
SubtleCrypto.idl LibWeb: Update SubtleCrypto IDL according to latest spec 2024-12-18 13:18:40 +01:00