mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-11 19:00:02 +01:00
This patch locks all memory ranges in safe allocations. While crypto backend can have some secure memory calls, it is usually limited by intitial config. For our use is enough to keep keys in memory and prevent swapping it out. If the lock fails (because of limits) we quietly stay with plain malloc.
8.3 KiB
8.3 KiB