Files
fcry/tests
ddidderr 7f49d034ae cleanup: derive argon cap directly in library_api range test
The range-decrypt test filled max_argon_memory_mib by building a whole
DecryptOptions::default() and reading one field out of it, which runs
thread and memory detection just to extract a u32. The library already
exports default_argon_decrypt_cap_mib(), which is the value that
default actually uses and says what is meant - call it directly.

Test-only change.

Test plan: cargo test --test library_api passes both tests.
2026-06-12 22:54:47 +02:00
..