Skip to content

Commit

Permalink
Fix unit_test after enhance gen_csr api
Browse files Browse the repository at this point in the history
Signed-off-by: Wenxing Hou <[email protected]>
  • Loading branch information
Wenxing-hou authored and jyao1 committed May 23, 2023
1 parent 882b841 commit 73f68e5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

#if LIBSPDM_ENABLE_CAPABILITY_GET_CSR_CAP

#define LIBSPDM_MAX_CSR_SIZE 0x1000

bool m_secured_on_off;

uint8_t temp_buf[LIBSPDM_RECEIVER_BUFFER_SIZE];
Expand Down
2 changes: 2 additions & 0 deletions unit_test/test_spdm_requester/get_csr.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

#if LIBSPDM_ENABLE_CAPABILITY_GET_CSR_CAP

#define LIBSPDM_MAX_CSR_SIZE 0x1000

uint8_t csr_pointer[LIBSPDM_MAX_CSR_SIZE] = {0};
uint8_t *csr_data_pointer = csr_pointer;
size_t global_csr_len;
Expand Down
2 changes: 2 additions & 0 deletions unit_test/test_spdm_responder/csr.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

#if LIBSPDM_ENABLE_CAPABILITY_GET_CSR_CAP

#define LIBSPDM_MAX_CSR_SIZE 0x1000

uint8_t m_csr_opaque_data[8] = "libspdm";

/*ECC 256 req_info(include right req_info attribute)*/
Expand Down

0 comments on commit 73f68e5

Please sign in to comment.