hmac_sha384_..._usingrawkey(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… hmac_sha384_init_usingrawkey β€” Kernel API Manual πŸŽ€

okay so bestie, welcome to the Kernel API Manual page for hmac_sha384_..._usingrawkey(9) β€” yes the title is a whole vibe, it's abbreviating the entire sha384 HMAC family, iykyk ✨


🌸 NAME

hmac_sha384_init_usingrawkey β€” Initialize an HMAC-SHA384 context for a new message, using a raw key πŸ’–


⭐ SYNOPSIS

void hmac_sha384_init_usingrawkey (struct hmac_sha384_ctx *ctx , const
u8 *raw_key , size_t raw_key_len );

Like, that's the whole signature. She's compact, she's iconic, she takes three things and returns nothing (void, bestie, no return value to obsess over) 🫢


πŸ¦‹ ARGUMENTS

  • ctx β€” (output) the HMAC context you're initializing. She's the main character here, you're handing her over to be filled in ✨
  • raw_key β€” the raw HMAC-SHA384 key. Just... the key. Raw. Unprocessed. As nature intended 🌿
  • raw_key_len β€” the key length in bytes. And here's the slay: All key lengths are supported. every single one. no cap, no minimum, no maximum, no "gotta be exactly 32 bytes" nonsense πŸ™…β€β™€οΈπŸ‘‘

πŸ”₯ DESCRIPTION

So here's the tea: this function initializes an HMAC-SHA384 context so you can start feeding it a new message. That's it, that's the job πŸ’…

If you don't need incremental computation, consider hmac_sha384_usingrawkey instead. fr fr β€” if you're doing it all in one go, the one-shot version is right there and she's gorgeous 😌

🌈 CONTEXT

Any context. Literally any. Go off, queen 🧚


πŸ‘‘ SEE ALSO

Right, bestie, buckle up, because this list is long and I'm not skipping a single one of them πŸ’€ Kernel file ./include/crypto/sha2.h, then:


and that's the whole page, bestie πŸ’œ this little baddie lives in ./include/crypto, dated October 2026, and she ate. periodt πŸ“βœ¨

πŸ“¦ where this page comes from