Lines Matching refs:hash
49 u8 hash[UBIFS_HASH_ARR_SZ]; member
255 r->len, r->hash, &r->nm); in apply_replay_entry()
280 r->len, r->hash); in apply_replay_entry()
384 const u8 *hash, union ubifs_key *key, in insert_node() argument
404 ubifs_copy_hash(c, hash, r->hash); in insert_node()
433 const u8 *hash, union ubifs_key *key, in insert_dent() argument
459 ubifs_copy_hash(c, hash, r->hash); in insert_dent()
565 struct shash_desc *log_hash, u8 *hash) in authenticate_sleb_hash() argument
572 return crypto_shash_final(hash_desc, hash); in authenticate_sleb_hash()
598 u8 hash[UBIFS_HASH_ARR_SZ]; in authenticate_sleb() local
611 err = authenticate_sleb_hash(c, log_hash, hash); in authenticate_sleb()
615 err = crypto_shash_tfm_digest(c->hmac_tfm, hash, in authenticate_sleb()
722 u8 hash[UBIFS_HASH_ARR_SZ]; in replay_bud() local
732 ubifs_node_calc_hash(c, snod->node, hash); in replay_bud()
745 err = insert_node(c, lnum, snod->offs, snod->len, hash, in replay_bud()
757 err = insert_node(c, lnum, snod->offs, snod->len, hash, in replay_bud()
771 err = insert_dent(c, lnum, snod->offs, snod->len, hash, in replay_bud()
797 err = insert_node(c, lnum, snod->offs, snod->len, hash, in replay_bud()