Skip to content

Commit

Permalink
Fix CXL IDE Key init value.
Browse files Browse the repository at this point in the history
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
  • Loading branch information
jyao1 committed Sep 30, 2024
1 parent 605555c commit c1d8a3f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spdm_emu/spdm_requester_emu/spdm_requester_pci_doe.c
Original file line number Diff line number Diff line change
Expand Up @@ -331,9 +331,9 @@ libspdm_return_t cxl_ide_km_process_session_message(void *spdm_context, uint32_t
if (!result) {
return LIBSPDM_STATUS_LOW_ENTROPY;
}
key_buffer.iv[0] = 0;
key_buffer.iv[1] = 1;
key_buffer.iv[2] = 2;
key_buffer.iv[0] = 0x80000000;
key_buffer.iv[1] = 0;
key_buffer.iv[2] = 1;
status = cxl_ide_km_key_prog (m_pci_doe_context, spdm_context, &session_id,
0, CXL_IDE_KM_KEY_DIRECTION_TX | CXL_IDE_KM_KEY_IV_INITIAL |
CXL_IDE_KM_KEY_SUB_STREAM_CXL, 0,
Expand Down

0 comments on commit c1d8a3f

Please sign in to comment.