fsverity_hash_block(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– fsverity_hash_block(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual page for fsverity_hash_block β€” it is literally here to hash one single data or hash block, and we are obsessed. πŸ¦‹


✨ NAME ✨

fsverity_hash_block β€” hash a single data or hash block

🫢 SYNOPSIS 🫢

it’s giving this exact signature, bestie:

void fsverity_hash_block (const struct merkle_tree_params *params ,
       const void *data , u8 *out );

πŸ’… ARGUMENTS πŸ’…

  • params β€” the Merkle tree’s parameters. yes, the whole tree’s lil config moment. 🌈
  • data β€” virtual address of a buffer containing the block to hash. literally the address of the buffer holding the block. πŸŽ€
  • out β€” output digest, size params->digest_size bytes. this is where the digest goes, and its size is exactly params->digest_size bytes. πŸ’œ

🌸 DESCRIPTION 🌸

okay so the whole vibe: hash a single data or hash block. that’s the main-character job. πŸ”₯

and the tea is: the hash is salted if a salt is specified in the Merkle tree parameters. if that salt is there in the Merkle tree parameters, the hash gets salted. periodt. πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘

these are the related icons to check out if you want the full fsverity friend group. 🫢


cute sign-off bestie: source/version ./fs/verity, dated October 2026, for the fsverity_hash_block(9) page itself. slay. πŸ’…βœ¨

πŸ“¦ where this page comes from