tillitis / tkey-libs

TKey device libs
GNU General Public License v2.0
4 stars 2 forks source link

Add a secure_wipe() function #30

Closed dehanj closed 4 months ago

dehanj commented 4 months ago

Add a secure wipe function to make sure, for example, that a memset is not optimized away by the compiler. It also shows intent compared to a memset.

It exists a crypto_wipe() in Monocypher, but if one does not use that lib, it should still be one available.