/linux-6.15/drivers/crypto/inside-secure/eip93/ |
D | eip93-main.c | 21 #include "eip93-main.h" 22 #include "eip93-regs.h" 23 #include "eip93-common.h" 24 #include "eip93-cipher.h" 25 #include "eip93-aes.h" 26 #include "eip93-des.h" 27 #include "eip93-aead.h" 28 #include "eip93-hash.h" 65 inline void eip93_irq_disable(struct eip93_device *eip93, u32 mask) in eip93_irq_disable() argument 67 __raw_writel(mask, eip93->base + EIP93_REG_MASK_DISABLE); in eip93_irq_disable() [all …]
|
D | eip93-hash.c | 15 #include "eip93-cipher.h" 16 #include "eip93-hash.h" 17 #include "eip93-main.h" 18 #include "eip93-common.h" 19 #include "eip93-regs.h" 26 struct eip93_device *eip93 = ctx->eip93; in eip93_hash_free_data_blocks() local 30 dma_unmap_single(eip93->dev, block->data_dma, in eip93_hash_free_data_blocks() 38 dma_unmap_single(eip93->dev, rctx->data_dma, in eip93_hash_free_data_blocks() 48 struct eip93_device *eip93 = ctx->eip93; in eip93_hash_free_sa_record() local 51 dma_unmap_single(eip93->dev, rctx->sa_record_hmac_base, in eip93_hash_free_sa_record() [all …]
|
D | eip93-aead.c | 25 #include "eip93-aead.h" 26 #include "eip93-cipher.h" 27 #include "eip93-common.h" 28 #include "eip93-regs.h" 33 struct eip93_device *eip93 = ctx->eip93; in eip93_aead_handle_result() local 37 eip93_unmap_dma(eip93, rctx, req->src, req->dst); in eip93_aead_handle_result() 38 eip93_handle_result(eip93, rctx, req->iv); in eip93_aead_handle_result() 68 ctx->eip93 = tmpl->eip93; in eip93_aead_cra_init() 84 dma_unmap_single(ctx->eip93->dev, ctx->sa_record_base, in eip93_aead_cra_exit() 194 ctx->sa_record_base = dma_map_single(ctx->eip93->dev, ctx->sa_record, in eip93_aead_crypt() [all …]
|
D | eip93-common.c | 19 #include "eip93-cipher.h" 20 #include "eip93-hash.h" 21 #include "eip93-common.h" 22 #include "eip93-main.h" 23 #include "eip93-regs.h" 25 int eip93_parse_ctrl_stat_err(struct eip93_device *eip93, int err) in eip93_parse_ctrl_stat_err() argument 42 dev_err(eip93->dev, "Unhandled error 0x%08x\n", err); in eip93_parse_ctrl_stat_err() 63 dev_err(eip93->dev, "Unhandled ext error 0x%08x\n", ext_err); in eip93_parse_ctrl_stat_err() 68 static void *eip93_ring_next_wptr(struct eip93_device *eip93, in eip93_ring_next_wptr() argument 85 static void *eip93_ring_next_rptr(struct eip93_device *eip93, in eip93_ring_next_rptr() argument [all …]
|
D | Makefile | 1 obj-$(CONFIG_CRYPTO_DEV_EIP93) += crypto-hw-eip93.o 3 crypto-hw-eip93-y += eip93-main.o eip93-common.o 4 crypto-hw-eip93-y += eip93-cipher.o eip93-aead.o 5 crypto-hw-eip93-y += eip93-hash.o
|
D | eip93-cipher.c | 14 #include "eip93-aes.h" 15 #include "eip93-cipher.h" 16 #include "eip93-common.h" 17 #include "eip93-des.h" 18 #include "eip93-regs.h" 23 struct eip93_device *eip93 = ctx->eip93; in eip93_skcipher_handle_result() local 27 eip93_unmap_dma(eip93, rctx, req->src, req->dst); in eip93_skcipher_handle_result() 28 eip93_handle_result(eip93, rctx, req->iv); in eip93_skcipher_handle_result() 61 ctx->eip93 = tmpl->eip93; in eip93_skcipher_cra_init() 75 dma_unmap_single(ctx->eip93->dev, ctx->sa_record_base, in eip93_skcipher_cra_exit() [all …]
|
D | eip93-cipher.h | 11 #include "eip93-main.h" 14 struct eip93_device *eip93; member 49 void eip93_unmap_dma(struct eip93_device *eip93, struct eip93_cipher_reqctx *rctx, 57 void eip93_handle_result(struct eip93_device *eip93, struct eip93_cipher_reqctx *rctx,
|
D | eip93-hash.h | 13 #include "eip93-main.h" 14 #include "eip93-regs.h" 17 struct eip93_device *eip93; member 43 * EIP93 requires data to be accumulated in block of 64 bytes
|
D | Kconfig | 3 tristate "Support for EIP93 crypto HW accelerators" 14 EIP93 have various crypto HW accelerators. Select this if 15 you want to use the EIP93 modules for any of the crypto algorithms.
|
D | eip93-common.h | 12 void *eip93_get_descriptor(struct eip93_device *eip93); 13 int eip93_put_descriptor(struct eip93_device *eip93, struct eip93_descriptor *desc); 18 int eip93_parse_ctrl_stat_err(struct eip93_device *eip93, int err);
|
D | eip93-regs.h | 70 /* Absent in later revision of eip93 */ 135 /* EIP93 CLOCK control registers */ 143 /* EIP93 Device Option and Revision Register */ 167 /* EIP93 Interrupt Control Register */ 197 /* EIP93 SA Record register */
|
D | eip93-main.h | 141 struct eip93_device *eip93; member
|
/linux-6.15/Documentation/devicetree/bindings/crypto/ |
D | inside-secure,safexcel-eip93.yaml | 4 $id: http://devicetree.org/schemas/crypto/inside-secure,safexcel-eip93.yaml# 15 PKTE to simply vendor+EIP93. The real IP under the hood is actually 34 - const: airoha,en7581-eip93 63 compatible = "airoha,en7581-eip93", "inside-secure,safexcel-eip93ies";
|
/linux-6.15/drivers/crypto/inside-secure/ |
D | Makefile | 4 obj-y += eip93/
|
/linux-6.15/drivers/crypto/ |
D | Kconfig | 858 source "drivers/crypto/inside-secure/eip93/Kconfig"
|
/linux-6.15/ |
D | MAINTAINERS | 11769 INSIDE SECURE EIP93 CRYPTO DRIVER 11773 F: Documentation/devicetree/bindings/crypto/inside-secure,safexcel-eip93.yaml 11774 F: drivers/crypto/inside-secure/eip93/
|