refactor(lib/attestation): verify token fits in token buffer

With this patch, an assertion checks whether the received token
from EL3 has a length shorter or equal to the length of the token
buffer used to copy the token to from the EL3-RMM shared buffer, so
the token fits in the token buffer in RMM.

Change-Id: I71bf3103cf000be13b39dc240b032dc206078782
Signed-off-by: Juan Pablo Conde <juanpablo.conde@arm.com>
1 file changed