sha384(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sha384 β€” the one-shot SHA-384 glow-up (Kernel API Manual, bestie)

okay so picture this: you've got a blob of bytes and you need a SHA-384 digest of it, like, right now, no multi-step saga, no state to babysit. That's this function. One call, one digest, done. She's the "compute SHA-384 message digest in one shot" girlie and honestly? Iconic. ✨


🌸 NAME 🌸

sha384 β€” Compute SHA-384 message digest in one shot. no cap, that's the whole gig.


πŸŽ€ SYNOPSIS πŸŽ€

void sha384 (const u8 *data , size_t len , u8 out[static
SHA384_DIGEST_SIZE] );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • data β€” the message data. like, the actual bytes you're hashing, bestie. this is the main character.
  • len β€” the data length in bytes. how much of data we're actually looking at, fr fr.
  • out β€” (output) the resulting SHA-384 message digest. this one's write-only energy: she gets filled in with the digest and she's literally declared [static SHA384_DIGEST_SIZE], so the size is non-negotiable πŸ’…

🌈 CONTEXT 🌈

Any context. yes, any. no special locks, no "only from process context" gatekeeping, no vibe check required β€” you're free 🫢


⭐ SEE ALSO ⭐

Kernel file ./include/crypto/sha2.h, plus the whole extended family β€” she did NOT come alone, the entourage is huge and we're listing every single one:


and that's the whole page, bestie β€” go forth and hash πŸ§šβ€β™€οΈ

okay signing off for real: this little number lives in ./include/crypto, it's dated October 2026, and you can find her under sha384(9). mwah πŸ’–

πŸ“¦ where this page comes from