Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libspdm: spdm: Fixup info buffer pointer for hkdf_expand #92

Merged
merged 1 commit into from
Jul 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/libspdm/spdm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1209,9 +1209,9 @@
#[no_mangle]
pub unsafe extern "C" fn libspdm_write_certificate_to_nvm(
_spdm_context: *mut c_void,
slot_id: u8,

Check warning on line 1212 in src/libspdm/spdm.rs

View workflow job for this annotation

GitHub Actions / ci-check

unused variable: `slot_id`

Check warning on line 1212 in src/libspdm/spdm.rs

View workflow job for this annotation

GitHub Actions / ci-check

unused variable: `slot_id`
cert_chain: *const c_void,

Check warning on line 1213 in src/libspdm/spdm.rs

View workflow job for this annotation

GitHub Actions / ci-check

unused variable: `cert_chain`

Check warning on line 1213 in src/libspdm/spdm.rs

View workflow job for this annotation

GitHub Actions / ci-check

unused variable: `cert_chain`
cert_chain_size: usize,

Check warning on line 1214 in src/libspdm/spdm.rs

View workflow job for this annotation

GitHub Actions / ci-check

unused variable: `cert_chain_size`

Check warning on line 1214 in src/libspdm/spdm.rs

View workflow job for this annotation

GitHub Actions / ci-check

unused variable: `cert_chain_size`
_base_hash_algo: u32,
_base_asym_algo: u32,
) -> bool {
Expand Down Expand Up @@ -2334,7 +2334,7 @@
base_hash_algo,
master_secret.as_mut_ptr(),
hash_size,
&info as *const _ as *const u8,
info,
info_size,
out,
out_size,
Expand Down
Loading