Home
last modified time | relevance | path

Searched refs:tee_obj (Results 1 – 14 of 14) sorted by relevance

/optee_os-3.20.0/core/include/tee/
A Dtee_obj.h16 struct tee_obj { struct
17 TAILQ_ENTRY(tee_obj) link;
27 void tee_obj_add(struct user_ta_ctx *utc, struct tee_obj *o); argument
30 struct tee_obj **obj);
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);
38 struct tee_obj *tee_obj_alloc(void);
39 void tee_obj_free(struct tee_obj *o);
A Dtee_svc_cryp.h85 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/tee/
A Dtee_obj.c16 void tee_obj_add(struct user_ta_ctx *utc, struct tee_obj *o) in tee_obj_add()
22 struct tee_obj **obj) in tee_obj_get()
24 struct tee_obj *o; in tee_obj_get()
35 void tee_obj_close(struct user_ta_ctx *utc, struct tee_obj *o) in tee_obj_close()
55 TEE_Result tee_obj_verify(struct tee_ta_session *sess, struct tee_obj *o) in tee_obj_verify()
75 struct tee_obj *tee_obj_alloc(void) in tee_obj_alloc()
77 return calloc(1, sizeof(struct tee_obj)); in tee_obj_alloc()
80 void tee_obj_free(struct tee_obj *o) in tee_obj_free()
A Dtee_svc_storage.c78 struct tee_obj *o) in tee_svc_storage_remove_corrupt_obj()
180 struct tee_obj *o = NULL; in syscall_storage_obj_open()
323 struct tee_obj *attr_o = NULL; in syscall_storage_obj_create()
326 struct tee_obj *o = NULL; in syscall_storage_obj_create()
430 struct tee_obj *o = NULL; in syscall_storage_obj_del()
463 struct tee_obj *o = NULL; in syscall_storage_obj_rename()
613 struct tee_obj *o = NULL; in syscall_storage_next_enum()
693 struct tee_obj *o = NULL; in syscall_storage_obj_read()
752 struct tee_obj *o = NULL; in syscall_storage_obj_write()
807 struct tee_obj *o = NULL; in syscall_storage_obj_trunc()
[all …]
A Dtee_svc_cryp.c1116 struct tee_obj *o = NULL; in syscall_cryp_obj_get_info()
1141 struct tee_obj *o = NULL; in syscall_cryp_obj_restrict_usage()
1208 struct tee_obj *o = NULL; in syscall_cryp_obj_get_attr()
1339 TEE_Result tee_obj_attr_copy_from(struct tee_obj *o, const struct tee_obj *src) in tee_obj_attr_copy_from()
1561 struct tee_obj *o = NULL; in syscall_cryp_obj_alloc()
1586 struct tee_obj *o = NULL; in syscall_cryp_obj_close()
1607 struct tee_obj *o = NULL; in syscall_cryp_obj_reset()
1800 struct tee_obj *o, in tee_svc_cryp_obj_populate_type()
1901 struct tee_obj *o = NULL; in syscall_cryp_obj_populate()
2450 struct tee_obj *o; in cryp_state_free()
[all …]
A Dsub.mk27 srcs-y += tee_obj.c
/optee_os-3.20.0/ta/pkcs11/src/
A Dprocessing_ec.c467 TEE_ObjectHandle tee_obj, in tee2pkcs_ec_attributes() argument
483 tee_obj, TEE_ATTR_ECC_PRIVATE_VALUE); in tee2pkcs_ec_attributes()
581 TEE_ObjectHandle tee_obj = TEE_HANDLE_NULL; in generate_ec_keys() local
613 &tee_obj); in generate_ec_keys()
639 if (tee_obj != TEE_HANDLE_NULL) in generate_ec_keys()
640 TEE_CloseObject(tee_obj); in generate_ec_keys()
716 TEE_ObjectHandle tee_obj = TEE_HANDLE_NULL; in generate_eddsa_keys() local
743 &tee_obj); in generate_eddsa_keys()
772 tee_obj, TEE_ATTR_ED25519_PUBLIC_VALUE); in generate_eddsa_keys()
780 if (tee_obj != TEE_HANDLE_NULL) in generate_eddsa_keys()
[all …]
A Dprocessing_rsa.c614 TEE_ObjectHandle tee_obj) in tee2pkcs_rsa_attributes() argument
619 rc = tee2pkcs_add_attribute(pub_head, PKCS11_CKA_MODULUS, tee_obj, in tee2pkcs_rsa_attributes()
640 tee_obj, in tee2pkcs_rsa_attributes()
652 tee_obj, TEE_ATTR_RSA_PUBLIC_EXPONENT); in tee2pkcs_rsa_attributes()
657 tee_obj, TEE_ATTR_RSA_PRIVATE_EXPONENT); in tee2pkcs_rsa_attributes()
694 TEE_ObjectHandle tee_obj = TEE_HANDLE_NULL; in generate_rsa_keys() local
737 &tee_obj); in generate_rsa_keys()
745 res = TEE_RestrictObjectUsage1(tee_obj, TEE_USAGE_EXTRACTABLE); in generate_rsa_keys()
761 rc = tee2pkcs_rsa_attributes(pub_head, priv_head, tee_obj); in generate_rsa_keys()
764 if (tee_obj != TEE_HANDLE_NULL) in generate_rsa_keys()
[all …]
A Dprocessing.h117 enum pkcs11_rc alloc_get_tee_attribute_data(TEE_ObjectHandle tee_obj,
123 TEE_ObjectHandle tee_obj,
A Dprocessing.c336 enum pkcs11_rc alloc_get_tee_attribute_data(TEE_ObjectHandle tee_obj, in alloc_get_tee_attribute_data() argument
344 res = TEE_GetObjectBufferAttribute(tee_obj, attribute, NULL, &sz); in alloc_get_tee_attribute_data()
352 res = TEE_GetObjectBufferAttribute(tee_obj, attribute, ptr, &sz); in alloc_get_tee_attribute_data()
365 TEE_ObjectHandle tee_obj, in tee2pkcs_add_attribute() argument
372 rc = alloc_get_tee_attribute_data(tee_obj, tee_id, &a_ptr, &a_size); in tee2pkcs_add_attribute()
/optee_os-3.20.0/core/include/kernel/
A Duser_ta.h21 TAILQ_HEAD(tee_obj_head, tee_obj);
/optee_os-3.20.0/core/drivers/crypto/se050/core/
A Dstorage.c16 TEE_Result crypto_storage_obj_del(struct tee_obj *o) in crypto_storage_obj_del()
/optee_os-3.20.0/core/include/crypto/
A Dcrypto.h86 TEE_Result crypto_storage_obj_del(struct tee_obj *obj);
/optee_os-3.20.0/core/crypto/
A Dcrypto.c889 __weak TEE_Result crypto_storage_obj_del(struct tee_obj *obj __unused) in crypto_storage_obj_del()

Completed in 23 milliseconds