STRUCT HMAC_SHA256_KEY(9)
π struct hmac_sha256_key(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β this is the page for struct hmac_sha256_key, aka Prepared key for HMAC-SHA256. she's a little struct, she holds a key that's already been prepped, and honestly? she ate. π
πΈ NAME πΈ
struct hmac_sha256_key β Prepared key for HMAC-SHA256. that's it, that's the whole vibe. a struct that holds a key, already prepared, for HMAC-SHA256. π
β¨ SYNOPSIS β¨
here's the whole shape of her, no cap:
struct hmac_sha256_key {
struct __hmac_sha256_key key;
};
like, that's literally the entire struct. one member. minimalism is the moment. π¦
π«Ά Members π«Ά
keyβ private π that's all the manual says, and honestly she's keeping it mysterious. it's her private business, iykyk.
π₯ SEE ALSO π₯
bestie there are SO many siblings in this family, buckle up. first up, the kernel file where she lives:
- Kernel file
./include/crypto/sha2.h
then the sha224 crew:
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)
the sha256 girlies (our main character's own squad π):
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_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 hotties π:
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_init_usingrawkey(9)hmac_sha384_update(9)hmac_sha384_final(9)hmac_sha384(9)hmac_sha384_usingrawkey(9)
and the big sha512 energy π:
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)
legit obsessed with how the whole sha family showed up for her. read the whole list, bestie, don't skip β every single one of those pages is a real one. π
and that's the page, periodt π«Ά this little love letter lives in ./include/crypto and it's dated October 2026, brought to you by the fine folks of the Kernel API Manual β go drink some water and go call hmac_sha256_preparekey(9) ππ§
π¦ 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