hmac_sha384_..._usingrawkey(9)
π 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:
- struct
sha224_ctx(9) sha224_init(9)sha224_update(9)sha224_final(9)sha224(9)- struct
hmac_sha224_key(9) - struct
hmac_sha224_ctx(9) hmac_sha224_preparekey(9)hmac_sha224_init(9)hmac_sha224_init_usingrawkey(9)hmac_sha224_update(9)hmac_sha224_final(9)hmac_sha224(9)hmac_sha224_usingrawkey(9)- struct
sha256_ctx(9) sha256_init(9)sha256_update(9)sha256_final(9)sha256(9)sha256_finup_2x(9)sha256_finup_2x_is_optimized(9)- struct
hmac_sha256_key(9) - struct
hmac_sha256_ctx(9) hmac_sha256_preparekey(9)hmac_sha256_init(9)hmac_sha256_init_usingrawkey(9)hmac_sha256_update(9)hmac_sha256_final(9)hmac_sha256(9)hmac_sha256_usingrawkey(9)- struct
sha384_ctx(9) sha384_init(9)sha384_update(9)sha384_final(9)sha384(9)- struct
hmac_sha384_key(9) - struct
hmac_sha384_ctx(9) hmac_sha384_preparekey(9)hmac_sha384_init(9)hmac_sha384_update(9)hmac_sha384_final(9)hmac_sha384(9)hmac_sha384_usingrawkey(9)- struct
sha512_ctx(9) sha512_init(9)sha512_update(9)sha512_final(9)sha512(9)- struct
hmac_sha512_key(9) - struct
hmac_sha512_ctx(9) hmac_sha512_preparekey(9)hmac_sha512_init(9)hmac_sha512_init_usingrawkey(9)hmac_sha512_update(9)hmac_sha512_final(9)hmac_sha512(9)hmac_sha512_usingrawkey(9)
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
- 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