/optee_os-3.20.0/core/kernel/ |
A D | dt_driver_test.c | 65 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 D | pm.c | 35 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 D | user_access.c | 79 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 D | attributes.c | 249 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 D | attributes.h | 219 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 D | sanitize_object.h | 44 void trace_attributes_from_api_head(const char *prefix, void *ref, size_t size);
|
A D | sanitize_object.c | 397 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 D | stm32_gpio.c | 284 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 D | pkparse.c | 387 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 D | tee_svc_cryp.c | 1665 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 D | stm32mp157.dtsi | 24 clock-names = "pclk", "ref", "px_clk";
|
/optee_os-3.20.0/lib/libutee/include/ |
A D | tee_api_types.h | 111 } ref; member
|
/optee_os-3.20.0/lib/libutee/ |
A D | tee_api_objects.c | 25 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 D | entry.c | 173 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 D | README.md | 187 - `tests/scripts/test-ref-configs.pl` test builds in various reduced configurations.
|