Home
last modified time | relevance | path

Searched refs:hash_tfm (Results 1 – 3 of 3) sorted by relevance

/linux/fs/ubifs/
H A Dauth.c33 return crypto_shash_tfm_digest(c->hash_tfm, node, le32_to_cpu(ch->len), in __ubifs_node_calc_hash()
70 SHASH_DESC_ON_STACK(hash_desc, c->hash_tfm); in ubifs_prepare_auth_node()
72 hash_desc->tfm = c->hash_tfm; in ubifs_prepare_auth_node()
122 return ubifs_get_desc(c, c->hash_tfm); in __ubifs_hash_get_desc()
301 c->hash_tfm = crypto_alloc_shash(c->auth_hash_name, 0, 0); in ubifs_init_authentication()
302 if (IS_ERR(c->hash_tfm)) { in ubifs_init_authentication()
303 err = PTR_ERR(c->hash_tfm); in ubifs_init_authentication()
309 c->hash_len = crypto_shash_digestsize(c->hash_tfm); in ubifs_init_authentication()
351 crypto_free_shash(c->hash_tfm); in ubifs_init_authentication()
371 crypto_free_shash(c->hash_tfm); in __ubifs_exit_authentication()
H A Dmaster.c72 ret = crypto_shash_tfm_digest(c->hash_tfm, node + sizeof(struct ubifs_ch), in mst_node_check_hash()
H A Dubifs.h1490 struct crypto_shash *hash_tfm; member