Home
last modified time | relevance | path

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

/fs/ubifs/
Dauth.c72 SHASH_DESC_ON_STACK(hash_desc, c->hash_tfm); in ubifs_prepare_auth_node()
74 hash_desc->tfm = c->hash_tfm; in ubifs_prepare_auth_node()
75 ubifs_shash_copy_state(c, inhash, hash_desc); in ubifs_prepare_auth_node()
77 err = crypto_shash_final(hash_desc, hash); in ubifs_prepare_auth_node()
Dreplay.c567 SHASH_DESC_ON_STACK(hash_desc, c->hash_tfm); in authenticate_sleb_hash()
569 hash_desc->tfm = c->hash_tfm; in authenticate_sleb_hash()
571 ubifs_shash_copy_state(c, log_hash, hash_desc); in authenticate_sleb_hash()
572 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 kfree_sensitive(s->hash_desc); in ecryptfs_write_tag_70_packet()