Home
last modified time | relevance | path

Searched refs:TEE_Attribute (Results 1 – 18 of 18) sorted by relevance

/optee_os/lib/libutee/
H A Dtee_api_private.h12 void __utee_from_attr(struct utee_attribute *ua, const TEE_Attribute *attrs,
37 void __utee_check_attr_in_annotation(const TEE_Attribute *attr, size_t count);
H A Dtee_api_panic.c96 void __utee_check_attr_in_annotation(const TEE_Attribute *attr, size_t count) in __utee_check_attr_in_annotation()
H A Dtee_api_objects.c14 void __utee_from_attr(struct utee_attribute *ua, const TEE_Attribute *attrs, in __utee_from_attr()
382 const TEE_Attribute *attrs, in TEE_PopulateTransientObject()
439 void TEE_InitRefAttribute(TEE_Attribute *attr, uint32_t attributeID, in TEE_InitRefAttribute()
464 void TEE_InitValueAttribute(TEE_Attribute *attr, uint32_t attributeID, in TEE_InitValueAttribute()
547 const TEE_Attribute *params, uint32_t paramCount) in TEE_GenerateKey()
H A Dtee_api_operations.c2024 const TEE_Attribute *params, in TEE_AsymmetricEncrypt()
2100 const TEE_Attribute *params, in TEE_AsymmetricDecrypt()
2176 const TEE_Attribute *params, in TEE_AsymmetricSignDigest()
2249 const TEE_Attribute *params, in TEE_AsymmetricVerifyDigest()
2321 const TEE_Attribute *params, uint32_t paramCount, in TEE_DeriveKey()
/optee_os/ta/pkcs11/src/
H A Dprocessing_ec.c340 enum pkcs11_rc load_tee_ec_key_attrs(TEE_Attribute **tee_attrs, in load_tee_ec_key_attrs()
344 TEE_Attribute *attrs = NULL; in load_tee_ec_key_attrs()
352 attrs = TEE_Malloc(3 * sizeof(TEE_Attribute), in load_tee_ec_key_attrs()
377 attrs = TEE_Malloc(4 * sizeof(TEE_Attribute), in load_tee_ec_key_attrs()
599 TEE_Attribute tee_key_attr[1] = { }; in generate_ec_keys()
662 enum pkcs11_rc load_tee_eddsa_key_attrs(TEE_Attribute **tee_attrs, in load_tee_eddsa_key_attrs()
666 TEE_Attribute *attrs = NULL; in load_tee_eddsa_key_attrs()
674 attrs = TEE_Malloc(sizeof(TEE_Attribute), in load_tee_eddsa_key_attrs()
690 attrs = TEE_Malloc(2 * sizeof(TEE_Attribute), in load_tee_eddsa_key_attrs()
H A Dpkcs11_helpers.h65 bool pkcs2tee_load_attr(TEE_Attribute *tee_ref, uint32_t tee_id,
70 enum pkcs11_rc pkcs2tee_load_hashed_attr(TEE_Attribute *tee_ref,
H A Dprocessing.h207 enum pkcs11_rc load_tee_ec_key_attrs(TEE_Attribute **tee_attrs,
211 enum pkcs11_rc load_tee_eddsa_key_attrs(TEE_Attribute **tee_attrs,
236 enum pkcs11_rc load_tee_rsa_key_attrs(TEE_Attribute **tee_attrs,
H A Dprocessing_rsa.c534 enum pkcs11_rc load_tee_rsa_key_attrs(TEE_Attribute **tee_attrs, in load_tee_rsa_key_attrs()
538 TEE_Attribute *attrs = NULL; in load_tee_rsa_key_attrs()
546 attrs = TEE_Malloc(2 * sizeof(TEE_Attribute), in load_tee_rsa_key_attrs()
566 attrs = TEE_Malloc(8 * sizeof(TEE_Attribute), in load_tee_rsa_key_attrs()
728 TEE_Attribute tee_attrs[1] = { }; in generate_rsa_keys()
H A Dprocessing_asymm.c295 TEE_Attribute *tee_attrs = NULL; in load_tee_key()
493 TEE_Attribute *tee_attrs = NULL; in step_asymm_operation()
541 tee_attrs = TEE_Malloc(sizeof(TEE_Attribute), in step_asymm_operation()
558 tee_attrs = TEE_Malloc(2 * sizeof(TEE_Attribute), in step_asymm_operation()
584 tee_attrs = TEE_Malloc(sizeof(TEE_Attribute), in step_asymm_operation()
603 tee_attrs = TEE_Malloc(sizeof(TEE_Attribute), in step_asymm_operation()
1031 TEE_Attribute tee_attrs[2] = { }; in do_asymm_derivation()
H A Dpkcs11_helpers.c550 bool pkcs2tee_load_attr(TEE_Attribute *tee_ref, uint32_t tee_id, in pkcs2tee_load_attr()
663 enum pkcs11_rc pkcs2tee_load_hashed_attr(TEE_Attribute *tee_ref, in pkcs2tee_load_hashed_attr()
H A Dprocessing_symm.c288 TEE_Attribute *tee_attr, in hash_secret_helper()
326 TEE_Attribute tee_attr = { }; in load_tee_key()
H A Dpkcs11_attributes.c2911 TEE_Attribute attr = { }; in compute_check_value_with_ecb()
/optee_os/lib/libutee/include/
H A Dtee_internal_api.h185 const TEE_Attribute *attrs,
191 void TEE_InitRefAttribute(TEE_Attribute *attr, uint32_t attributeID,
197 void TEE_InitValueAttribute(TEE_Attribute *attr, uint32_t attributeID,
210 const TEE_Attribute *params, uint32_t paramCount);
433 const TEE_Attribute *params,
444 const TEE_Attribute *params,
455 const TEE_Attribute *params,
467 const TEE_Attribute *params,
482 const TEE_Attribute *params, uint32_t paramCount,
H A Dtee_api_compat.h35 #define TEE_Attribute __GP11_TEE_Attribute macro
H A Dtee_api_types.h133 } TEE_Attribute; typedef
/optee_os/
H A Dtypedefs.checkpatch31 TEE_Attribute
/optee_os/core/tee/
H A Dtee_svc_cryp.c1730 uint32_t attr_count, TEE_Attribute *attrs) in copy_in_attrs()
1783 const TEE_Attribute *attrs, in tee_svc_cryp_check_attr()
1896 const TEE_Attribute *attrs, in tee_svc_cryp_obj_populate_type()
1998 TEE_Attribute *attrs = NULL; in syscall_cryp_obj_populate()
2017 if (MUL_OVERFLOW(sizeof(TEE_Attribute), attr_count, &alloc_size)) in syscall_cryp_obj_populate()
2126 const TEE_Attribute *params, uint32_t param_count) in tee_svc_obj_generate_key_rsa()
2159 uint32_t key_size, const TEE_Attribute *params, uint32_t param_count) in tee_svc_obj_generate_key_dsa()
2181 uint32_t key_size, const TEE_Attribute *params, uint32_t param_count) in tee_svc_obj_generate_key_dh()
2213 uint32_t key_size, const TEE_Attribute *params, uint32_t param_count) in tee_svc_obj_generate_key_ecc()
2243 const TEE_Attribute *params, in tee_svc_obj_generate_key_x25519()
[all …]
/optee_os/ta/trusted_keys/
H A Dentry.c154 TEE_Attribute attr = { }; in huk_crypt()