Lines Matching refs:hash
33 #include <crypto/hash.h>
718 * @log_hash: the log hash from the commit start node up to this bud
734 * @log_hash: the log hash from the commit start node up to this journal head
752 * @hash: the hash of the target node
763 u8 hash[UBIFS_HASH_ARR_SZ];
1060 * @double_hash: flag indicating that we can do lookups by hash
1112 * @key_hash_type: type of the key hash
1113 * @key_hash: direntry key hash function
1251 * @hash_tfm: the hash transformation used for hashing nodes
1255 * @auth_hash_name: the name of the hash algorithm used for authentication
1256 * @auth_hash_algo: the authentication hash used for this fs
1257 * @log_hash: the log hash from the commit start node up to the latest reference
1587 u8 *hash);
1589 const void *buf, u8 *hash)
1592 return __ubifs_node_calc_hash(c, buf, hash);
1603 * @expected: first hash
1604 * @got: second hash
1632 const u8 *hash, int lnum, int offs);
1635 const u8 *hash, int lnum, int offs) {};
1658 * ubifs_branch_hash - returns a pointer to the hash of a branch
1660 * @br: branch to get the hash from
1662 * This returns a pointer to the hash of a branch. Since the key already is a
1672 * ubifs_copy_hash - copy a hash
1674 * @from: source hash
1675 * @to: destination hash
1677 * With authentication this copies a hash, otherwise does nothing.
1868 int offs, int len, const u8 *hash);
1872 int lnum, int offs, int len, const u8 *hash,
1971 int *lpt_lebs, int *big_lpt, u8 *hash);
1999 int ubifs_lpt_calc_hash(struct ubifs_info *c, u8 *hash);