hmac_md5_init_usingrawkey(9)
π
hmac_md5_init_usingrawkey π
okay bestie, welcome to the Kernel API Manual β¨ β yes we're reading kernel docs for fun now, that's just who we are πββοΈ and honestly? this one's a cutie.
πΈ NAME πΈ
hmac_md5_init_usingrawkey β initialize an HMAC-MD5 context for a new message, using a raw key π
β¨ SYNOPSIS β¨
void hmac_md5_init_usingrawkey (struct hmac_md5_ctx *ctx , const u8
*raw_key , size_t raw_key_len );
like, that's the whole vibe check right there π«Ά
π¦ ARGUMENTS π¦
ctxβ (output) the HMAC context to initialize π this is the one you're gonna be filling in, she's the main character hereraw_keyβ the raw HMAC-MD5 key πraw_key_lenβ the key length in bytes. All key lengths are supported. literally all of them, no gatekeeping, no cap π
π DESCRIPTION π
so here's the tea β β if you don't need incremental computation, consider hmac_md5_usingrawkey instead. like, why do it in pieces when you could just do it in one go, y'know? π your call though, bestie.
π CONTEXT π
Any context. π«Ά that's it, she's flexible, she works everywhere, iconic behaviour ngl β¨
π₯ SEE ALSO π₯
Kernel file ./include/crypto/md5.h π and the whole friend group:
struct md5_ctx(9)md5_init(9)md5_update(9)md5_final(9)md5(9)struct hmac_md5_key(9)struct hmac_md5_ctx(9)hmac_md5_preparekey(9)hmac_md5_init(9)hmac_md5_update(9)hmac_md5_final(9)hmac_md5(9)hmac_md5_usingrawkey(9)
okay that's the whole page!! π this lil masterpiece lives over in ./include/crypto and it was dated October 2026 β so go forth, init that context, and slay πβ¨π
mwah π
π¦ 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