hmac_sha224_..._usingrawkey(9)
πΈ hmac_sha224_init_usingrawkey(9) β the kernel API manual, bestie edition πΈ
okay so this page is from the Kernel API Manual, section 9, and it's literally about the family of hmac_sha224_..._usingrawkey functions. pull up a chair π
β¨ NAME β¨
hmac_sha224_init_usingrawkey β Initialize an HMAC-SHA224 context for a new message, using a raw key
like, it sets up your context so you can start feeding it a message. raw key style. no cap π
β¨ SYNOPSIS β¨
void hmac_sha224_init_usingrawkey (struct hmac_sha224_ctx *ctx , const
u8 *raw_key , size_t raw_key_len );
that's the whole signature, verbatim, don't come for me π«Ά
β¨ ARGUMENTS β¨
ctxβ (output) the HMAC context to initialize. it's the thing you're filling up, the main character of this operation πraw_keyβ the raw HMAC-SHA224 key. your actual key bytes, straight up πraw_key_lenβ the key length in bytes. and here's the slay: All key lengths are supported. any size, no gatekeeping π
β¨ DESCRIPTION β¨
If you don't need incremental computation, consider hmac_sha224_usingrawkey instead.
fr fr β if you're not doing the whole feed-it-piece-by-piece thing, that one-shot version is right there and it's giving convenience β
β¨ CONTEXT β¨
Any context.
literally any. no restrictions, we're chill like that π¦
β¨ SEE ALSO β¨
the whole squad, all chillin' in the kernel file ./include/crypto/sha2.h:
sha224 era
struct sha224_ctx(9)sha224_init(9)sha224_update(9)sha224_final(9)sha224(9)
hmac_sha224 era
struct hmac_sha224_key(9)struct hmac_sha224_ctx(9)hmac_sha224_preparekey(9)hmac_sha224_init(9)hmac_sha224_update(9)hmac_sha224_final(9)hmac_sha224(9)hmac_sha224_usingrawkey(9)
sha256 era
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_sha256 era
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)
sha384 era
struct sha384_ctx(9)sha384_init(9)sha384_update(9)sha384_final(9)sha384(9)
hmac_sha384 era
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)
sha512 era
struct sha512_ctx(9)sha512_init(9)sha512_update(9)sha512_final(9)sha512(9)
hmac_sha512 era
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, bestie π it ships from ./include/crypto and it's dated October 2026, so go forth and initialize your contexts 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