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

Add key_pair_id for libspdm_gen_csr_ex #2551

Merged
merged 1 commit into from
Feb 22, 2024

Conversation

Wenxing-hou
Copy link
Contributor

Fix: #2550

@Wenxing-hou Wenxing-hou force-pushed the add_parameter_keypairid branch from 14dcc56 to 2392cba Compare February 2, 2024 01:47
@jyao1 jyao1 requested a review from steven-bellock February 2, 2024 01:52
@@ -92,6 +92,8 @@ extern bool libspdm_gen_csr(uint32_t base_hash_algo, uint32_t base_asym_algo, bo
*
* @param[in, out] req_csr_tracking_tag For input, this field shall contain the CSRTrackingTag of the associated GET_CSR request.
* For output, this field indicate responder available csr_tracking_tag.
* @param[in] key_pair_id The value of this field shall be the unique key pair number identifying the desired
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

key_pair_id -> req_key_pair_id

Indicates the desired key pair associated with the CSR.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. That's right. I have changed the code.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also change the text from

The value of this field shall be the unique key pair number identifying the desired asymmetric key pair to associate with SlotID.

to

Indicates the desired key pair associated with the CSR.

There is no SlotID associated with a CSR.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. I have updated the comment.

@Wenxing-hou Wenxing-hou force-pushed the add_parameter_keypairid branch from 2392cba to 857cb52 Compare February 4, 2024 02:03
Fix the issue: DMTF#2550

Signed-off-by: Wenxing Hou <[email protected]>
@jyao1 jyao1 merged commit 0f035a9 into DMTF:main Feb 22, 2024
95 checks passed
@Wenxing-hou Wenxing-hou deleted the add_parameter_keypairid branch July 3, 2024 06:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

libspdm_gen_csr_ex is missing parameter for KeyPairID.
3 participants