Skip to content

Commit 552957b

Browse files
Li-Aaronjyao1
authored andcommitted
fix device secret lib and remove deprecated marco after sync
Signed-off-by: Aaron Li <aaron.li@intel.com>
1 parent 947998e commit 552957b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

library/spdm_device_secret_lib_dump/lib.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,8 @@ bool libspdm_write_certificate_to_nvm(void *spdm_context, uint8_t slot_id,
233233
const void * cert_chain,
234234
size_t cert_chain_size,
235235
uint32_t base_hash_algo, uint32_t base_asym_algo,
236-
uint32_t pqc_asym_algo)
236+
uint32_t pqc_asym_algo,
237+
bool *need_reset, bool *is_busy)
237238
{
238239
return false;
239240
}
@@ -247,7 +248,7 @@ bool libspdm_gen_csr(void *spdm_context, uint32_t base_hash_algo,
247248
uint8_t *requester_info, size_t requester_info_length,
248249
uint8_t *opaque_data, uint16_t opaque_data_length,
249250
size_t *csr_len, uint8_t *csr_pointer,
250-
bool is_device_cert_model)
251+
bool is_device_cert_model, bool *is_busy, bool *unexpected_request)
251252
{
252253
return false;
253254
}

spdm_dump/spdm/spdm_dump_spdm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ size_t m_spdm_aead_value_string_table_count =
201201
LIBSPDM_ARRAY_SIZE(m_spdm_aead_value_string_table);
202202

203203
value_string_entry_t m_spdm_key_schedule_value_string_table[] = {
204-
{ SPDM_ALGORITHMS_KEY_SCHEDULE_HMAC_HASH, "HMAC_HASH" },
204+
{ SPDM_ALGORITHMS_KEY_SCHEDULE_SPDM, "HMAC_HASH" },
205205
};
206206
size_t m_spdm_key_schedule_value_string_table_count =
207207
LIBSPDM_ARRAY_SIZE(m_spdm_key_schedule_value_string_table);

0 commit comments

Comments
 (0)