sha3_224(9)
β¨ 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 biginis, it's not a mind reader πoutβ the buffer where the digest gets stored. It's sizedSHA3_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 π₯
- Kernel file
./include/crypto/sha3.h struct sha3_ctx(9)sha3_zeroize_ctx(9)struct shake_ctx(9)shake_zeroize_ctx(9)sha3_224_init(9)sha3_256_init(9)sha3_384_init(9)sha3_512_init(9)sha3_update(9)sha3_final(9)shake128_init(9)shake256_init(9)shake_update(9)shake_squeeze(9)sha3_256(9)sha3_384(9)sha3_512(9)shake128(9)shake256(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms