Fix source file permissions in the project
[platform/core/security/tef-simulator.git] / TEEStub / DeveloperReadme.txt
1 # Samsung Research and Development Institute, Bangalore
2 # Copyright (c) 2015, All Rights Reserved
3
4 This readme is a developer's log book on progress of implementation and status
5 of functionality. It is intended to aid development and is not to be 
6 used for any other purpose. 
7
8
9 Properties:
10 1.      As per specification, Property access function shall be accessible as described below:
11
12                         Excerpt from TEE Internal Specification:
13                         |       Note that Client Properties can be accessed only in the context of a TA entry point associated with
14                         |       a client, i.e. in one of the following entry point 
15                         |       functions: TA_OpenSessionEntryPoint, TA_InvokeCommandEntryPoint, or TA_CloseSessionEntryPoint 
16         
17         Access to the property functions in above mentioned restricted context is yet to be implemented in case of
18         Client properties.
19
20 2.      Due to change in C standards, compilers do not support typecasting to pointer type of constant values
21         in #define s. As per spec. we need to define Propsets as:
22         TEE_PROPSET_TEE_IMPLEMENTATION (TEE_PropSetHandle)0xFFFFFFFD
23         The above is not possible anymore. Specification does not understand this.
24         
25         As of now, above macro is defined as:
26         TEE_PROPSET_TEE_IMPLEMENTATION 0xFFFFFFFD
27         
28         Which forces user to typecast TEE_PROPSET_TEE_IMPLEMENTATION to (TEE_PropSetHandle)TEE_PROPSET_TEE_IMPLEMENTATION
29         when calling Property Access APIs
30         
31 3.      Client Identity for client properties: UUID of client doesn't make sense as it is not defined in the
32         specificationc clearly. As of now the client UUID is set to Nil UUID. This needs to be fixed when
33         permission management to access TA Entrypoints is to be enforced.
34
35 4.      Client Properties may need to stored on each new session and appended to a list of client props.
36         All of the client properties bear the name "gpd.client.identity" hence has to be a list
37         unlike other propsets which use maps as they have unique keys. This feature is yet to be implemented.
38         
39 SSFLib:
40 1.      Communication with other TAs from this TA:
41                 Replies from other multiple TA to be handled yet based on operation IDs or some other
42                 way of unique identification of commands to map replies to caller.
43