Home
last modified time | relevance | path

Searched refs:des3 (Results 1 – 22 of 22) sorted by relevance

/openbmc/linux/drivers/crypto/ccp/
H A Dccp-crypto-des3.c52 ctx->u.des3.mode = alg->mode; in ccp_des3_setkey()
53 ctx->u.des3.key_len = key_len; in ccp_des3_setkey()
56 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()
90 rctx->cmd.u.des3.type = ctx->u.des3.type; in ccp_des3_crypt()
91 rctx->cmd.u.des3.mode = ctx->u.des3.mode; in ccp_des3_crypt()
95 rctx->cmd.u.des3.key = &ctx->u.des3.key_sg; in ccp_des3_crypt()
96 rctx->cmd.u.des3.key_len = ctx->u.des3.key_len; in ccp_des3_crypt()
97 rctx->cmd.u.des3.iv = iv_sg; in ccp_des3_crypt()
99 rctx->cmd.u.des3.src = req->src; in ccp_des3_crypt()
[all …]
H A Dccp-ops.c1295 struct ccp_des3_engine *des3 = &cmd->u.des3; in ccp_run_des3_cmd() local
1320 if (!des3->key || !des3->src || !des3->dst) in ccp_run_des3_cmd()
1327 if (!des3->iv) in ccp_run_des3_cmd()
1340 op.u.des3.type = des3->type; in ccp_run_des3_cmd()
1341 op.u.des3.mode = des3->mode; in ccp_run_des3_cmd()
1342 op.u.des3.action = des3->action; in ccp_run_des3_cmd()
1362 len_singlekey = des3->key_len / 3; in ccp_run_des3_cmd()
1401 des3->iv_len); in ccp_run_des3_cmd()
1418 if (sg_virt(des3->src) == sg_virt(des3->dst)) in ccp_run_des3_cmd()
1421 ret = ccp_init_data(&src, cmd_q, des3->src, des3->src_len, in ccp_run_des3_cmd()
[all …]
H A Dccp-dev-v5.c110 } 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()
1102 .des3 = ccp5_perform_des3,
H A DMakefile23 ccp-crypto-des3.o \
H A Dccp-dev.h549 struct ccp_des3_op des3; member
655 int (*des3)(struct ccp_op *); member
H A Dccp-crypto.h269 struct ccp_des3_ctx des3; member
H A Dccp-dev-v3.c570 .des3 = NULL,
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwxgmac2_descs.c14 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()
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()
140 p->des3 = 0; in dwxgmac2_init_tx_desc()
178 p->des3 = cpu_to_le32(tdes3); in dwxgmac2_prepare_tx_desc()
218 p->des3 = cpu_to_le32(tdes3); in dwxgmac2_prepare_tso_tx_desc()
226 p->des3 = 0; in dwxgmac2_release_tx_desc()
253 p->des3 = 0; in dwxgmac2_clear()
[all …]
H A Ddwmac4_descs.c23 tdes3 = le32_to_cpu(p->des3); in dwmac4_wrback_get_tx_status()
78 unsigned int rdes3 = le32_to_cpu(p->des3); in dwmac4_wrback_get_rx_status()
184 p->des3 |= cpu_to_le32(TDES3_OWN); in dwmac4_set_tx_owner()
241 unsigned int rdes3 = le32_to_cpu(p->des3); in dwmac4_rx_check_timestamp()
304 p->des3 = 0; in dwmac4_rd_init_tx_desc()
342 p->des3 = cpu_to_le32(tdes3); in dwmac4_rd_prepare_tx_desc()
385 p->des3 = cpu_to_le32(tdes3); in dwmac4_rd_prepare_tso_tx_desc()
393 p->des3 = 0; in dwmac4_release_tx_desc()
470 p->des3 = 0; in dwmac4_clear()
495 p->des3 = 0; in dwmac4_set_vlan_tag()
[all …]
H A Dring_mode.c50 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()
110 p->des3 = cpu_to_le32(le32_to_cpu(p->des2) + BUF_SIZE_8KiB); in refill_desc3()
116 p->des3 = cpu_to_le32(le32_to_cpu(p->des2) + BUF_SIZE_8KiB); in init_desc3()
128 p->des3 = 0; in clean_desc3()
H A Dchain_mode.c112 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()
137 p->des3 = cpu_to_le32((unsigned int)(rx_q->dma_rx_phy + in refill_desc3()
154 p->des3 = cpu_to_le32((unsigned int)((tx_q->dma_tx_phy + in clean_desc3()
H A Dnorm_desc.c248 ns += le32_to_cpu(p->des3) * 1000000000ULL; in ndesc_get_timestamp()
258 (le32_to_cpu(p->des3) == 0xffffffff)) in ndesc_get_rx_timestamp_status()
282 p->des2, p->des3); in ndesc_display_ring()
H A Denh_desc.c392 ns += le32_to_cpu(p->des3) * 1000000000ULL; in enh_desc_get_timestamp()
407 (le32_to_cpu(p->des3) == 0xffffffff)) in enh_desc_get_rx_timestamp_status()
432 ep->basic.des2, ep->basic.des3); in enh_desc_display_ring()
H A Ddescs.h162 __le32 des3; member
H A Dstmmac_main.c6171 le32_to_cpu(ep->basic.des3)); in sysfs_display_ring()
6178 le32_to_cpu(p->des2), le32_to_cpu(p->des3)); in sysfs_display_ring()
/openbmc/qemu/hw/net/
H A Dftgmac100.c222 uint32_t des3; member
480 bd->des3 = le32_to_cpu(bd->des3); in ftgmac100_read_bd()
491 lebd.des3 = cpu_to_le32(bd->des3); in ftgmac100_write_bd()
577 buf_addr = bd.des3; in ftgmac100_do_tx()
585 __func__, bd.des3); in ftgmac100_do_tx()
1101 buf_addr = bd.des3; in ftgmac100_receive()
H A Dtrace-events482 …* name, void* addr, uint32_t des0, uint32_t des1, uint32_t des2, uint32_t des3)"%s: Address: %p De…
/openbmc/u-boot/drivers/net/
H A Ddwc_eth_qos.c253 u32 des3; member
1075 rx_desc->des3 |= EQOS_DESC3_OWN | EQOS_DESC3_BUF1V; in eqos_start()
1205 tx_desc->des3 = EQOS_DESC3_OWN | EQOS_DESC3_FD | EQOS_DESC3_LD | length; in eqos_send()
1212 if (!(readl(&tx_desc->des3) & EQOS_DESC3_OWN)) in eqos_send()
1231 if (rx_desc->des3 & EQOS_DESC3_OWN) { in eqos_recv()
1238 length = rx_desc->des3 & 0x7fff; in eqos_recv()
1271 rx_desc->des3 |= EQOS_DESC3_OWN | EQOS_DESC3_BUF1V; in eqos_free_pkt()
/openbmc/linux/include/linux/
H A Dccp.h654 struct ccp_des3_engine des3; member
/openbmc/openbmc-test-automation/docs/
H A Dcertificate_generate.md17 `openssl genrsa -des3 -out rootCA.key 2048`
/openbmc/linux/drivers/mmc/host/
H A Ddw_mmc.c77 u32 des3; /* Reserved */ member
102 __le32 des3; /* buffer 2 physical address */ member
525 p->des3 = 0; in dw_mci_idmac_init()
543 p->des3 = cpu_to_le32(host->sg_dma + in dw_mci_idmac_init()
550 p->des3 = cpu_to_le32(host->sg_dma); in dw_mci_idmac_init()
/openbmc/linux/drivers/crypto/
H A Dn2_core.c666 u8 des3[3 * DES_KEY_SIZE]; member
789 memcpy(ctx->key.des3, key, keylen); in n2_3des_setkey()