hmac_sha1_init_usingrawkey(9)
okay so bestie, welcome to hmac_sha1_init_usingrawkey(9) from the Kernel API Manual π
β¨. She's here to initialize an HMAC-SHA1 context for a new message using a raw key, and honestly? iconic setup behavior.
π NAME π
hmac_sha1_init_usingrawkey β initialize an HMAC-SHA1 context for a new message, using a raw key π«Ά
πΈ SYNOPSIS πΈ
void hmac_sha1_init_usingrawkey (struct hmac_sha1_ctx *ctx , const u8
*raw_key , size_t raw_key_len );
π ARGUMENTS π
ctxβ (output) the HMAC context to initialize. This is the main-character context getting set up β¨raw_keyβ the raw HMAC-SHA1 key. The key itself, in its raw little form πraw_key_lenβ the key length in bytes. All key lengths are supported, no cap π―
π¦ DESCRIPTION π¦
If you don't need incremental computation, consider hmac_sha1_usingrawkey instead. Like, real talk: that's the shortcut bestie, so maybe check it out before doing the whole incremental era π
π CONTEXT π
Any context. Literally any π«Ά
π SEE ALSO π
Kernel file ./include/crypto/sha1.hstruct sha1_ctx(9)sha1_init(9)sha1_update(9)sha1_final(9)sha1(9)struct hmac_sha1_key(9)struct hmac_sha1_ctx(9)hmac_sha1_preparekey(9)hmac_sha1_init(9)hmac_sha1_update(9)hmac_sha1_final(9)hmac_sha1(9)hmac_sha1_usingrawkey(9)
this page is chillin' under ./include/crypto, dated October 2026, and it's the hmac_sha1_init_usingrawkey(9) page. 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