Lines Matching full:hash
30 /* Note that calc_node_hash() depends on hash first in struct */
31 uint8_t hash[TEE_FS_HTREE_HASH_SIZE]; member
38 * This struct is not interpreted by the hash tree, it's up to the user of
61 * enum tee_fs_htree_type - type of hash tree element
103 * tee_fs_htree_open() - opens/creates a hash tree
104 * @create: true if a new hash tree is to be created, else the hash tree
106 * @hash: hash of root node, ignored if NULL
112 * @ht: returned hash tree on success
114 TEE_Result tee_fs_htree_open(bool create, uint8_t *hash, uint32_t min_counter,
119 * tee_fs_htree_close() - close a hash tree
120 * @ht: hash tree
127 * @ht: hash tree
132 * tee_fs_htree_meta_set_dirty() - tell hash tree that meta were modified
137 * tee_fs_htree_sync_to_storage() - synchronize hash tree to storage
138 * @ht: hash tree
139 * @hash: hash of root node is copied to this if not NULL
142 * Frees the hash tree and sets *ht to NULL on failure and returns an error code
145 uint8_t *hash, uint32_t *counter);
148 * tee_fs_htree_truncate() - truncate a hash tree
149 * @ht: hash tree
152 * Frees the hash tree and sets *ht to NULL on failure and returns an error code
158 * @ht: hash tree
162 * Frees the hash tree and sets *ht to NULL on failure and returns an error code
168 * @ht: hash tree
172 * Frees the hash tree and sets *ht to NULL on failure and returns an error code