feat(rmm): move attestation data to REC auxiliary granule
This patch moves attestation data from REC to
'rec_attest_data' structure in auxiliary granule.
In 'handle_rsi_attest_token_init' function
initialisation of variables which depend on 'rec'
parameter is moved after
assert(rec != NULL);
to prevent accessing 'rec' in case of NULL pointer.
Signed-off-by: AlexeiFedorov <Alexei.Fedorov@arm.com>
Change-Id: Ia182d66bfb19a2baea5a9d2039dbbf6523e72bdd
diff --git a/runtime/include/run.h b/runtime/include/run.h
index 546e766..a504a51 100644
--- a/runtime/include/run.h
+++ b/runtime/include/run.h
@@ -7,6 +7,7 @@
#define RUN_H
struct granule;
+struct rec;
struct rec_aux_data;
void init_rec_aux_data(struct rec_aux_data *aux_data, void *rec_aux,