Home
last modified time | relevance | path

Searched refs:out_tag (Results 1 - 7 of 7) sorted by relevance

/kernel/linux/linux-6.6/drivers/crypto/intel/keembay/
H A Docs-aes.h105 u8 *out_tag,
H A Docs-aes.c920 * @out_tag: Where to store computed tag.
921 * @tag_size: The size (in bytes) of @out_tag.
934 u8 *out_tag, in ocs_aes_gcm_op()
943 aad_size, out_tag, tag_size, cipher, in ocs_aes_gcm_op()
954 /* Write out_tag byte length */ in ocs_aes_gcm_op()
1017 ocs_aes_gcm_read_tag(aes_dev, out_tag, tag_size); in ocs_aes_gcm_op()
925 ocs_aes_gcm_op(struct ocs_aes_dev *aes_dev, enum ocs_cipher cipher, enum ocs_instruction instruction, dma_addr_t dst_dma_list, dma_addr_t src_dma_list, u32 src_size, const u8 *iv, dma_addr_t aad_dma_list, u32 aad_size, u8 *out_tag, u32 tag_size) ocs_aes_gcm_op() argument
H A Dkeembay-ocs-aes-core.c78 * @out_tag: Buffer to hold output encrypted / decrypted tag (only
105 u8 out_tag[AES_BLOCK_SIZE]; member
916 rctx->out_tag, tag_size); in kmb_ocs_aead_run()
920 /* For GCM decrypt, we have to compare in_tag with out_tag. */ in kmb_ocs_aead_run()
922 rc = memcmp(rctx->in_tag, rctx->out_tag, tag_size) ? in kmb_ocs_aead_run()
927 /* For GCM encrypt, we must manually copy out_tag to DST sg. */ in kmb_ocs_aead_run()
933 sg_pcopy_from_buffer(req->dst, rctx->dst_nents, rctx->out_tag, in kmb_ocs_aead_run()
/kernel/linux/linux-5.10/drivers/crypto/stm32/
H A Dstm32-cryp.c1179 u32 out_tag[AES_BLOCK_32]; in stm32_cryp_read_auth_tag() local
1183 out_tag[i] = stm32_cryp_read(cryp, CRYP_DOUT); in stm32_cryp_read_auth_tag()
1185 scatterwalk_copychunks(out_tag, &cryp->out_walk, cryp->authsize, 1); in stm32_cryp_read_auth_tag()
1188 u32 in_tag[AES_BLOCK_32], out_tag[AES_BLOCK_32]; in stm32_cryp_read_auth_tag() local
1193 out_tag[i] = stm32_cryp_read(cryp, CRYP_DOUT); in stm32_cryp_read_auth_tag()
1195 if (crypto_memneq(in_tag, out_tag, cryp->authsize)) in stm32_cryp_read_auth_tag()
/kernel/linux/linux-6.6/drivers/crypto/stm32/
H A Dstm32-cryp.c1333 u32 out_tag[AES_BLOCK_32]; in stm32_cryp_read_auth_tag() local
1336 readsl(cryp->regs + cryp->caps->dout, out_tag, AES_BLOCK_32); in stm32_cryp_read_auth_tag()
1337 scatterwalk_copychunks(out_tag, &cryp->out_walk, cryp->authsize, 1); in stm32_cryp_read_auth_tag()
1340 u32 in_tag[AES_BLOCK_32], out_tag[AES_BLOCK_32]; in stm32_cryp_read_auth_tag() local
1343 readsl(cryp->regs + cryp->caps->dout, out_tag, AES_BLOCK_32); in stm32_cryp_read_auth_tag()
1345 if (crypto_memneq(in_tag, out_tag, cryp->authsize)) in stm32_cryp_read_auth_tag()
/kernel/linux/linux-5.10/drivers/s390/block/
H A Dscm_blk.c469 goto out_tag; in scm_blk_dev_setup()
510 out_tag: in scm_blk_dev_setup()
/kernel/linux/linux-6.6/drivers/s390/block/
H A Dscm_blk.c468 goto out_tag; in scm_blk_dev_setup()
506 out_tag: in scm_blk_dev_setup()

Completed in 12 milliseconds