hmac_sha384_init(9)
πΈ hmac_sha384_init β from the Kernel API Manual, bestie π
Okay so picture this: you're in the kernel, you've got an HMAC-SHA384 situation, and you need a fresh context for a brand new message. That's literally this function. Welcome to the group chat β¨
β¨ NAME β¨
hmac_sha384_init β ngl, it just initializes an HMAC-SHA384 context for a new message π
π¦ SYNOPSIS π¦
void hmac_sha384_init (struct hmac_sha384_ctx *ctx , const struct
hmac_sha384_key *key );
π ARGUMENTS π
ctxβ (output) the HMAC context you're initializing, bestie. It gets filled in for you π«Άkeyβ the prepared HMAC key. Already prepared, okay? Like, do the prep first, this is not the prep step π
π₯ DESCRIPTION π₯
Lowkey the whole point: this sets up your context so you can compute incrementally. But listen β if you don't need incremental computation, consider hmac_sha384 instead. It's giving one-and-done energy and honestly? Sometimes that's the move π
π CONTEXT π
Any context. Fr fr, any. You're free π¦
π SEE ALSO π
Kernel file ./include/crypto/sha2.h
The sha224 fam π:
struct sha224_ctx(9)sha224_init(9)sha224_update(9)sha224_final(9)sha224(9)
The hmac_sha224 squad π:
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)
The sha256 crew β¨:
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)
The hmac_sha256 icons π:
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)
The sha384 girlies (our main character's home base) π :
struct sha384_ctx(9)sha384_init(9)sha384_update(9)sha384_final(9)sha384(9)
The hmac_sha384 besties β yes, us πΈ:
struct hmac_sha384_key(9)struct hmac_sha384_ctx(9)hmac_sha384_preparekey(9)hmac_sha384_init_usingrawkey(9)hmac_sha384_update(9)hmac_sha384_final(9)hmac_sha384(9)hmac_sha384_usingrawkey(9)
The sha512 extended universe π§:
struct sha512_ctx(9)sha512_init(9)sha512_update(9)sha512_final(9)sha512(9)
And the hmac_sha512 legends, closing us out ππ₯:
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)
Not me listing every single one of these because every single one of these matters. Iykyk π«Ά
And that's the whole page, bestie β brought to you by ./include/crypto, dated October 2026, no cap. Mwah πβ¨
π¦ 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