hmac_sha224_init(9)
π NAME π
okay so bestie, welcome to the hmac_sha224_init page from the Kernel API Manual β yes that's hmac_sha224_init(9), section 9, kernel-space, very demure, very mindful. β¨
hmac_sha224_init β initializes an HMAC-SHA224 context for a shiny new message π
π¦ SYNOPSIS π¦
void hmac_sha224_init (struct hmac_sha224_ctx *ctx , const struct
hmac_sha224_key *key );
like, that's the whole vibe. void in, void out, no return value to worry about π
πΈ ARGUMENTS πΈ
ctxβ (output) the HMAC context you're initializing. this is the main character, she gets filled in π«Άkeyβ the prepared HMAC key. note the prepared part, she's already been through her prep routine, do not hand her a raw key π₯
π DESCRIPTION π
so real talk: if you don't need incremental computation, consider hmac_sha224 instead. like, no cap, if you're doing it all in one go, don't make it complicated.
β¨ CONTEXT β¨
Any context. any. literally any. she does not discriminate π
π SEE ALSO π
grab a snack, this list is long and honestly iconic π First up, the kernel file we're living in:
- 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 fam (our girls)
struct hmac_sha224_key(9)struct hmac_sha224_ctx(9)hmac_sha224_preparekey(9)hmac_sha224_init_usingrawkey(9)hmac_sha224_update(9)hmac_sha224_final(9)hmac_sha224(9)hmac_sha224_usingrawkey(9)
π the sha256 fam
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 fam
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 fam
struct sha384_ctx(9)sha384_init(9)sha384_update(9)sha384_final(9)sha384(9)
π the hmac_sha384 fam
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)
π the sha512 fam
struct sha512_ctx(9)sha512_init(9)sha512_update(9)sha512_final(9)sha512(9)
π the hmac_sha512 fam, last but never least
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)
ngl bestie, that's the whole page. go init your context, you're gonna slay π β¨
mwah π β this little gem lives in ./include/crypto and it's dated October 2026. that's the source, the version and the date all in one, 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