Searched refs:hash_desc (Results 1 – 8 of 8) sorted by relevance
/linux-6.3-rc2/crypto/ |
A D | hctr2.c | 71 struct shash_desc hash_desc; member 175 struct shash_desc *hash_desc = &rctx->u.hash_desc; in hctr2_hash_tweak() local 179 hash_desc->tfm = tctx->polyval; in hctr2_hash_tweak() 183 err = crypto_shash_update(hash_desc, req->iv, TWEAK_SIZE); in hctr2_hash_tweak() 198 struct shash_desc *hash_desc = &rctx->u.hash_desc; in hctr2_hash_message() local 211 err = crypto_shash_update(hash_desc, miter.addr, n); in hctr2_hash_message() 221 err = crypto_shash_update(hash_desc, padding, in hctr2_hash_message() 226 return crypto_shash_final(hash_desc, digest); in hctr2_hash_message() 235 struct shash_desc *hash_desc = &rctx->u.hash_desc; in hctr2_finish() local 240 hash_desc->tfm = tctx->polyval; in hctr2_finish() [all …]
|
A D | adiantum.c | 103 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() 430 u.hash_desc) + in adiantum_init_tfm()
|
/linux-6.3-rc2/drivers/infiniband/hw/irdma/ |
A D | osdep.h | 53 void irdma_free_hash_desc(struct shash_desc *hash_desc); 54 int irdma_init_hash_desc(struct shash_desc **hash_desc);
|
A D | puda.h | 122 struct shash_desc *hash_desc; member
|
A D | puda.c | 920 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-6.3-rc2/fs/ubifs/ |
A D | auth.c | 71 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()
|
A D | replay.c | 567 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-6.3-rc2/fs/ecryptfs/ |
A D | keystore.c | 605 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()
|
Completed in 20 milliseconds