Home
last modified time | relevance | path

Searched full:pdb (Results 1 – 25 of 63) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/crypto/caam/
Dpkc_desc.c14 void init_rsa_pub_desc(u32 *desc, struct rsa_pub_pdb *pdb) in init_rsa_pub_desc() argument
17 append_cmd(desc, pdb->sgf); in init_rsa_pub_desc()
18 append_ptr(desc, pdb->f_dma); in init_rsa_pub_desc()
19 append_ptr(desc, pdb->g_dma); in init_rsa_pub_desc()
20 append_ptr(desc, pdb->n_dma); in init_rsa_pub_desc()
21 append_ptr(desc, pdb->e_dma); in init_rsa_pub_desc()
22 append_cmd(desc, pdb->f_len); in init_rsa_pub_desc()
27 void init_rsa_priv_f1_desc(u32 *desc, struct rsa_priv_f1_pdb *pdb) in init_rsa_priv_f1_desc() argument
30 append_cmd(desc, pdb->sgf); in init_rsa_priv_f1_desc()
31 append_ptr(desc, pdb->g_dma); in init_rsa_priv_f1_desc()
[all …]
Dcaampkc.c62 struct rsa_pub_pdb *pdb = &edesc->pdb.pub; in rsa_pub_unmap() local
64 dma_unmap_single(dev, pdb->n_dma, key->n_sz, DMA_TO_DEVICE); in rsa_pub_unmap()
65 dma_unmap_single(dev, pdb->e_dma, key->e_sz, DMA_TO_DEVICE); in rsa_pub_unmap()
74 struct rsa_priv_f1_pdb *pdb = &edesc->pdb.priv_f1; in rsa_priv_f1_unmap() local
76 dma_unmap_single(dev, pdb->n_dma, key->n_sz, DMA_TO_DEVICE); in rsa_priv_f1_unmap()
77 dma_unmap_single(dev, pdb->d_dma, key->d_sz, DMA_TO_DEVICE); in rsa_priv_f1_unmap()
86 struct rsa_priv_f2_pdb *pdb = &edesc->pdb.priv_f2; in rsa_priv_f2_unmap() local
90 dma_unmap_single(dev, pdb->d_dma, key->d_sz, DMA_TO_DEVICE); in rsa_priv_f2_unmap()
91 dma_unmap_single(dev, pdb->p_dma, p_sz, DMA_TO_DEVICE); in rsa_priv_f2_unmap()
92 dma_unmap_single(dev, pdb->q_dma, q_sz, DMA_TO_DEVICE); in rsa_priv_f2_unmap()
[all …]
Dpdb.h3 * CAAM Protocol Data Block (PDB) definition header file
14 * PDB- IPSec ESP Header Modification Options
33 * the PDB, copy the DF bit from the inner IP header to the outer IP header.
47 * PDB - IPSec ESP Encap/Decap Options
57 #define PDBOPTS_ESP_IPHDRSRC 0x08 /* IP header comes from PDB (encap) */
68 * General IPSec encap/decap PDB definitions
72 * ipsec_encap_cbc - PDB part for IPsec CBC encapsulation
80 * ipsec_encap_ctr - PDB part for IPsec CTR encapsulation
92 * ipsec_encap_ccm - PDB part for IPsec CCM encapsulation
108 * ipsec_encap_gcm - PDB part for IPsec GCM encapsulation
[all …]
Dcaampkc.h14 #include "pdb.h"
131 * @pdb : specific RSA Protocol Data Block (PDB)
148 } pdb; member
153 void init_rsa_pub_desc(u32 *desc, struct rsa_pub_pdb *pdb);
154 void init_rsa_priv_f1_desc(u32 *desc, struct rsa_priv_f1_pdb *pdb);
155 void init_rsa_priv_f2_desc(u32 *desc, struct rsa_priv_f2_pdb *pdb);
156 void init_rsa_priv_f3_desc(u32 *desc, struct rsa_priv_f3_pdb *pdb);
Derror.c103 { 0x82, "invalid setting in PDB" },
110 …l has seen an error in size. When running RSA, pdb size N < (size of F) when no formatting is used…
/kernel/linux/linux-6.6/drivers/crypto/caam/
Dpkc_desc.c14 void init_rsa_pub_desc(u32 *desc, struct rsa_pub_pdb *pdb) in init_rsa_pub_desc() argument
17 append_cmd(desc, pdb->sgf); in init_rsa_pub_desc()
18 append_ptr(desc, pdb->f_dma); in init_rsa_pub_desc()
19 append_ptr(desc, pdb->g_dma); in init_rsa_pub_desc()
20 append_ptr(desc, pdb->n_dma); in init_rsa_pub_desc()
21 append_ptr(desc, pdb->e_dma); in init_rsa_pub_desc()
22 append_cmd(desc, pdb->f_len); in init_rsa_pub_desc()
27 void init_rsa_priv_f1_desc(u32 *desc, struct rsa_priv_f1_pdb *pdb) in init_rsa_priv_f1_desc() argument
30 append_cmd(desc, pdb->sgf); in init_rsa_priv_f1_desc()
31 append_ptr(desc, pdb->g_dma); in init_rsa_priv_f1_desc()
[all …]
Dcaampkc.c68 struct rsa_pub_pdb *pdb = &edesc->pdb.pub; in rsa_pub_unmap() local
70 dma_unmap_single(dev, pdb->n_dma, key->n_sz, DMA_TO_DEVICE); in rsa_pub_unmap()
71 dma_unmap_single(dev, pdb->e_dma, key->e_sz, DMA_TO_DEVICE); in rsa_pub_unmap()
80 struct rsa_priv_f1_pdb *pdb = &edesc->pdb.priv_f1; in rsa_priv_f1_unmap() local
82 dma_unmap_single(dev, pdb->n_dma, key->n_sz, DMA_TO_DEVICE); in rsa_priv_f1_unmap()
83 dma_unmap_single(dev, pdb->d_dma, key->d_sz, DMA_TO_DEVICE); in rsa_priv_f1_unmap()
92 struct rsa_priv_f2_pdb *pdb = &edesc->pdb.priv_f2; in rsa_priv_f2_unmap() local
96 dma_unmap_single(dev, pdb->d_dma, key->d_sz, DMA_TO_DEVICE); in rsa_priv_f2_unmap()
97 dma_unmap_single(dev, pdb->p_dma, p_sz, DMA_TO_DEVICE); in rsa_priv_f2_unmap()
98 dma_unmap_single(dev, pdb->q_dma, q_sz, DMA_TO_DEVICE); in rsa_priv_f2_unmap()
[all …]
Dpdb.h3 * CAAM Protocol Data Block (PDB) definition header file
14 * PDB- IPSec ESP Header Modification Options
33 * the PDB, copy the DF bit from the inner IP header to the outer IP header.
47 * PDB - IPSec ESP Encap/Decap Options
57 #define PDBOPTS_ESP_IPHDRSRC 0x08 /* IP header comes from PDB (encap) */
68 * General IPSec encap/decap PDB definitions
72 * ipsec_encap_cbc - PDB part for IPsec CBC encapsulation
80 * ipsec_encap_ctr - PDB part for IPsec CTR encapsulation
92 * ipsec_encap_ccm - PDB part for IPsec CCM encapsulation
108 * ipsec_encap_gcm - PDB part for IPsec GCM encapsulation
[all …]
Dcaampkc.h14 #include "pdb.h"
128 * @pdb : specific RSA Protocol Data Block (PDB)
145 } pdb; member
150 void init_rsa_pub_desc(u32 *desc, struct rsa_pub_pdb *pdb);
151 void init_rsa_priv_f1_desc(u32 *desc, struct rsa_priv_f1_pdb *pdb);
152 void init_rsa_priv_f2_desc(u32 *desc, struct rsa_priv_f2_pdb *pdb);
153 void init_rsa_priv_f3_desc(u32 *desc, struct rsa_priv_f3_pdb *pdb);
Derror.c103 { 0x82, "invalid setting in PDB" },
110 …l has seen an error in size. When running RSA, pdb size N < (size of F) when no formatting is used…
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/
Dau1000_eth.c565 struct db_dest *pDB; in au1000_GetFreeDB() local
566 pDB = aup->pDBfree; in au1000_GetFreeDB()
568 if (pDB) in au1000_GetFreeDB()
569 aup->pDBfree = pDB->pnext; in au1000_GetFreeDB()
571 return pDB; in au1000_GetFreeDB()
574 void au1000_ReleaseDB(struct au1000_private *aup, struct db_dest *pDB) in au1000_ReleaseDB() argument
578 pDBfree->pnext = pDB; in au1000_ReleaseDB()
579 aup->pDBfree = pDB; in au1000_ReleaseDB()
772 struct db_dest *pDB; in au1000_rx() local
781 pDB = aup->rx_db_inuse[aup->rx_head]; in au1000_rx()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/amd/
Dau1000_eth.c565 struct db_dest *pDB; in au1000_GetFreeDB() local
566 pDB = aup->pDBfree; in au1000_GetFreeDB()
568 if (pDB) in au1000_GetFreeDB()
569 aup->pDBfree = pDB->pnext; in au1000_GetFreeDB()
571 return pDB; in au1000_GetFreeDB()
574 void au1000_ReleaseDB(struct au1000_private *aup, struct db_dest *pDB) in au1000_ReleaseDB() argument
578 pDBfree->pnext = pDB; in au1000_ReleaseDB()
579 aup->pDBfree = pDB; in au1000_ReleaseDB()
772 struct db_dest *pDB; in au1000_rx() local
781 pDB = aup->rx_db_inuse[aup->rx_head]; in au1000_rx()
[all …]
/kernel/linux/linux-6.6/security/apparmor/
Dpolicy_unpack.c1214 static bool verify_perms(struct aa_policydb *pdb) in verify_perms() argument
1218 for (i = 0; i < pdb->size; i++) { in verify_perms()
1219 if (!verify_perm(&pdb->perms[i])) in verify_perms()
1222 if ((pdb->perms[i].xindex & AA_X_TYPE_MASK) == AA_X_TABLE && in verify_perms()
1223 (pdb->perms[i].xindex & AA_X_INDEX_MASK) >= pdb->trans.size) in verify_perms()
1225 if (pdb->perms[i].tag && pdb->perms[i].tag >= pdb->trans.size) in verify_perms()
1227 if (pdb->perms[i].label && in verify_perms()
1228 pdb->perms[i].label >= pdb->trans.size) in verify_perms()
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dhighmem.h9 * Gerhard.Wichert@pdb.siemens.de
/kernel/linux/linux-5.10/arch/sparc/include/asm/
Dhighmem.h9 * Gerhard.Wichert@pdb.siemens.de
/kernel/linux/linux-6.6/arch/mips/include/asm/
Dhighmem.h9 * Gerhard.Wichert@pdb.siemens.de
/kernel/linux/linux-5.10/arch/microblaze/include/asm/
Dhighmem.h9 * Gerhard.Wichert@pdb.siemens.de
/kernel/linux/linux-6.6/arch/sparc/include/asm/
Dhighmem.h9 * Gerhard.Wichert@pdb.siemens.de
/kernel/linux/linux-5.10/arch/powerpc/mm/
Dhighmem.c11 * Gerhard.Wichert@pdb.siemens.de
/kernel/linux/linux-6.6/arch/microblaze/include/asm/
Dhighmem.h9 * Gerhard.Wichert@pdb.siemens.de
/kernel/linux/linux-6.6/arch/x86/include/asm/
Dhighmem.h9 * Gerhard.Wichert@pdb.siemens.de
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dhighmem.h11 * Gerhard.Wichert@pdb.siemens.de
/kernel/linux/linux-5.10/arch/microblaze/mm/
Dhighmem.c11 * Gerhard.Wichert@pdb.siemens.de
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dhighmem.h9 * Gerhard.Wichert@pdb.siemens.de
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vm_sdma.c158 * @pe: byte offset of the PDE/PTE, relative to start of PDB/PTB
190 * @pe: byte offset of the PDE/PTE, relative to start of PDB/PTB

123