/optee_os-3.20.0/core/tee/ |
A D | tee_obj.c | 24 struct tee_obj *o; in tee_obj_get() local 27 if (obj_id == (vaddr_t)o) { in tee_obj_get() 28 *obj = o; in tee_obj_get() 40 o->pobj->fops->close(&o->fh); in tee_obj_close() 41 tee_pobj_release(o->pobj); in tee_obj_close() 44 tee_obj_free(o); in tee_obj_close() 67 fops->remove(o->pobj); in tee_obj_verify() 82 if (o) { in tee_obj_free() 83 tee_obj_attr_free(o); in tee_obj_free() 84 free(o->attr); in tee_obj_free() [all …]
|
A D | tee_svc_storage.c | 80 o->pobj->fops->remove(o->pobj); in tee_svc_storage_remove_corrupt_obj() 97 res = fops->open(o->pobj, &size, &o->fh); in tee_svc_storage_read_head() 238 o = NULL; in syscall_storage_obj_open() 415 if (o) { in syscall_storage_obj_create() 439 if (o->pobj == NULL || o->pobj->obj_id == NULL) in syscall_storage_obj_del() 449 res = o->pobj->fops->remove(o->pobj); in syscall_storage_obj_del() 676 if (o) { in syscall_storage_next_enum() 678 o->pobj->fops->close(&o->fh); in syscall_storage_next_enum() 796 if (o->info.dataPosition > o->info.dataSize) in syscall_storage_obj_write() 797 o->info.dataSize = o->info.dataPosition; in syscall_storage_obj_write() [all …]
|
A D | tee_pobj.c | 76 (fops == o->fops)) { in tee_pobj_get() 77 *obj = o; in tee_pobj_get() 99 if (!o) { in tee_pobj_get() 104 o->refcnt = 1; in tee_pobj_get() 106 o->flags = flags; in tee_pobj_get() 107 o->fops = fops; in tee_pobj_get() 110 o->temporary = true; in tee_pobj_get() 111 o->creating = true; in tee_pobj_get() 115 if (o->obj_id == NULL) { in tee_pobj_get() 116 free(o); in tee_pobj_get() [all …]
|
A D | tee_svc_cryp.c | 1247 if (!o->attr) in tee_obj_attr_free() 1265 if (!o->attr) in tee_obj_attr_clear() 1292 if (!o->attr) in tee_obj_attr_to_binary() 1322 if (!o->attr) in tee_obj_attr_from_binary() 1351 if (!o->attr) in tee_obj_attr_copy_from() 1465 if (o->attr) in tee_obj_set_type() 1488 if (!o->attr) in tee_obj_set_type() 1565 if (!o) in syscall_cryp_obj_alloc() 1596 if (o->busy) in syscall_cryp_obj_close() 1890 o->info.objectSize -= o->info.objectSize / 8; in tee_svc_cryp_obj_populate_type() [all …]
|
A D | tee_time_generic.c | 42 struct tee_ta_time_offs *o; in tee_time_ta_set_offs() local 54 o = realloc(tee_time_offs, n * sizeof(struct tee_ta_time_offs)); in tee_time_ta_set_offs() 55 if (!o) in tee_time_ta_set_offs() 57 tee_time_offs = o; in tee_time_ta_set_offs()
|
/optee_os-3.20.0/lib/libutils/ext/include/ |
A D | fault_mitigation.h | 155 #define __FTMN_FUNC_BYTE(f, o, l) ((o) < (l) ? (uint8_t)(f)[(o)] : 0) argument 157 #define __FTMN_GET_FUNC_U64(f, o, l) \ argument 167 #define __FTMN_FUNC_HASH32(f, o, l) \ argument 168 (__FTMN_GET_FUNC_U64((f), (o), (l)) ^ \ 169 __FTMN_GET_FUNC_U64((f), (o) + 8, (l))) 171 #define __FTMN_FUNC_HASH16(f, o, l) \ argument 172 (__FTMN_FUNC_HASH32((f), (o), (l)) ^ \ 175 #define __FTMN_FUNC_HASH8(f, o, l) \ argument 176 (__FTMN_FUNC_HASH16((f), (o), (l)) ^ \ 179 #define __FTMN_FUNC_HASH4(f, o, l) \ argument [all …]
|
/optee_os-3.20.0/core/drivers/crypto/se050/core/ |
A D | storage.c | 16 TEE_Result crypto_storage_obj_del(struct tee_obj *o) in crypto_storage_obj_del() argument 27 if (!o) in crypto_storage_obj_del() 30 len = o->info.dataSize; in crypto_storage_obj_del() 41 ret = o->pobj->fops->read(o->fh, o->info.dataPosition, data, &len); in crypto_storage_obj_del()
|
/optee_os-3.20.0/core/include/tee/ |
A D | tee_obj.h | 27 void tee_obj_add(struct user_ta_ctx *utc, struct tee_obj *o); 32 void tee_obj_close(struct user_ta_ctx *utc, struct tee_obj *o); 36 TEE_Result tee_obj_verify(struct tee_ta_session *sess, struct tee_obj *o); 39 void tee_obj_free(struct tee_obj *o);
|
A D | tee_svc_cryp.h | 85 TEE_Result tee_obj_set_type(struct tee_obj *o, uint32_t obj_type, 88 void tee_obj_attr_free(struct tee_obj *o); 89 void tee_obj_attr_clear(struct tee_obj *o); 90 TEE_Result tee_obj_attr_to_binary(struct tee_obj *o, void *data, 92 TEE_Result tee_obj_attr_from_binary(struct tee_obj *o, const void *data, 94 TEE_Result tee_obj_attr_copy_from(struct tee_obj *o, const struct tee_obj *src);
|
/optee_os-3.20.0/core/arch/arm/kernel/ |
A D | link.mk | 45 $(out-dir)/$(platform-dir)/link_dummies_paged.o \ 46 $(out-dir)/$(platform-dir)/link_dummies_init.o \ 51 $(out-dir)/$(platform-dir)/link_dummies_init.o \ 66 cleanfiles += $(link-out-dir)/all_objs.o 80 cleanfiles += $(link-out-dir)/unpaged.o 110 cleanfiles += $(link-out-dir)/init.o 111 $(link-out-dir)/init.o: $(link-out-dir)/init_entries.txt 119 $(link-out-dir)/text_init.ld.S: $(link-out-dir)/init.o 173 -xc - -c -o $(link-out-dir)/version.o 175 $(link-out-dir)/version.o: [all …]
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ec25519/ |
A D | tweetnacl.c | 47 sv car25519(gf o) in car25519() argument 52 o[i]+=(1LL<<16); in car25519() 53 c=o[i]>>16; in car25519() 55 o[i]-=c<<16; in car25519() 89 o[2*i]=t[i]&0xff; in pack25519() 90 o[2*i+1]=t[i]>>8; in pack25519() 113 o[15]&=0x7fff; in unpack25519() 135 car25519(o); in M() 136 car25519(o); in M() 139 sv S(gf o,const gf a) in S() argument [all …]
|
/optee_os-3.20.0/core/arch/riscv/kernel/ |
A D | link.mk | 27 ldargs-tee.elf := $(link-ldflags) $(link-objs) $(link-out-dir)/version.o \ 39 cleanfiles += $(link-out-dir)/all_objs.o 40 $(link-out-dir)/all_objs.o: $(objs) $(libdeps) $(MAKEFILE_LIST) 84 -xc - -c -o $(link-out-dir)/version.o 87 $(link-out-dir)/version.o: 99 cleanfiles += $(link-out-dir)/version.o
|
/optee_os-3.20.0/core/include/kernel/ |
A D | lockdep.h | 139 struct lockdep_lock_head *o __unused, in lockdep_lock_acquire() 143 static inline void lockdep_lock_release(struct lockdep_lock_head *o __unused, in lockdep_lock_release()
|
/optee_os-3.20.0/mk/ |
A D | subdir.mk | 29 oname := $(out-dir)/$(base-prefix)$(basename $1).o 34 oname := $(out-dir)/$(base-prefix)$(basename $1).o 37 oname := $(out-dir)/$(base-prefix)$(basename $$(sub-dir)/$1).o 126 …r,$1,$(sub-dir-out)/$$(produce-$1),$(sub-dir-out)/$(basename $(produce-$1)).o,$(sub-dir-out),$(for…
|
/optee_os-3.20.0/core/pta/tests/ |
A D | fs_htree.c | 407 size_t o = 0; in aux_alloc() local 410 if (test_get_offs_size(TEE_FS_HTREE_TYPE_BLOCK, num_blocks, 1, &o, &sz)) in aux_alloc() 417 aux->data_alloced = o + sz; in aux_alloc() 439 size_t o = 0; in test_write_read() local 453 for (o = 0; o < (n - m); o++) { in test_write_read() 454 res = htree_test_rewrite(aux, n, m, o); in test_write_read() 456 o += 2; in test_write_read()
|
/optee_os-3.20.0/scripts/ |
A D | sign_encrypt.py | 550 o = subkey_offs + UUID_SIZE + SK_HDR_SIZE + n * 12 552 attr_len] = struct.unpack('<III', self.inf[o: o + 12]) 554 o = subkey_offs + attr_offs 555 return self.inf[o:o + attr_len]
|
/optee_os-3.20.0/lib/libutils/isoc/arch/arm/softfloat/build/Linux-386-GCC/ |
A D | Makefile | 50 OBJ = .o
|
/optee_os-3.20.0/lib/libutils/isoc/arch/arm/softfloat/build/template-not-FAST_INT64/ |
A D | Makefile | 50 ==> OBJ = .o
|
/optee_os-3.20.0/lib/libutils/isoc/arch/arm/softfloat/build/Linux-386-SSE2-GCC/ |
A D | Makefile | 50 OBJ = .o
|
/optee_os-3.20.0/lib/libutils/isoc/arch/arm/softfloat/build/Win32-MinGW/ |
A D | Makefile | 50 OBJ = .o
|
/optee_os-3.20.0/lib/libutils/isoc/arch/arm/softfloat/build/Win32-SSE2-MinGW/ |
A D | Makefile | 50 OBJ = .o
|
/optee_os-3.20.0/lib/libutils/isoc/arch/arm/softfloat/build/template-FAST_INT64/ |
A D | Makefile | 51 ==> OBJ = .o
|
/optee_os-3.20.0/lib/libutils/isoc/arch/arm/softfloat/build/Linux-x86_64-GCC/ |
A D | Makefile | 50 OBJ = .o
|
/optee_os-3.20.0/lib/libutils/isoc/arch/arm/softfloat/build/Win64-MinGW-w64/ |
A D | Makefile | 50 OBJ = .o
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/ |
A D | bignum.c | 1166 mbedtls_mpi_uint *o, *p, c, tmp; in mbedtls_mpi_add_abs() local 1190 o = B->p; p = X->p; c = 0; in mbedtls_mpi_add_abs() 1195 for( i = 0; i < j; i++, o++, p++ ) in mbedtls_mpi_add_abs() 1197 tmp= *o; in mbedtls_mpi_add_abs()
|