We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ddcce3b + 9753238 commit 1330059Copy full SHA for 1330059
services/std_svc/drtm/drtm_main.c
@@ -293,8 +293,8 @@ static enum drtm_retc drtm_dl_prepare_dlme_data(const struct_drtm_dl_args *args)
293
/* Prepare DRTM event log for DLME. */
294
drtm_serialise_event_log(dlme_data_cursor, &serialised_bytes_actual);
295
assert(serialised_bytes_actual <= ARM_DRTM_MIN_EVENT_LOG_SIZE);
296
- dlme_data_hdr->dlme_tpm_log_size = ARM_DRTM_MIN_EVENT_LOG_SIZE;
297
- dlme_data_cursor += dlme_data_hdr->dlme_tpm_log_size;
+ dlme_data_hdr->dlme_tpm_log_size = serialised_bytes_actual;
+ dlme_data_cursor += serialised_bytes_actual;
298
299
/*
300
* TODO: Prepare the TCB hashes for DLME, currently its size
0 commit comments