Lines Matching +full:sha +full:- +full:1
1 /* SPDX-License-Identifier: GPL-2.0-only */
17 #include <linux/dma-mapping.h>
20 #include "mtk-regs.h"
25 #define MTK_IRQ_RDR0 BIT(1)
33 * Ring 0/1 are used by AES encrypt and decrypt.
34 * Ring 2/3 are used by SHA.
48 * struct mtk_desc - DMA descriptor
53 * @tag: the user-defined field
72 #define MTK_DESC_SZ (MTK_DESC_OFF - 2)
81 * struct mtk_ring - Descriptor ring
105 * struct mtk_aes_dma - Structure that holds sg list info
106 * @sg: pointer to scatter-gather list
125 * struct mtk_aes_rec - AES operation record
170 * struct mtk_sha_rec - SHA operation record
174 * @done_task: the tasklet is use in SHA interrupt
177 * @flags: it's describing SHA operation state
180 * Structure used to record SHA execution state.
196 * struct mtk_cryp - Cryptographic device
203 * @sha: pointer to operation record of SHA
205 * @sha_list: device list of SHA
206 * @rec: it's used to select SHA record for tfm
218 struct mtk_sha_rec *sha[MTK_REC_NUM]; member