ubifs_check_hmac(9)
π ubifs_check_hmac β like, the kernel API manual, bestie β¨
okay so you're in the ubifs_check_hmac(9) glow-up era of the Kernel API Manual and honestly? iconic. this is the page where we compare two HMACs and you find out if they're giving the same energy or not π«Ά
β¨ NAME β¨
ubifs_check_hmac β literally just compare two HMACs, that's the whole vibe check π
πΈ SYNOPSIS πΈ
int ubifs_check_hmac (const struct ubifs_info *c , const u8 *expected ,
const u8 *got );
π ARGUMENTS π
cβ the UBIFS file-system description object, aka the main character of this whole situation πexpectedβ the first HMAC, the one you're hoping it matches π₯Ίgotβ the second HMAC, the one reality actually handed you π
π¦ DESCRIPTION π¦
Compare two hashes, expected and got. that's it, that's the function. no cap, it's a whole little moment of truth where the two of them get held up next to each other π
β RETURN β
0when they are equal β slay, they match, we love a harmonious outcome π- a negative error code otherwise β not me, not the match, tragic but honestly expected π
π₯ SEE ALSO π₯
Kernel file ./fs/ubifs/ubifs.h plus the entire friend group, fr fr:
struct ubifs_old_idx(9)struct ubifs_scan_node(9)struct ubifs_scan_leb(9)struct ubifs_gced_idx_leb(9)struct ubifs_inode(9)struct ubifs_unclean_leb(9)struct ubifs_lprops(9)struct ubifs_lpt_lprops(9)struct ubifs_lp_stats(9)struct ubifs_cnode(9)struct ubifs_pnode(9)struct ubifs_nbranch(9)struct ubifs_nnode(9)struct ubifs_lpt_heap(9)struct ubifs_wbuf(9)struct ubifs_bud(9)struct ubifs_jhead(9)struct ubifs_zbranch(9)struct ubifs_znode(9)struct bu_info(9)struct ubifs_node_range(9)struct ubifs_compressor(9)struct ubifs_budget_req(9)struct ubifs_orphan(9)struct ubifs_mount_opts(9)struct ubifs_budg_info(9)struct ubifs_stats_info(9)struct ubifs_info(9)ubifs_check_hash(9)ubifs_branch_hash(9)ubifs_copy_hash(9)ubifs_auth_node_sz(9)
okay but seriously bestie, go read them if you wanna actually understand the file system π this page is a snack, not the whole meal π
and that's the whole page, mwah π β brought to you by <rainbow>./fs/ubifs</rainbow>, dated October 2026, man page ubifs_check_hmac(9). go be great, ily, bye π§β¨
π¦ 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