STRUCT HMAC_SHA256_CTX(9)
π struct hmac_sha256_ctx(9) π
Ok so bestie, welcome to the Kernel API Manual β yes, the kernel has a manual, and yes, it's giving iconic reference-doc energy. Today's main character is struct hmac_sha256_ctx, and honestly? It's a vibe. Let's get into it π«Ά
β¨ NAME β¨
struct hmac_sha256_ctx β the context you hold onto while computing an HMAC-SHA256 of a message. That's it, that's the whole job, and it does it slayfully π
π¦ SYNOPSIS π¦
struct hmac_sha256_ctx {
struct __hmac_sha256_ctx ctx;
};
Like, look at her. Minimalist. Clean. No notes π₯
π Members π
ctxβ private π that's literally all the docs say about it, so we're not gonna make stuff up. It's private. Respect her privacy periodt.
π SEE ALSO π
Bestie, buckle in, because this list is LONG and every single one of these is invited to the group chat. Also heads up: the kernel file ./include/crypto/sha2.h is where the family lives π§
πΈ SHA-224 crew
struct sha224_ctx(9),sha224_init(9),sha224_update(9),sha224_final(9),sha224(9)
πΈ HMAC-SHA-224 crew
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)
π¦ SHA-256 crew (our girl's home base)
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)
π¦ HMAC-SHA-256 crew
struct hmac_sha256_key(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)
π SHA-384 crew
struct sha384_ctx(9),sha384_init(9),sha384_update(9),sha384_final(9),sha384(9)
π HMAC-SHA-384 crew
struct hmac_sha384_key(9),struct hmac_sha384_ctx(9),hmac_sha384_preparekey(9),hmac_sha384_init(9),hmac_sha384_init_usingrawkey(9),hmac_sha384_update(9),hmac_sha384_final(9),hmac_sha384(9),hmac_sha384_usingrawkey(9)
β SHA-512 crew
struct sha512_ctx(9),sha512_init(9),sha512_update(9),sha512_final(9),sha512(9)
β HMAC-SHA-512 crew
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)
Fr fr, that's the whole page. No hidden options, no exit statuses, no environment variables β just a struct, one private member, and a truly enormous friend group. Lowkey iconic of her ππ
β¨ mwah β¨ this lil page came from the source dir ./include/crypto, dated October 2026 β catch you in the next manpage, bestie, ily ππ¦π
π¦ 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