/trusted-firmware-a-3.7.0/plat/arm/board/fvp/ |
D | fvp_trusted_boot.c | 32 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 35 return arm_get_rotpk_info(cookie, key_ptr, key_len, flags); in plat_get_rotpk_info() 44 static int plat_get_nv_ctr_addr(void *cookie, uintptr_t *nv_ctr_addr) in plat_get_nv_ctr_addr() argument 46 const char *oid = (const char *)cookie; in plat_get_nv_ctr_addr() 73 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument 78 assert(cookie != NULL); in plat_set_nv_ctr() 80 rc = plat_get_nv_ctr_addr(cookie, &nv_ctr_addr); in plat_set_nv_ctr() 100 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr) in plat_get_nv_ctr() argument 105 assert(cookie != NULL); in plat_get_nv_ctr() 108 rc = plat_get_nv_ctr_addr(cookie, &nv_ctr_addr); in plat_get_nv_ctr()
|
/trusted-firmware-a-3.7.0/plat/nxp/common/tbbr/ |
D | x509_tbbr.c | 22 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 32 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr) in plat_get_nv_ctr() argument 38 assert(cookie != NULL); in plat_get_nv_ctr() 41 oid = (const char *)cookie; in plat_get_nv_ctr() 64 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument 69 assert(cookie != NULL); in plat_set_nv_ctr() 76 oid = (const char *)cookie; in plat_set_nv_ctr()
|
D | csf_tbbr.c | 28 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 67 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr) in plat_get_nv_ctr() argument 78 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument
|
/trusted-firmware-a-3.7.0/plat/arm/board/fvp_r/ |
D | fvp_r_trusted_boot.c | 34 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 37 return arm_get_rotpk_info(cookie, key_ptr, key_len, flags); in plat_get_rotpk_info() 48 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument 53 assert(cookie != NULL); in plat_set_nv_ctr() 55 oid = (const char *)cookie; in plat_set_nv_ctr()
|
/trusted-firmware-a-3.7.0/plat/arm/board/morello/ |
D | morello_trusted_boot.c | 17 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr) in plat_get_nv_ctr() argument 32 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument 50 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 53 return arm_get_rotpk_info(cookie, key_ptr, key_len, flags); in plat_get_rotpk_info()
|
/trusted-firmware-a-3.7.0/plat/arm/board/n1sdp/ |
D | n1sdp_trusted_boot.c | 17 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr) in plat_get_nv_ctr() argument 31 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument 49 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 52 return arm_get_rotpk_info(cookie, key_ptr, key_len, flags); in plat_get_rotpk_info()
|
/trusted-firmware-a-3.7.0/plat/arm/board/corstone1000/common/ |
D | corstone1000_trusted_boot.c | 28 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 31 return arm_get_rotpk_info(cookie, key_ptr, key_len, flags); in plat_get_rotpk_info() 39 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr) in plat_get_nv_ctr() argument 50 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument
|
/trusted-firmware-a-3.7.0/plat/arm/board/common/ |
D | board_arm_trusted_boot.c | 134 int arm_get_rotpk_info(void *cookie __unused, void **key_ptr, in arm_get_rotpk_info() 142 int arm_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in arm_get_rotpk_info() argument 151 if (cookie == NULL) { in arm_get_rotpk_info() 153 } else if (strcmp(cookie, PROT_PK_OID) == 0) { in arm_get_rotpk_info() 168 int arm_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in arm_get_rotpk_info() argument 177 if (cookie == NULL) { in arm_get_rotpk_info() 179 } else if (strcmp(cookie, PROT_PK_OID) == 0) { in arm_get_rotpk_info() 186 } else if (strcmp(cookie, SWD_ROT_PK_OID) == 0) { in arm_get_rotpk_info() 207 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr) in plat_get_nv_ctr() argument 212 assert(cookie != NULL); in plat_get_nv_ctr() [all …]
|
/trusted-firmware-a-3.7.0/plat/common/tbbr/ |
D | plat_tbbr.c | 29 int plat_set_nv_ctr2(void *cookie, const auth_img_desc_t *img_desc, in plat_set_nv_ctr2() argument 34 assert(cookie != NULL); in plat_set_nv_ctr2() 37 trusted_nv_ctr = strcmp(cookie, TRUSTED_FW_NVCOUNTER_OID) == 0; in plat_set_nv_ctr2() 45 return plat_set_nv_ctr(cookie, nv_ctr); in plat_set_nv_ctr2()
|
/trusted-firmware-a-3.7.0/services/std_svc/ |
D | std_svc_setup.c | 101 void *cookie, in std_svc_smc_handler() argument 134 cookie, handle, flags); in std_svc_smc_handler() 151 return spm_mm_smc_handler(smc_fid, x1, x2, x3, x4, cookie, in std_svc_smc_handler() 162 return spmd_ffa_smc_handler(smc_fid, x1, x2, x3, x4, cookie, in std_svc_smc_handler() 169 return sdei_smc_handler(smc_fid, x1, x2, x3, x4, cookie, handle, in std_svc_smc_handler() 176 return trng_smc_handler(smc_fid, x1, x2, x3, x4, cookie, handle, in std_svc_smc_handler() 183 return errata_abi_smc_handler(smc_fid, x1, x2, x3, x4, cookie, in std_svc_smc_handler() 191 return rmmd_rmm_el3_handler(smc_fid, x1, x2, x3, x4, cookie, in std_svc_smc_handler() 196 return rmmd_rmi_handler(smc_fid, x1, x2, x3, x4, cookie, in std_svc_smc_handler() 203 return pci_smc_handler(smc_fid, x1, x2, x3, x4, cookie, handle, in std_svc_smc_handler() [all …]
|
/trusted-firmware-a-3.7.0/plat/qemu/common/ |
D | qemu_trusted_boot.c | 11 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 21 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr) in plat_get_nv_ctr() argument 28 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument
|
/trusted-firmware-a-3.7.0/services/std_svc/spm/el3_spmc/ |
D | spmc_shared_mem.h | 60 void *cookie, 70 void *cookie, 80 void *cookie, 90 void *cookie, 101 void *cookie, 111 void *cookie,
|
/trusted-firmware-a-3.7.0/plat/rpi/common/ |
D | rpi3_trusted_boot.c | 11 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 21 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr) in plat_get_nv_ctr() argument 28 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument
|
/trusted-firmware-a-3.7.0/plat/imx/imx7/common/ |
D | imx7_trusted_boot.c | 11 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 21 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr) in plat_get_nv_ctr() argument 28 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument
|
/trusted-firmware-a-3.7.0/plat/imx/imx8m/imx8mm/ |
D | imx8mm_trusted_boot.c | 11 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 21 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr) in plat_get_nv_ctr() argument 28 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument
|
/trusted-firmware-a-3.7.0/plat/imx/imx8m/imx8mp/ |
D | imx8mp_trusted_boot.c | 11 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 21 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr) in plat_get_nv_ctr() argument 28 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument
|
/trusted-firmware-a-3.7.0/plat/socionext/uniphier/ |
D | uniphier_tbbr.c | 11 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 21 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr) in plat_get_nv_ctr() argument 32 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument
|
/trusted-firmware-a-3.7.0/plat/socionext/synquacer/ |
D | sq_tbbr.c | 11 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 21 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr) in plat_get_nv_ctr() argument 32 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument
|
/trusted-firmware-a-3.7.0/plat/hisilicon/hikey960/ |
D | hikey960_tbbr.c | 11 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 21 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr) in plat_get_nv_ctr() argument 28 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument
|
/trusted-firmware-a-3.7.0/plat/hisilicon/hikey/ |
D | hikey_tbbr.c | 11 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 21 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr) in plat_get_nv_ctr() argument 28 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument
|
/trusted-firmware-a-3.7.0/plat/arm/common/ |
D | arm_sip_svc.c | 56 void *cookie, in arm_sip_handler() argument 69 return pmf_smc_handler(smc_fid, x1, x2, x3, x4, cookie, in arm_sip_handler() 78 return debugfs_smc_handler(smc_fid, x1, x2, x3, x4, cookie, in arm_sip_handler() 87 return ethosn_smc_handler(smc_fid, x1, x2, x3, x4, cookie, in arm_sip_handler() 145 cookie, handle, flags); in arm_sip_handler()
|
/trusted-firmware-a-3.7.0/plat/st/common/ |
D | stm32mp_trusted_boot.c | 85 static int get_rotpk_hash(void *cookie, uint8_t *hash, size_t len) in get_rotpk_hash() argument 87 if (cookie != NULL) { in get_rotpk_hash() 94 static int get_rotpk_hash(void *cookie, uint8_t *hash, size_t len) in get_rotpk_hash() argument 105 if (cookie != NULL) { in get_rotpk_hash() 147 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 156 res = get_rotpk_hash(cookie, root_pk_hash + start_copy_idx, in plat_get_rotpk_info() 173 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr) in plat_get_nv_ctr() argument 182 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument
|
/trusted-firmware-a-3.7.0/plat/mediatek/common/ |
D | mtk_sip_svc.c | 30 void *cookie, in mediatek_plat_sip_handler() argument 45 void *cookie, in mediatek_sip_handler() argument 84 cookie, handle, flags); in mediatek_sip_handler() 96 void *cookie, in sip_smc_handler() argument 117 cookie, handle, flags); in sip_smc_handler()
|
/trusted-firmware-a-3.7.0/lib/extensions/ras/ |
D | ras_common.c | 64 int ras_ea_handler(unsigned int ea_reason, uint64_t syndrome, void *cookie, in ras_ea_handler() argument 77 .cookie = cookie, in ras_ea_handler() 124 void *handle, void *cookie) in ras_interrupt_handler() argument 135 .cookie = cookie, in ras_interrupt_handler()
|
/trusted-firmware-a-3.7.0/plat/arm/board/rdn2/ |
D | rdn2_trusted_boot.c | 22 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 25 return arm_get_rotpk_info(cookie, key_ptr, key_len, flags); in plat_get_rotpk_info()
|