hmac_sha384_final(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ hmac_sha384_final β€” the Kernel API Manual, section 9 bestie ✨

okay so quick vibe check: this page is hmac_sha384_final(9) from the Kernel API Manual, and it's literally the "wrap it up" moment for an HMAC-SHA384 computation πŸŽ€


🌸 NAME 🌸

hmac_sha384_final β€” finish computing an HMAC-SHA384 value. that's it, that's the whole job, and it ate πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

void hmac_sha384_final (struct hmac_sha384_ctx *ctx , u8 out[static
SHA384_DIGEST_SIZE] );

no cap, that's the whole signature. look at her go ✨


πŸ’– ARGUMENTS πŸ’–

  • ctx β€” the HMAC context you're finalizing, and bestie listen: it must have been initialized. like, this is not the place for a fresh-out-of-the-box context, okay? initialize her first 🫢
  • out β€” this one's an (output) param, so it's where the resulting HMAC-SHA384 value lands. icon behavior. and notice the static SHA384_DIGEST_SIZE up in the synopsis β€” the size is right there in the signature, we love a self-documenting girlie πŸ’œ

πŸ”₯ DESCRIPTION πŸ”₯

okay so here's the tea β˜• β€” after finishing, this zeroizes ctx. like, wipes it. gone. so the caller does not need to do it themselves. it's giving main character energy that takes care of its own cleanup. you literally don't have to lift a finger πŸ’…βœ¨


🌈 CONTEXT 🌈

Any context. fr fr, any. she's flexible like that 🧚


πŸ‘‘ SEE ALSO πŸ‘‘

bestie, buckle in, because this list is long and every single one of these is iconic in her own right 🌟. the kernel file in question is ./include/crypto/sha2.h, and then we've got the whole sha224 / sha256 / sha384 / sha512 family reunion:

the sha224 crowd πŸ’«

the hmac-sha224 girlies πŸ“

the sha256 squad πŸ¦‹

the hmac-sha256 crew πŸ’–

the sha384 crew (our girl's home team πŸŽ€) ✨

the hmac-sha384 besties πŸ’…

the sha512 side of the family πŸ”₯

and the hmac-sha512 icons πŸ‘‘

iykyk πŸ˜­πŸ’€ every single one of them, accounted for, no skips, no cap.


lowkey reminder bestie: ctx must have been initialized before you call this, and afterwards it's zeroized for you β€” no extra cleanup arc needed πŸ’œ

and that's the page! brought to you by the fine people at ./include/crypto, dated October 2026, manual page hmac_sha384_final(9) β€” slay, go finish that HMAC πŸŽ€βœ¨πŸ«Ά

πŸ“¦ where this page comes from