Home
last modified time | relevance | path

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

/fs/ubifs/
Dauth.c90 SHASH_DESC_ON_STACK(hash_desc, c->hash_tfm); in ubifs_prepare_auth_node()
92 hash_desc->tfm = c->hash_tfm; in ubifs_prepare_auth_node()
93 ubifs_shash_copy_state(c, inhash, hash_desc); in ubifs_prepare_auth_node()
95 err = crypto_shash_final(hash_desc, hash); in ubifs_prepare_auth_node()
Dreplay.c564 SHASH_DESC_ON_STACK(hash_desc, c->hash_tfm); in authenticate_sleb_hash()
566 hash_desc->tfm = c->hash_tfm; in authenticate_sleb_hash()
568 ubifs_shash_copy_state(c, log_hash, hash_desc); in authenticate_sleb_hash()
569 return crypto_shash_final(hash_desc, hash); in authenticate_sleb_hash()
/fs/ecryptfs/
Dkeystore.c604 struct shash_desc *hash_desc; member
750 s->hash_desc = kmalloc(sizeof(*s->hash_desc) + in ecryptfs_write_tag_70_packet()
752 if (!s->hash_desc) { in ecryptfs_write_tag_70_packet()
757 s->hash_desc->tfm = s->hash_tfm; in ecryptfs_write_tag_70_packet()
759 rc = crypto_shash_digest(s->hash_desc, in ecryptfs_write_tag_70_packet()
774 rc = crypto_shash_digest(s->hash_desc, (u8 *)s->hash, in ecryptfs_write_tag_70_packet()
850 kzfree(s->hash_desc); in ecryptfs_write_tag_70_packet()