Lines Matching defs:hash
31 #include <crypto/hash.h>
709 * @log_hash: the log hash from the commit start node up to this bud
725 * @log_hash: the log hash from the commit start node up to this journal head
743 * @hash: the hash of the target node
754 u8 hash[UBIFS_HASH_ARR_SZ];
1037 * @double_hash: flag indicating that we can do lookups by hash
1089 * @key_hash_type: type of the key hash
1090 * @key_hash: direntry key hash function
1228 * @hash_tfm: the hash transformation used for hashing nodes
1232 * @auth_hash_name: the name of the hash algorithm used for authentication
1233 * @auth_hash_algo: the authentication hash used for this fs
1234 * @log_hash: the log hash from the commit start node up to the latest reference
1554 u8 *hash);
1556 const void *buf, u8 *hash)
1559 return __ubifs_node_calc_hash(c, buf, hash);
1570 * @expected: first hash
1571 * @got: second hash
1599 const u8 *hash, int lnum, int offs);
1602 const u8 *hash, int lnum, int offs) {};
1625 * ubifs_branch_hash - returns a pointer to the hash of a branch
1627 * @br: branch to get the hash from
1629 * This returns a pointer to the hash of a branch. Since the key already is a
1639 * ubifs_copy_hash - copy a hash
1641 * @from: source hash
1642 * @to: destination hash
1644 * With authentication this copies a hash, otherwise does nothing.
1835 int offs, int len, const u8 *hash);
1839 int lnum, int offs, int len, const u8 *hash,
1937 int *lpt_lebs, int *big_lpt, u8 *hash);
1965 int ubifs_lpt_calc_hash(struct ubifs_info *c, u8 *hash);