diff options
| author | godpow <thesaviorsrule@yahoo.com> | 2025-10-26 02:12:27 +0100 |
|---|---|---|
| committer | crueter <crueter@eden-emu.dev> | 2025-10-26 02:12:27 +0100 |
| commit | 41e15e95b19748f4c2da31e3b8263a8626ef306a (patch) | |
| tree | ab8ff43ce407d9a72b3dd862b88058af367c27dd /src/web_service/web_backend.cpp | |
| parent | 73ebf59af77a81edee6c276a8c0f7e533a5948b2 (diff) | |
[crypto] Rework AES CTR/XTS streaming and squash heap churn (#2782)
AES Updates:
Replaced heap churn with stack scratch buffers tail handling now stays in-place, no more recursive transcode detours.
CTR/XTS modes read in larger, aligned chunks and still handle odd offsets cleanly.
XTS prefetches a few sectors ahead to reduce extra reads.
AesCtrStorage writer now uses the pooled buffer properly one stack slab, chunk forward, bump counter, repeat.
Result: less malloc noise, fewer watchdog spikes at startup (though mbedtls still sets the pace).
This should make the loading speed slightly better than before. Make sure to test.
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2782
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Reviewed-by: crueter <crueter@eden-emu.dev>
Co-authored-by: godpow <thesaviorsrule@yahoo.com>
Co-committed-by: godpow <thesaviorsrule@yahoo.com>
Diffstat (limited to 'src/web_service/web_backend.cpp')
0 files changed, 0 insertions, 0 deletions
