mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-11 19:00:02 +01:00
The crypto backend crypt_hash ans crypt_hmac structs usually contain only pointers to internal crypto lib structures, no need to wipe them explicitly as there are no sensitive data. It is a crypto lib responsibility to remove sensitive data in destructor. Only nettle backend directly contains hash context, keep it there. This should also fix mysterious crashes in fuzzer with misaligned memset.
20 KiB
20 KiB