Lines Matching defs: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];
1058 * @double_hash: flag indicating that we can do lookups by hash
1110 * @key_hash_type: type of the key hash
1111 * @key_hash: direntry key hash function
1249 * @hash_tfm: the hash transformation used for hashing nodes
1253 * @auth_hash_name: the name of the hash algorithm used for authentication
1254 * @auth_hash_algo: the authentication hash used for this fs
1255 * @log_hash: the log hash from the commit start node up to the latest reference
1583 u8 *hash);
1585 const void *buf, u8 *hash)
1588 return __ubifs_node_calc_hash(c, buf, hash);
1599 * @expected: first hash
1600 * @got: second hash
1628 const u8 *hash, int lnum, int offs);
1631 const u8 *hash, int lnum, int offs) {};
1654 * ubifs_branch_hash - returns a pointer to the hash of a branch
1656 * @br: branch to get the hash from
1658 * This returns a pointer to the hash of a branch. Since the key already is a
1668 * ubifs_copy_hash - copy a hash
1670 * @from: source hash
1671 * @to: destination hash
1673 * With authentication this copies a hash, otherwise does nothing.
1864 int offs, int len, const u8 *hash);
1868 int lnum, int offs, int len, const u8 *hash,
1966 int *lpt_lebs, int *big_lpt, u8 *hash);
1994 int ubifs_lpt_calc_hash(struct ubifs_info *c, u8 *hash);