Lines Matching +full:sha +full:- +full:1
21 #include <linux/dma-mapping.h>
24 #include "mtk-regs.h"
29 #define MTK_IRQ_RDR0 BIT(1)
37 * Ring 0/1 are used by AES encrypt and decrypt.
38 * Ring 2/3 are used by SHA.
52 * struct mtk_desc - DMA descriptor
57 * @tag: the user-defined field
76 #define MTK_DESC_SZ (MTK_DESC_OFF - 2)
85 * struct mtk_ring - Descriptor ring
109 * struct mtk_aes_dma - Structure that holds sg list info
110 * @sg: pointer to scatter-gather list
129 * struct mtk_aes_rec - AES operation record
174 * struct mtk_sha_rec - SHA operation record
178 * @done_task: the tasklet is use in SHA interrupt
181 * @flags: it's describing SHA operation state
184 * Structure used to record SHA execution state.
200 * struct mtk_cryp - Cryptographic device
207 * @sha: pointer to operation record of SHA
209 * @sha_list: device list of SHA
210 * @rec: it's used to select SHA record for tfm
222 struct mtk_sha_rec *sha[MTK_REC_NUM]; member