hmac_sha224_preparekey(9)
π hmac_sha224_preparekey(9) β like, the kernel API manual, but make it make sense
okay so bestie, welcome to hmac_sha224_preparekey(9) from the Kernel API Manual β¨ this is the little function that gets your key ready for HMAC-SHA224 before you do anything else with it, and honestly? she's short but she's important π
β¨ NAME β¨
hmac_sha224_preparekey β get a key all set up and ready for HMAC-SHA224 π
π¦ SYNOPSIS π¦
void hmac_sha224_preparekey (struct hmac_sha224_key *key , const u8
*raw_key , size_t raw_key_len );
like, that's the whole call signature, no notes π
πΈ ARGUMENTS πΈ
keyβ (output) the key structure you're initializing. she gets filled in by this function, so don't come in with expectations π«Άraw_keyβ the raw HMAC-SHA224 key, your actual secret material π₯raw_key_lenβ the key length in bytes. and listen: all key lengths are supported. yes, all of them. every single one. no gatekeeping here π
π NOTE π
bestie. bestie listen to me. the caller is responsible for zeroizing both the struct hmac_sha224_key and the raw key once they are no longer needed. π that's on you, not the function. wipe your secrets, don't just leave them lying around, that's not the vibe π
β CONTEXT β
Any context. literally any. she doesn't care, she's flexible like that π
π§ SEE ALSO π§
like, the whole friend group π
- 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_init(9)hmac_sha224_init_usingrawkey(9)hmac_sha224_update(9)hmac_sha224_final(9)hmac_sha224(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)
and that's the page!! π«Ά this lil beauty lives in ./include/crypto (that's the source, mwah π), dated October 2026, and it's the hmac_sha224_preparekey(9) page β go forth and prepare your keys, but zeroize them after, i'm serious π€π
π¦ 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