I want to transfer message between two Trusted Applications by so-called Local Attestation Technology. When I get message back from TA to another TA through function get_msg(), trusty returns Error: No new messages, does it mean the received message is not changed compared with original one ?
Hi,
Thanks, but actually send_msg function is called by TA2. One possible reason of this problem in my case could be that TA1 asks for get_msg before TA2 send_msg because TA2 is executing a long-time function and the sleeping time for TA1 is too short.
I would like to check consumed time by TA2. Is there any built-in functions in Trusty to count time/clock running during the boot initialization ? (clock() and timespec seem not useful)
Just to make it clear, I let TA1 wait by nanosleep function during the execution of TA2, which may be informal. I did that to build Local Attestation between two TAs.