sha3_384(9)
π sha3_384(9) β Kernel API Manual, bestie edition
okay so this is a page from the Kernel API Manual and it's about sha3_384, which is literally the "do it all in one go" way to get a SHA3-384 digest π no incantations, no state to babysit, just vibes and bytes.
β¨ NAME β¨
sha3_384 β Compute SHA3-384 digest in one shot π«
πΈ SYNOPSIS πΈ
void sha3_384 (const u8 *in , size_t in_len , u8
out[SHA3_384_DIGEST_SIZE] );
π¦ ARGUMENTS π¦
inβ The input data to be digested π like, the actual snack, the data itselfin_lenβ Length of the input data in bytes π yes bestie, in bytesoutβ The buffer into which the digest will be stored π« it's gonna holdSHA3_384_DIGEST_SIZEworth of digest, that's the whole point
π DESCRIPTION π
A convenience function that computes a SHA3-384 digest β¨ That's it, that's the whole thing.
Use this instead of the incremental API if you're able to provide all the input at once π like, if you've already got the entire blob sitting there in in? then why would you do the incremental dance, this is the shortcut, take it π
π CONTEXT π
Any context π₯ literally any. no restrictions, no special preconditions, go off.
π SEE ALSO π
Bestie, the whole crypto sha3/shake friend group is here β go say hi:
- 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_224(9)sha3_256(9)sha3_512(9)shake128(9)shake256(9)
ngl the incremental API is great and all, but if you've got every byte up front there is genuinely zero reason to suffer through init/update/final π this one-shot function ate π
okay that's the page!! mwah π this came from ./include/crypto, dated October 2026 β and yes the manual itself is sha3_384(9) up top, love that for us πΈπ«Ά 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