Home
last modified time | relevance | path

Searched refs:ref (Results 1 – 15 of 15) sorted by relevance

/optee_os-3.20.0/core/kernel/
A Ddt_driver_test.c65 struct dt_test_free_ref *ref = NULL; in dt_test_alloc() local
67 ref = calloc(1, sizeof(*ref) + size); in dt_test_alloc()
68 if (!ref) in dt_test_alloc()
71 ref->p = ref + 1; in dt_test_alloc()
74 return ref->p; in dt_test_alloc()
79 struct dt_test_free_ref *ref = NULL; in dt_test_free() local
86 if (ref->p == p) { in dt_test_free()
89 free(ref); in dt_test_free()
103 free(ref); in dt_test_free_all()
476 rstctrl = &ref[0].rstctrl; in dt_test_get_rstctrl()
[all …]
A Dpm.c35 struct pm_callback_handle *ref = NULL; in register_pm_cb() local
50 ref = realloc(pm_cb_ref, sizeof(*ref) * (count + 1)); in register_pm_cb()
51 if (!ref) in register_pm_cb()
54 ref[count] = *pm_hdl; in register_pm_cb()
55 ref[count].flags = 0; in register_pm_cb()
56 ref[count].name = name; in register_pm_cb()
59 pm_cb_ref = ref; in register_pm_cb()
A Duser_access.c79 uint32_t ref = kaddr_to_uref(kaddr); in copy_kaddr_to_uref() local
81 return copy_to_user_private(uref, &ref, sizeof(ref)); in copy_kaddr_to_uref()
/optee_os-3.20.0/ta/pkcs11/src/
A Dattributes.c249 struct obj_attrs *ref) in attributes_match_reference() argument
251 size_t count = ref->attrs_count; in attributes_match_reference()
252 unsigned char *ref_attr = ref->attrs; in attributes_match_reference()
255 if (!ref->attrs_count) { in attributes_match_reference()
260 for (count = 0; count < ref->attrs_count; count++) { in attributes_match_reference()
280 struct obj_attrs *ref) in attributes_match_add_reference() argument
282 size_t count = ref->attrs_count; in attributes_match_add_reference()
283 unsigned char *ref_attr = ref->attrs; in attributes_match_add_reference()
286 if (!ref->attrs_count) in attributes_match_add_reference()
426 void trace_attributes(const char *prefix, void *ref) in trace_attributes() argument
[all …]
A Dattributes.h219 bool attributes_match_reference(struct obj_attrs *ref,
228 struct obj_attrs *ref);
315 void trace_attributes(const char *prefix, void *ref);
318 void *ref __unused) in trace_attributes()
A Dsanitize_object.h44 void trace_attributes_from_api_head(const char *prefix, void *ref, size_t size);
A Dsanitize_object.c397 void trace_attributes_from_api_head(const char *prefix, void *ref, size_t size) in trace_attributes_from_api_head() argument
403 TEE_MemMove(&head, ref, sizeof(head)); in trace_attributes_from_api_head()
425 __trace_attributes(pre, (char *)ref + offset, in trace_attributes_from_api_head()
426 (char *)ref + offset + head.attrs_size); in trace_attributes_from_api_head()
/optee_os-3.20.0/core/drivers/
A Dstm32_gpio.c284 struct stm32_pinctrl *ref = &pinctrl[found]; in get_pinctrl_from_fdt() local
286 ref->bank = (uint8_t)bank; in get_pinctrl_from_fdt()
287 ref->pin = (uint8_t)pin; in get_pinctrl_from_fdt()
288 ref->active_cfg.mode = mode; in get_pinctrl_from_fdt()
289 ref->active_cfg.otype = opendrain ? 1 : 0; in get_pinctrl_from_fdt()
290 ref->active_cfg.ospeed = speed; in get_pinctrl_from_fdt()
291 ref->active_cfg.pupd = pull; in get_pinctrl_from_fdt()
292 ref->active_cfg.od = 0; in get_pinctrl_from_fdt()
293 ref->active_cfg.af = alternate; in get_pinctrl_from_fdt()
295 ref->standby_cfg.mode = GPIO_MODE_ANALOG; in get_pinctrl_from_fdt()
[all …]
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dpkparse.c387 mbedtls_ecp_group ref; in pk_group_id_from_group() local
390 mbedtls_ecp_group_init( &ref ); in pk_group_id_from_group()
395 mbedtls_ecp_group_free( &ref ); in pk_group_id_from_group()
399 if( grp->pbits == ref.pbits && grp->nbits == ref.nbits && in pk_group_id_from_group()
400 mbedtls_mpi_cmp_mpi( &grp->P, &ref.P ) == 0 && in pk_group_id_from_group()
401 mbedtls_mpi_cmp_mpi( &grp->A, &ref.A ) == 0 && in pk_group_id_from_group()
402 mbedtls_mpi_cmp_mpi( &grp->B, &ref.B ) == 0 && in pk_group_id_from_group()
403 mbedtls_mpi_cmp_mpi( &grp->N, &ref.N ) == 0 && in pk_group_id_from_group()
404 mbedtls_mpi_cmp_mpi( &grp->G.X, &ref.G.X ) == 0 && in pk_group_id_from_group()
405 mbedtls_mpi_cmp_mpi( &grp->G.Z, &ref.G.Z ) == 0 && in pk_group_id_from_group()
[all …]
/optee_os-3.20.0/core/tee/
A Dtee_svc_cryp.c1665 attrs[n].content.ref.length = len; in copy_in_attrs()
1792 int nbits = a->content.ref.length * 8; in get_used_bits()
1830 attrs[n].content.ref.length); in tee_svc_cryp_obj_populate_type()
2220 *ctx = params[n].content.ref.buffer; in tee_svc_obj_ed25519_parse_params()
3132 *salt = params[n].content.ref.buffer; in get_hkdf_params()
3301 p->content.ref.length, in get_sm2_kep_params()
3307 p->content.ref.length, in get_sm2_kep_params()
3314 p->content.ref.length, in get_sm2_kep_params()
3321 p->content.ref.length, in get_sm2_kep_params()
3491 params[0].content.ref.length, in syscall_cryp_derive_key()
[all …]
/optee_os-3.20.0/core/arch/arm/dts/
A Dstm32mp157.dtsi24 clock-names = "pclk", "ref", "px_clk";
/optee_os-3.20.0/lib/libutee/include/
A Dtee_api_types.h111 } ref; member
/optee_os-3.20.0/lib/libutee/
A Dtee_api_objects.c25 ua[n].a = (uintptr_t)attrs[n].content.ref.buffer; in __utee_from_attr()
26 ua[n].b = attrs[n].content.ref.length; in __utee_from_attr()
321 attr->content.ref.buffer = (void *)buffer; in TEE_InitRefAttribute()
322 attr->content.ref.length = length; in TEE_InitRefAttribute()
/optee_os-3.20.0/ta/trusted_keys/
A Dentry.c173 attr.content.ref.buffer = huk_key; in huk_crypt()
174 attr.content.ref.length = sizeof(huk_key); in huk_crypt()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/
A DREADME.md187 - `tests/scripts/test-ref-configs.pl` test builds in various reduced configurations.

Completed in 23 milliseconds