From ef83a0dd42434cf6b2db75634d17e6ef9ea9a426 Mon Sep 17 00:00:00 2001 From: Nick Quarton <139178705+nquarton@users.noreply.github.com> Date: Fri, 23 Aug 2024 18:46:10 -0400 Subject: [PATCH] Adding note on uninitialized response structs for libcaliptra test --- libcaliptra/examples/generic/test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libcaliptra/examples/generic/test.c b/libcaliptra/examples/generic/test.c index 214cc4975a..e8ada9c0af 100644 --- a/libcaliptra/examples/generic/test.c +++ b/libcaliptra/examples/generic/test.c @@ -184,6 +184,7 @@ int rom_test_all_commands(const test_info* info) failure = 1; } + // NOTE: Response structs are uninitialized to confirm libcaliptra handles this properly // STASH_MEASUREMENT struct caliptra_stash_measurement_req stash_req = {}; struct caliptra_stash_measurement_resp stash_resp; @@ -273,6 +274,7 @@ int rt_test_all_commands(const test_info* info) failure = 1; } + // NOTE: Response structs are uninitialized to confirm libcaliptra handles this properly // Load Image Bundle // FW_PATH is defined on the compiler command line status = caliptra_upload_fw(&info->image_bundle, false);