hmac_sha224(9)
π hmac_sha224(9) β one-shot HMAC-SHA224, bestie edition π
okay so this is a page from the Kernel API Manual, and it's about hmac_sha224 β¨ she computes an HMAC-SHA224 for you in literally one shot, using a key you already prepared. one and done, no cap π
πΈ SYNOPSIS πΈ
void hmac_sha224 (const struct hmac_sha224_key *key , const u8 *data ,
size_t data_len , u8 out[static SHA224_DIGEST_SIZE] );
that's the whole vibe check right there π
π¦ ARGUMENTS π¦
keyβ the prepared HMAC key π like, already prepped, already iconic, don't come at her with a raw key, she's not doing that todaydataβ the message data, aka the actual tea you're hashing βdata_lenβ how longdatais, in bytes. yes, in bytes, keep up bestie πoutβ (output) the resulting HMAC-SHA224 value drops in here π«Ά the finished product, the slay, the moment
β¨ DESCRIPTION β¨
so basically: if you're only using the key once, you should lowkey consider hmac_sha224_usingrawkey instead π that's the whole note. fr fr, that's it, she's not gonna overexplain.
π CONTEXT π
Any context. literally any. she does not care. she's flexible like that π§ run her wherever, whenever, she ate π
π SEE ALSO π
okay so the friend group is HUGE, buckle up bestie π this is the whole extended universe:
- Kernel file
./include/crypto/sha2.h 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_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_init_usingrawkey(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)
like I said. the whole friend group. every single one of them π but they're all parallel implementations, so think of it as a family portrait πΌοΈ
ngl the source lives at ./include/crypto and the date on this one is October 2026 β so yeah, she's from the future, main character energy fr fr ππ« hope this helped bestie, go forth and hash responsibly π«Άπ
π¦ 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