0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00

std.crypto: remove secureZero() calls doing more harm than good

Calling secureZero() on secrets that fit in a register can create
copies of that didn't originally exist:

https://00f.net/2026/10/06/zeroization-1/

Remove the wipes where this currently happens.

We need a better solution to this.
This commit is contained in:
Frank Denis 2026-10-15 21:21:33 +02:00 • committed by Frank Denis
commit 76789ff59c
10 changed files with 6 additions and 30 deletions