ladybird/Libraries/LibWeb/Crypto
Andreas Kling 45c499d185 LibJS: Isolate ArrayBuffer backing stores
Move owned ArrayBuffer and SharedArrayBuffer data blocks into the
ArrayBuffer heap partition. Keep unowned and host storage explicit, so
Wasm memory and external LibWeb buffers stay outside this partition.

Introduce DataBlock::OwnedBackingStore as the LibJS-owned byte storage
representation. Expose byte spans instead of a ByteBuffer object, giving
ArrayBuffer one allocation boundary that can later grow toward guarded
or caged storage.

Let callers that need ByteBuffer data copy from backing-store bytes.
Keep TransferArrayBuffer zero-copy by moving the DataBlock directly
instead of materializing a ByteBuffer in between.

Update the Wasm typed-array test helper to compare viewed byte ranges
after ArrayBuffer stops exposing ByteBuffer identity.
2026-06-10 14:50:10 +02:00
..
Crypto.cpp LibWeb/Bindings: Generate buffer typedefs as variants 2026-05-30 11:22:08 +02:00
Crypto.h LibWeb/Bindings: Generate buffer typedefs as variants 2026-05-30 11:22:08 +02:00
Crypto.idl LibWeb+LibIDL: Remove support for #import directives during parsing 2026-04-24 20:08:29 +02:00
CryptoAlgorithms.cpp LibWeb: Unify WebIDL C++ type generation 2026-05-23 18:26:12 +02:00
CryptoAlgorithms.h LibWeb/Bindings: Generate buffer typedefs as variants 2026-05-30 11:22:08 +02:00
CryptoBindings.cpp LibWeb/Crypto: Move WebCrypto dictionaries into Crypto namespace 2026-04-23 22:12:13 +02:00
CryptoBindings.h LibWeb/Crypto: Move WebCrypto dictionaries into Crypto namespace 2026-04-23 22:12:13 +02:00
CryptoKey.cpp LibWeb: Preserve CryptoKey algorithm types during serialization 2026-05-30 12:34:06 +02:00
CryptoKey.h LibWeb/Crypto: Fix CryptoKey usages being lost across in serialization 2026-05-27 02:44:46 +01:00
CryptoKey.idl LibWeb: Update the Key Usage enum to adapt for PostQuantum Algorithms 2025-11-27 21:50:06 +01:00
KeyAlgorithms.cpp LibJS+LibWeb: Allow instantiating DataBlock with an external buffer 2026-05-10 16:41:42 +02:00
KeyAlgorithms.h LibCrypto: Implement KMAC authentication support 2026-03-19 10:46:49 +01:00
SubtleCrypto.cpp LibJS: Isolate ArrayBuffer backing stores 2026-06-10 14:50:10 +02:00
SubtleCrypto.h LibWeb/Bindings: Generate buffer typedefs as variants 2026-05-30 11:22:08 +02:00
SubtleCrypto.idl LibWeb+LibIDL: Remove support for #import directives during parsing 2026-04-24 20:08:29 +02:00