Home
last modified time | relevance | path

Searched refs:p (Results 1 – 25 of 106) sorted by relevance

12345

/trusted-firmware-a/drivers/auth/mbedtls/
A Dmbedtls_x509_parser.c85 p = v3_ext.p; in get_ext()
102 extn_oid.p = p; in get_ext()
174 tbs.p = p; in cert_parse()
206 sig_alg1.p = p; in cert_parse()
215 sig_alg1.len = (p + len) - sig_alg1.p; in cert_parse()
254 pk.p = p; in cert_parse()
260 pk.len = (p + len) - pk.p; in cert_parse()
304 v3_ext.p = p; in cert_parse()
310 v3_ext.len = (p + len) - v3_ext.p; in cert_parse()
357 sig_alg2.p = p; in cert_parse()
[all …]
A Dmbedtls_crypto.c72 unsigned char *p, *end; in verify_signature() local
76 p = (unsigned char *)sig_alg; in verify_signature()
91 p = (unsigned char *)pk_ptr; in verify_signature()
100 p = (unsigned char *)sig_ptr; in verify_signature()
102 signature.tag = *p; in verify_signature()
108 signature.p = p; in verify_signature()
116 p = (unsigned char *)data_ptr; in verify_signature()
126 signature.p, signature.len); in verify_signature()
154 unsigned char *p, *end, *hash; in verify_hash() local
161 end = p + digest_info_len; in verify_hash()
[all …]
/trusted-firmware-a/plat/rockchip/common/drivers/parameter/
A Dddr_parameter.c57 memset(&p, 0, sizeof(p)); in ddr_region_usage_parse()
64 return p; in ddr_region_usage_parse()
107 p.s_base[p.s_nr] = 0; in ddr_region_usage_parse()
108 p.s_top[p.s_nr] = p.ns_base[0]; in ddr_region_usage_parse()
109 p.s_nr++; in ddr_region_usage_parse()
120 if (p.ns_top[i] == p.boundary) in ddr_region_usage_parse()
124 p.s_base[p.s_nr] = p.ns_top[i]; in ddr_region_usage_parse()
128 p.s_top[p.s_nr] = p.ns_base[i + 1]; in ddr_region_usage_parse()
130 p.s_top[p.s_nr] = p.boundary; in ddr_region_usage_parse()
131 p.s_nr++; in ddr_region_usage_parse()
[all …]
/trusted-firmware-a/include/lib/libc/
A Dendian.h90 return ((p[0] << 8) | p[1]); in be16dec()
98 return (((unsigned)p[0] << 24) | (p[1] << 16) | (p[2] << 8) | p[3]); in be32dec()
106 return (((uint64_t)be32dec(p) << 32) | be32dec(p + 4)); in be64dec()
114 return ((p[1] << 8) | p[0]); in le16dec()
122 return (((unsigned)p[3] << 24) | (p[2] << 16) | (p[1] << 8) | p[0]); in le32dec()
130 return (((uint64_t)le32dec(p + 4) << 32) | le32dec(p)); in le64dec()
138 p[0] = (u >> 8) & 0xff; in be16enc()
139 p[1] = u & 0xff; in be16enc()
150 p[3] = u & 0xff; in be32enc()
167 p[0] = u & 0xff; in le16enc()
[all …]
/trusted-firmware-a/drivers/auth/cryptocell/713/
A Dcryptocell_crypto.c89 uint8_t *p, *end; in verify_signature() local
97 p = sig_alg; in verify_signature()
129 p = pk_ptr; in verify_signature()
130 end = p + pk_len; in verify_signature()
136 end = p + len; in verify_signature()
161 if (*p == 0) { in verify_signature()
162 p++; len--; in verify_signature()
173 p += len; in verify_signature()
182 p = sig_ptr; in verify_signature()
183 end = p + sig_len; in verify_signature()
[all …]
/trusted-firmware-a/drivers/auth/cryptocell/712/
A Dcryptocell_crypto.c104 uint8_t *p, *end; in verify_signature() local
110 p = sig_alg; in verify_signature()
141 p = pk_ptr; in verify_signature()
142 end = p + pk_len; in verify_signature()
148 end = p + len; in verify_signature()
172 if (*p == 0) { in verify_signature()
173 p++; len--; in verify_signature()
185 p += len; in verify_signature()
205 p = sig_ptr; in verify_signature()
206 end = p + sig_len; in verify_signature()
[all …]
/trusted-firmware-a/lib/bl_aux_params/
A Dbl_aux_params.c16 struct bl_aux_param_header *p; in bl_aux_params_parse() local
18 for (p = (void *)head; p; p = (void *)(uintptr_t)p->next) { in bl_aux_params_parse()
19 if (handler && handler(p)) in bl_aux_params_parse()
22 switch (p->type) { in bl_aux_params_parse()
26 ((struct bl_aux_param_uint64 *)p)->value); in bl_aux_params_parse()
31 p->type); in bl_aux_params_parse()
/trusted-firmware-a/plat/arm/common/
A Darm_tzc_dmc500.c25 const arm_tzc_regions_info_t *p; in arm_tzc_dmc500_setup() local
40 p = init_tzc_regions; in arm_tzc_dmc500_setup()
42 p = tzc_regions; in arm_tzc_dmc500_setup()
48 for (; p->base != 0ULL; p++) { in arm_tzc_dmc500_setup()
49 tzc_dmc500_configure_region(region_index, p->base, p->end, in arm_tzc_dmc500_setup()
50 p->sec_attr, p->nsaid_permissions); in arm_tzc_dmc500_setup()
A Darm_tzc400.c27 const arm_tzc_regions_info_t *p; in arm_tzc400_setup() local
43 p = init_tzc_regions; in arm_tzc400_setup()
45 p = tzc_regions; in arm_tzc400_setup()
51 for (; p->base != 0ULL; p++) { in arm_tzc400_setup()
53 p->base, p->end, p->sec_attr, p->nsaid_permissions); in arm_tzc400_setup()
/trusted-firmware-a/plat/allwinner/sun50i_a64/include/
A Dsunxi_spc.h12 #define SUNXI_SPC_DECPORT_STA_REG(p) (SUNXI_SPC_BASE + 0x0004 + 0x0c * (p)) argument
13 #define SUNXI_SPC_DECPORT_SET_REG(p) (SUNXI_SPC_BASE + 0x0008 + 0x0c * (p)) argument
14 #define SUNXI_SPC_DECPORT_CLR_REG(p) (SUNXI_SPC_BASE + 0x000c + 0x0c * (p)) argument
/trusted-firmware-a/plat/allwinner/sun50i_h6/include/
A Dsunxi_spc.h12 #define SUNXI_SPC_DECPORT_STA_REG(p) (SUNXI_SPC_BASE + 0x0000 + 0x10 * (p)) argument
13 #define SUNXI_SPC_DECPORT_SET_REG(p) (SUNXI_SPC_BASE + 0x0004 + 0x10 * (p)) argument
14 #define SUNXI_SPC_DECPORT_CLR_REG(p) (SUNXI_SPC_BASE + 0x0008 + 0x10 * (p)) argument
/trusted-firmware-a/plat/allwinner/sun50i_h616/include/
A Dsunxi_spc.h12 #define SUNXI_SPC_DECPORT_STA_REG(p) (SUNXI_SPC_BASE + 0x0000 + 0x10 * (p)) argument
13 #define SUNXI_SPC_DECPORT_SET_REG(p) (SUNXI_SPC_BASE + 0x0004 + 0x10 * (p)) argument
14 #define SUNXI_SPC_DECPORT_CLR_REG(p) (SUNXI_SPC_BASE + 0x0008 + 0x10 * (p)) argument
/trusted-firmware-a/plat/allwinner/sun50i_r329/include/
A Dsunxi_spc.h13 #define SUNXI_SPC_DECPORT_STA_REG(p) (SUNXI_SPC_BASE + 0x0000 + 0x10 * (p)) argument
14 #define SUNXI_SPC_DECPORT_SET_REG(p) (SUNXI_SPC_BASE + 0x0004 + 0x10 * (p)) argument
15 #define SUNXI_SPC_DECPORT_CLR_REG(p) (SUNXI_SPC_BASE + 0x0008 + 0x10 * (p)) argument
/trusted-firmware-a/docs/build/latex/
A Dtrustedfirmware-a.out78 …76\377\000R\000o\000c\000k\000C\000h\000i\000p\000\040\000p\000l\000a\000t\000f\000o\000r\000m\000…
250 …[4][-]{paragraph*.197}{\376\377\000p\000l\000a\000t\000\137\000p\000s\000c\000i\000\137\000o\000p\…
251 …RK [4][-]{paragraph*.198}{\376\377\000p\000l\000a\000t\000\137\000p\000s\000c\000i\000\137\000o\00…
252 …RK [4][-]{paragraph*.199}{\376\377\000p\000l\000a\000t\000\137\000p\000s\000c\000i\000\137\000o\00…
253p\000l\000a\000t\000\137\000p\000s\000c\000i\000\137\000o\000p\000s\000.\000p\000w\000r\000\137\00…
254p\000l\000a\000t\000\137\000p\000s\000c\000i\000\137\000o\000p\000s\000.\000p\000w\000r\000\137\00…
255 …377\000p\000l\000a\000t\000\137\000p\000s\000c\000i\000\137\000o\000p\000s\000.\000p\000w\000r\000…
258p\000l\000a\000t\000\137\000p\000s\000c\000i\000\137\000o\000p\000s\000.\000p\000w\000r\000\137\00…
263p\000l\000a\000t\000\137\000p\000s\000c\000i\000\137\000o\000p\000s\000.\000g\000e\000t\000\137\00…
270 …ragraph*.217}{\376\377\000p\000l\000a\000t\000\137\000p\000s\000c\000i\000\137\000o\000p\000s\000.…
[all …]
/trusted-firmware-a/lib/libfdt/
A Dfdt_ro.c111 return p && (slen == len) && (memcmp(p, s, len) == 0); in fdt_string_eq_()
265 p = fdt_get_alias_namelen(fdt, p, q - p); in fdt_path_offset_namelen()
266 if (!p) in fdt_path_offset_namelen()
270 p = q; in fdt_path_offset_namelen()
277 p++; in fdt_path_offset_namelen()
281 q = memchr(p, '/', end - p); in fdt_path_offset_namelen()
285 offset = fdt_subnode_offset_namelen(fdt, offset, p, q-p); in fdt_path_offset_namelen()
289 p = q; in fdt_path_offset_namelen()
558 p--; in fdt_get_path()
580 p--; in fdt_get_path()
[all …]
A Dfdt_rw.c56 char *p = splicepoint; in fdt_splice_() local
58 size_t soff = p - (char *)fdt; in fdt_splice_()
66 memmove(p + newlen, p + oldlen, ((char *)fdt + dsize) - (p + oldlen)); in fdt_splice_()
73 int delta = (newn - oldn) * sizeof(*p); in fdt_splice_mem_rsv_()
75 err = fdt_splice_(fdt, p, oldn * sizeof(*p), newn * sizeof(*p)); in fdt_splice_mem_rsv_()
83 static int fdt_splice_struct_(void *fdt, void *p, in fdt_splice_struct_() argument
107 void *p = (char *)fdt in fdt_splice_string_() local
111 if ((err = fdt_splice_(fdt, p, 0, newlen))) in fdt_splice_string_()
130 const char *p; in fdt_find_add_string_() local
139 if (p) in fdt_find_add_string_()
[all …]
A Dfdt.c162 const char *p; in fdt_next_tag() local
176 p = fdt_offset_ptr(fdt, offset++, 1); in fdt_next_tag()
177 } while (p && (*p != '\0')); in fdt_next_tag()
178 if (!can_assume(VALID_DTB) && !p) in fdt_next_tag()
307 const char *p; in fdt_find_string_() local
309 for (p = strtab; p <= last; p++) in fdt_find_string_()
310 if (memcmp(p, s, len) == 0) in fdt_find_string_()
311 return p; in fdt_find_string_()
A Dfdt_wip.c53 fdt32_t *p; in fdt_nop_region_() local
55 for (p = start; (char *)p < ((char *)start + len); p++) in fdt_nop_region_()
56 *p = cpu_to_fdt32(FDT_NOP); in fdt_nop_region_()
/trusted-firmware-a/lib/libc/
A Dstrchr.c41 strchr(const char *p, int ch) in strchr() argument
46 for (;; ++p) { in strchr()
47 if (*p == c) in strchr()
48 return ((char *)p); in strchr()
49 if (*p == '\0') in strchr()
A Dstrrchr.c36 strrchr(const char *p, int ch) in strrchr() argument
42 for (save = NULL;; ++p) { in strrchr()
43 if (*p == c) in strrchr()
44 save = (char *)p; in strrchr()
45 if (*p == '\0') in strrchr()
/trusted-firmware-a/plat/socionext/uniphier/
A Duniphier_scp.c73 uint8_t *p = packet; in uniphier_scp_send_cmd() local
77 *p++ = UNIPHIER_SCP_PACKET_START; in uniphier_scp_send_cmd()
78 *p++ = cmd_len; in uniphier_scp_send_cmd()
83 *p++ = UNIPHIER_SCP_PACKET_ESC; in uniphier_scp_send_cmd()
84 *p++ = c ^ BIT(7); in uniphier_scp_send_cmd()
86 *p++ = c; in uniphier_scp_send_cmd()
90 *p++ = UNIPHIER_SCP_PACKET_END; in uniphier_scp_send_cmd()
92 uniphier_scp_send_packet(packet, p - packet); in uniphier_scp_send_cmd()
/trusted-firmware-a/lib/aarch32/
A Darm32_aeabi_divmod.c59 static void division_qr(unsigned int n, unsigned int p, struct qr *qr) in division_qr() argument
63 if (p == 0) { in division_qr()
68 while ((p >> 31) == 0) { in division_qr()
70 p = p << 1; /* increase p until it has maximum size*/ in division_qr()
75 if (n >= p) { in division_qr()
76 n -= p; in division_qr()
79 p = p >> 1; /* decrease p */ in division_qr()
/trusted-firmware-a/tools/cert_create/src/
A Dext.c187 unsigned char *p = NULL; in ext_new_hash() local
212 sz = i2d_HASH(hash, &p); in ext_new_hash()
213 if ((sz <= 0) || (p == NULL)) { in ext_new_hash()
219 ex = ext_new(nid, crit, p, sz); in ext_new_hash()
222 OPENSSL_free(p); in ext_new_hash()
244 unsigned char *p = NULL; in ext_new_nvcounter() local
253 ex = ext_new(nid, crit, p, sz); in ext_new_nvcounter()
256 OPENSSL_free(p); in ext_new_nvcounter()
280 unsigned char *p; in ext_new_key() local
290 sz = BIO_read(mem, p, 4096); in ext_new_key()
[all …]
/trusted-firmware-a/include/drivers/arm/css/
A Dscmi.h148 int scmi_proto_msg_attr(void *p, uint32_t proto_id, uint32_t command_id,
150 int scmi_proto_version(void *p, uint32_t proto_id, uint32_t *version);
156 int scmi_pwr_state_set(void *p, uint32_t domain_id, uint32_t scmi_pwr_state);
157 int scmi_pwr_state_get(void *p, uint32_t domain_id, uint32_t *scmi_pwr_state);
163 int scmi_sys_pwr_state_set(void *p, uint32_t flags, uint32_t system_state);
164 int scmi_sys_pwr_state_get(void *p, uint32_t *system_state);
167 int scmi_ap_core_set_reset_addr(void *p, uint64_t reset_addr, uint32_t attr);
168 int scmi_ap_core_get_reset_addr(void *p, uint64_t *reset_addr, uint32_t *attr);
/trusted-firmware-a/lib/gpt_rme/
A Dgpt_rme.c67 gpt_p_val_e p; member
376 GPT_PGS_ACTUAL_SIZE(gpt_config.p))) { in gpt_validate_l1_params()
513 i <= GPT_L1_IDX(gpt_config.p, last); i++) { in gpt_fill_l1_tbl()
515 if (i == GPT_L1_IDX(gpt_config.p, last)) { in gpt_fill_l1_tbl()
545 (GPT_L1_TABLE_SIZE(gpt_config.p) * in gpt_get_new_l1_tbl()
619 GPT_PGS_ACTUAL_SIZE(gpt_config.p); in gpt_generate_l0_tbl_desc()
832 gpt_config.p = gpt_p_lookup[pgs]; in gpt_init_pas_l1_tables()
891 GPT_L1_TABLE_SIZE(gpt_config.p) * in gpt_init_pas_l1_tables()
942 gpt_config.p = gpt_p_lookup[gpt_config.pgs]; in gpt_runtime_init()
1063 if (size != GPT_PGS_ACTUAL_SIZE(gpt_config.p)) { in gpt_transition_pas()
[all …]

Completed in 55 milliseconds

12345