sha3_224(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ sha3_224 β€” one-shot SHA3-224, bestie πŸ’…

Okay so real talk: this is a page from the Kernel API Manual (the sha3_224(9) one, yes the 9 is part of the name, don't @ me), and it's literally the easiest way to hash stuff in the kernel. Let's get into it 🫢


🌸 SYNOPSIS 🌸

void sha3_224 (const u8 *in , size_t in_len , u8
out[SHA3_224_DIGEST_SIZE] );

That's it. That's the whole vibe. One call, one digest, no drama ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • in β€” the input data to be digested. Like, the actual stuff you want hashed, bestie πŸ“
  • in_len β€” length of the input data in bytes. Yes you have to tell it how big in is, it's not a mind reader 😭
  • out β€” the buffer where the digest gets stored. It's sized SHA3_224_DIGEST_SIZE, so make sure it's got room to slay πŸ‘‘

πŸ’– DESCRIPTION πŸ’–

It's a convenience function that computes a SHA3-224 digest. That's the whole thing. Iconic behaviour, no cap.

The way to think about it: use this instead of the incremental API if you're able to provide all the input at once. Got the whole payload in hand? Perfect, this is your girl πŸ’… If you're streaming data in chunks, you want the incremental API instead β€” go look at sha3_224_init(9), sha3_update(9), sha3_final(9) and friends. iykyk 🌈


πŸ¦‹ CONTEXT πŸ¦‹

Any context. Literally any. Go off, main character 🧚


πŸ”₯ SEE ALSO πŸ”₯

Like, the whole crypto family reunion is right there. Go say hi 🌸


Lowkey obsessed with how short this page is. Zero filler, all function πŸ’œ

And that's the tea, bestie πŸŽ€ β€” this page lives under ./include/crypto (that's the source spot), stamped October 2026 for the date, and it's the sha3_224(9) entry from the Kernel API Manual. Periodt. βœ¨πŸ’–

πŸ“¦ where this page comes from