sha3_zeroize_ctx(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sha3_zeroize_ctx β€” Kernel API Manual, bestie edition ✨

okay so real talk, this one is a tiny little king in the sha3.h universe and it lives in the Kernel API Manual, section 9. it's short, it's sweet, it's giving "small but mighty" and honestly? obsessed. πŸŽ€


🌸 NAME 🌸

sha3_zeroize_ctx β€” zeroize a SHA-3 context 🧹✨

like, wipe it clean. bye-bye secrets. no cap.


✨ SYNOPSIS ✨

void sha3_zeroize_ctx (struct sha3_ctx *ctx );

that's it. that's the whole vibe. πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • ctx β€” the context you're zeroizing 🫢 literally hand it over and it gets scrubbed.

πŸ’– DESCRIPTION πŸ’–

so this function zeroizes a SHA-3 context. iconic behaviour, honestly. 🌈

big thing to know: this is already called by sha3_final β€” so if you're going through sha3_final, bestie, you're already covered, it's handled, don't even worry about it. 😌✨

but if you're abandoning a context without calling sha3_final, that's when you call this explicitly. do not leave that context just sitting there with its data still in it β€” call sha3_zeroize_ctx and let it go out clean. πŸ‘‘

lowkey important: the whole point is clearing the context out, so don't skip this when you're bailing on a context early.

πŸ”₯ SEE ALSO πŸ”₯


that's the whole page, bestie β€” go zeroize something responsibly πŸ§šβ€β™€οΈπŸ’œ

and for the sign-off: this little beauty comes from ./include/crypto, dated October 2026. slay. periodt. πŸ“β­

πŸ“¦ where this page comes from