Home
last modified time | relevance | path

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

/linux-5.19.10/crypto/
Dadiantum.c103 struct shash_desc hash_desc; member
254 struct shash_desc *hash_desc = &rctx->u.hash_desc; in adiantum_hash_message() local
259 hash_desc->tfm = tctx->hash; in adiantum_hash_message()
261 err = crypto_shash_init(hash_desc); in adiantum_hash_message()
270 err = crypto_shash_update(hash_desc, miter.addr, n); in adiantum_hash_message()
278 return crypto_shash_final(hash_desc, (u8 *)digest); in adiantum_hash_message()
431 u.hash_desc) + in adiantum_init_tfm()
/linux-5.19.10/drivers/infiniband/hw/irdma/
Dosdep.h53 void irdma_free_hash_desc(struct shash_desc *hash_desc);
54 int irdma_init_hash_desc(struct shash_desc **hash_desc);
Dpuda.h122 struct shash_desc *hash_desc; member
Dpuda.c920 irdma_free_hash_desc(rsrc->hash_desc); in irdma_puda_dele_rsrc()
1092 if (!irdma_init_hash_desc(&rsrc->hash_desc)) { in irdma_puda_create_rsrc()
1393 status = irdma_ieq_check_mpacrc(ieq->hash_desc, txbuf->data, in irdma_ieq_handle_partial()
1462 ret = irdma_ieq_check_mpacrc(ieq->hash_desc, datap, in irdma_ieq_process_buf()
/linux-5.19.10/fs/ubifs/
Dauth.c71 SHASH_DESC_ON_STACK(hash_desc, c->hash_tfm); in ubifs_prepare_auth_node()
73 hash_desc->tfm = c->hash_tfm; in ubifs_prepare_auth_node()
74 ubifs_shash_copy_state(c, inhash, hash_desc); in ubifs_prepare_auth_node()
76 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()
/linux-5.19.10/fs/ecryptfs/
Dkeystore.c605 struct shash_desc *hash_desc; member
751 s->hash_desc = kmalloc(sizeof(*s->hash_desc) + in ecryptfs_write_tag_70_packet()
753 if (!s->hash_desc) { in ecryptfs_write_tag_70_packet()
758 s->hash_desc->tfm = s->hash_tfm; in ecryptfs_write_tag_70_packet()
760 rc = crypto_shash_digest(s->hash_desc, in ecryptfs_write_tag_70_packet()
775 rc = crypto_shash_digest(s->hash_desc, (u8 *)s->hash, in ecryptfs_write_tag_70_packet()
851 kfree_sensitive(s->hash_desc); in ecryptfs_write_tag_70_packet()