fsverity_hash_block(9)
π 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, sizeparams->digest_sizebytes. this is where the digest goes, and its size is exactlyparams->digest_sizebytes. π
πΈ 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 π
- Kernel file:
./fs/verity/hash_algs.c fsverity_get_hash_alg(9)fsverity_prepare_hash_state(9)fsverity_hash_buffer(9)
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
- 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