Searched refs:hash_tfm (Results 1 – 7 of 7) sorted by relevance
/fs/ubifs/ |
D | auth.c | 34 SHASH_DESC_ON_STACK(shash, c->hash_tfm); in __ubifs_node_calc_hash() 37 shash->tfm = c->hash_tfm; in __ubifs_node_calc_hash() 86 SHASH_DESC_ON_STACK(hash_desc, c->hash_tfm); in ubifs_prepare_auth_node() 88 hash_desc->tfm = c->hash_tfm; in ubifs_prepare_auth_node() 138 return ubifs_get_desc(c, c->hash_tfm); in __ubifs_hash_get_desc() 317 c->hash_tfm = crypto_alloc_shash(c->auth_hash_name, 0, 0); in ubifs_init_authentication() 318 if (IS_ERR(c->hash_tfm)) { in ubifs_init_authentication() 319 err = PTR_ERR(c->hash_tfm); in ubifs_init_authentication() 325 c->hash_len = crypto_shash_digestsize(c->hash_tfm); in ubifs_init_authentication() 367 crypto_free_shash(c->hash_tfm); in ubifs_init_authentication() [all …]
|
D | master.c | 71 SHASH_DESC_ON_STACK(shash, c->hash_tfm); in mst_node_check_hash() 73 shash->tfm = c->hash_tfm; in mst_node_check_hash()
|
D | replay.c | 565 SHASH_DESC_ON_STACK(hash_desc, c->hash_tfm); in authenticate_sleb_hash() 567 hash_desc->tfm = c->hash_tfm; in authenticate_sleb_hash()
|
D | ubifs.h | 1472 struct crypto_shash *hash_tfm; member
|
/fs/ecryptfs/ |
D | keystore.c | 603 struct crypto_shash *hash_tfm; member 741 s->hash_tfm = crypto_alloc_shash(ECRYPTFS_TAG_70_DIGEST, 0, 0); in ecryptfs_write_tag_70_packet() 742 if (IS_ERR(s->hash_tfm)) { in ecryptfs_write_tag_70_packet() 743 rc = PTR_ERR(s->hash_tfm); in ecryptfs_write_tag_70_packet() 751 crypto_shash_descsize(s->hash_tfm), GFP_KERNEL); in ecryptfs_write_tag_70_packet() 757 s->hash_desc->tfm = s->hash_tfm; in ecryptfs_write_tag_70_packet() 839 crypto_free_shash(s->hash_tfm); in ecryptfs_write_tag_70_packet()
|
D | crypto.c | 80 tfm = crypt_stat->hash_tfm; in ecryptfs_calculate_md5() 188 crypt_stat->hash_tfm = tfm; in ecryptfs_init_crypt_stat() 205 crypto_free_shash(crypt_stat->hash_tfm); in ecryptfs_destroy_crypt_stat()
|
D | ecryptfs_kernel.h | 240 struct crypto_shash *hash_tfm; /* Crypto context for generating member
|