Skip to content

Commit

Permalink
Adding note on uninitialized response structs for libcaliptra test
Browse files Browse the repository at this point in the history
  • Loading branch information
nquarton authored and jhand2 committed Aug 26, 2024
1 parent 3679f2d commit ef83a0d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libcaliptra/examples/generic/test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit ef83a0d

Please sign in to comment.