__ubifs_node_verify_hmac(9)
π __ubifs_node_verify_hmac (9) β Kernel API Manual π
okay bestie, so this page is all about __ubifs_node_verify_hmac from the Kernel API Manual, and honestly? it's a tiny little function with one job and it does it. let's get into it π«Ά
β¨ NAME β¨
__ubifs_node_verify_hmac β verify the HMAC of UBIFS node π
πΈ SYNOPSIS πΈ
int __ubifs_node_verify_hmac (const struct ubifs_info *c , const void
*node , int len , int ofs_hmac );
like, that's the whole signature. four args, one int coming back at you β¨
π ARGUMENTS π
cβ UBIFS file-system description object. it's the context bestie, it knows things πnodeβ the node to insert a HMAC into. (yes that's literally what it says β i'm just the messenger π)lenβ the length of the node πofs_hmacβ the offset in the node where the HMAC is inserted π―
π DESCRIPTION π
so here's the tea β β this function verifies the HMAC at offset ofs_hmac of the node given in node.
that's it, that's the vibe. it checks the thing π₯
it returns 0 if successful, or a negative error code otherwise. so 0 = slay, negative = not slay π
π¦ SEE ALSO π¦
Kernel file ./fs/ubifs/auth.c, plus the whole friend group:
__ubifs_node_calc_hash(9)ubifs_hash_calc_hmac(9)ubifs_prepare_auth_node(9)__ubifs_hash_get_desc(9)ubifs_bad_hash(9)__ubifs_node_check_hash(9)ubifs_sb_verify_signature(9)ubifs_init_authentication(9)__ubifs_exit_authentication(9)ubifs_node_calc_hmac(9)__ubifs_node_insert_hmac(9)ubifs_hmac_wkm(9)
ngl this one's a short read β go read the rest of ./fs/ubifs/auth.c if you want the full lore π§
okay that's the page, periodt π
this came out of ./fs/ubifs and it's dated October 2026, so yeah β future-coded icon behavior π go verify some HMACs, bestie, you got this πβ¨πΈ
π¦ 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