Searched refs:des3 (Results 1 – 18 of 18) sorted by relevance
/kernel/linux/linux-5.10/drivers/crypto/ccp/ |
D | ccp-crypto-des3.c | 30 if (ctx->u.des3.mode != CCP_DES3_MODE_ECB) in ccp_des3_complete() 50 ctx->u.des3.type = CCP_DES3_TYPE_168; in ccp_des3_setkey() 51 ctx->u.des3.mode = alg->mode; in ccp_des3_setkey() 52 ctx->u.des3.key_len = key_len; in ccp_des3_setkey() 54 memcpy(ctx->u.des3.key, key, key_len); in ccp_des3_setkey() 55 sg_init_one(&ctx->u.des3.key_sg, ctx->u.des3.key, key_len); in ccp_des3_setkey() 69 if (!ctx->u.des3.key_len) in ccp_des3_crypt() 72 if (((ctx->u.des3.mode == CCP_DES3_MODE_ECB) || in ccp_des3_crypt() 73 (ctx->u.des3.mode == CCP_DES3_MODE_CBC)) && in ccp_des3_crypt() 77 if (ctx->u.des3.mode != CCP_DES3_MODE_ECB) { in ccp_des3_crypt() [all …]
|
D | ccp-ops.c | 1292 struct ccp_des3_engine *des3 = &cmd->u.des3; in ccp_run_des3_cmd() local 1306 if (!cmd_q->ccp->vdata->perform->des3) in ccp_run_des3_cmd() 1309 if (des3->key_len != DES3_EDE_KEY_SIZE) in ccp_run_des3_cmd() 1312 if (((des3->mode == CCP_DES3_MODE_ECB) || in ccp_run_des3_cmd() 1313 (des3->mode == CCP_DES3_MODE_CBC)) && in ccp_run_des3_cmd() 1314 (des3->src_len & (DES3_EDE_BLOCK_SIZE - 1))) in ccp_run_des3_cmd() 1317 if (!des3->key || !des3->src || !des3->dst) in ccp_run_des3_cmd() 1320 if (des3->mode != CCP_DES3_MODE_ECB) { in ccp_run_des3_cmd() 1321 if (des3->iv_len != DES3_EDE_BLOCK_SIZE) in ccp_run_des3_cmd() 1324 if (!des3->iv) in ccp_run_des3_cmd() [all …]
|
D | ccp-dev-v5.c | 110 } des3; member 144 #define CCP_DES3_SIZE(p) ((p)->des3.size) 145 #define CCP_DES3_ENCRYPT(p) ((p)->des3.encrypt) 146 #define CCP_DES3_MODE(p) ((p)->des3.mode) 147 #define CCP_DES3_TYPE(p) ((p)->des3.type) 426 CCP_DES3_ENCRYPT(&function) = op->u.des3.action; in ccp5_perform_des3() 427 CCP_DES3_MODE(&function) = op->u.des3.mode; in ccp5_perform_des3() 428 CCP_DES3_TYPE(&function) = op->u.des3.type; in ccp5_perform_des3() 1103 .des3 = ccp5_perform_des3,
|
D | Makefile | 21 ccp-crypto-des3.o \
|
D | ccp-dev.h | 549 struct ccp_des3_op des3; member 655 int (*des3)(struct ccp_op *); member
|
D | ccp-crypto.h | 268 struct ccp_des3_ctx des3; member
|
D | ccp-dev-v3.c | 571 .des3 = NULL,
|
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/ |
D | dwxgmac2_descs.c | 14 unsigned int tdes3 = le32_to_cpu(p->des3); in dwxgmac2_get_tx_status() 28 unsigned int rdes3 = le32_to_cpu(p->des3); in dwxgmac2_get_rx_status() 49 return (le32_to_cpu(p->des3) & XGMAC_TDES3_OWN) > 0; in dwxgmac2_get_tx_owner() 54 p->des3 |= cpu_to_le32(XGMAC_TDES3_OWN); in dwxgmac2_set_tx_owner() 59 p->des3 |= cpu_to_le32(XGMAC_RDES3_OWN); in dwxgmac2_set_rx_owner() 62 p->des3 |= cpu_to_le32(XGMAC_RDES3_IOC); in dwxgmac2_set_rx_owner() 67 return (le32_to_cpu(p->des3) & XGMAC_RDES3_LD) > 0; in dwxgmac2_get_tx_ls() 72 return (le32_to_cpu(p->des3) & XGMAC_RDES3_PL); in dwxgmac2_get_rx_frame_len() 99 unsigned int rdes3 = le32_to_cpu(p->des3); in dwxgmac2_rx_check_timestamp() 120 unsigned int rdes3 = le32_to_cpu(p->des3); in dwxgmac2_get_rx_timestamp_status() [all …]
|
D | dwmac4_descs.c | 24 tdes3 = le32_to_cpu(p->des3); in dwmac4_wrback_get_tx_status() 80 unsigned int rdes3 = le32_to_cpu(p->des3); in dwmac4_wrback_get_rx_status() 183 return (le32_to_cpu(p->des3) & TDES3_OWN) >> TDES3_OWN_SHIFT; in dwmac4_get_tx_owner() 188 p->des3 |= cpu_to_le32(TDES3_OWN); in dwmac4_set_tx_owner() 193 p->des3 |= cpu_to_le32(RDES3_OWN | RDES3_BUFFER1_VALID_ADDR); in dwmac4_set_rx_owner() 196 p->des3 |= cpu_to_le32(RDES3_INT_ON_COMPLETION_EN); in dwmac4_set_rx_owner() 201 return (le32_to_cpu(p->des3) & TDES3_LAST_DESCRIPTOR) in dwmac4_get_tx_ls() 207 return (le32_to_cpu(p->des3) & RDES3_PACKET_SIZE_MASK); in dwmac4_wrback_get_rx_frame_len() 218 if (le32_to_cpu(p->des3) & TDES3_CONTEXT_TYPE) in dwmac4_wrback_get_tx_timestamp_status() 222 if (le32_to_cpu(p->des3) & TDES3_TIMESTAMP_STATUS) in dwmac4_wrback_get_tx_timestamp_status() [all …]
|
D | chain_mode.c | 112 p->basic.des3 = cpu_to_le32((unsigned int)dma_phy); in init_dma_chain() 115 p->basic.des3 = cpu_to_le32((unsigned int)phy_addr); in init_dma_chain() 121 p->des3 = cpu_to_le32((unsigned int)dma_phy); in init_dma_chain() 124 p->des3 = cpu_to_le32((unsigned int)phy_addr); in init_dma_chain() 138 p->des3 = cpu_to_le32((unsigned int)(rx_q->dma_rx_phy + in refill_desc3() 156 p->des3 = cpu_to_le32((unsigned int)((tx_q->dma_tx_phy + in clean_desc3()
|
D | ring_mode.c | 50 desc->des3 = cpu_to_le32(des2 + BUF_SIZE_4KiB); in jumbo_frm() 70 desc->des3 = cpu_to_le32(des2 + BUF_SIZE_4KiB); in jumbo_frm() 83 desc->des3 = cpu_to_le32(des2 + BUF_SIZE_4KiB); in jumbo_frm() 111 p->des3 = cpu_to_le32(le32_to_cpu(p->des2) + BUF_SIZE_8KiB); in refill_desc3() 117 p->des3 = cpu_to_le32(le32_to_cpu(p->des2) + BUF_SIZE_8KiB); in init_desc3() 130 p->des3 = 0; in clean_desc3()
|
D | norm_desc.c | 255 ns += le32_to_cpu(p->des3) * 1000000000ULL; in ndesc_get_timestamp() 265 (le32_to_cpu(p->des3) == 0xffffffff)) in ndesc_get_rx_timestamp_status() 289 p->des2, p->des3); in ndesc_display_ring()
|
D | enh_desc.c | 397 ns += le32_to_cpu(p->des3) * 1000000000ULL; in enh_desc_get_timestamp() 412 (le32_to_cpu(p->des3) == 0xffffffff)) in enh_desc_get_rx_timestamp_status() 437 ep->basic.des2, ep->basic.des3); in enh_desc_display_ring()
|
D | descs.h | 162 __le32 des3; member
|
D | stmmac_main.c | 4415 le32_to_cpu(ep->basic.des3)); in sysfs_display_ring() 4422 le32_to_cpu(p->des2), le32_to_cpu(p->des3)); in sysfs_display_ring()
|
/kernel/linux/linux-5.10/include/linux/ |
D | ccp.h | 653 struct ccp_des3_engine des3; member
|
/kernel/linux/linux-5.10/drivers/mmc/host/ |
D | dw_mmc.c | 75 u32 des3; /* Reserved */ member 100 __le32 des3; /* buffer 2 physical address */ member 520 p->des3 = 0; in dw_mci_idmac_init() 538 p->des3 = cpu_to_le32(host->sg_dma + in dw_mci_idmac_init() 545 p->des3 = cpu_to_le32(host->sg_dma); in dw_mci_idmac_init()
|
/kernel/linux/linux-5.10/drivers/crypto/ |
D | n2_core.c | 664 u8 des3[3 * DES_KEY_SIZE]; member 787 memcpy(ctx->key.des3, key, keylen); in n2_3des_setkey()
|