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 support for ST33 vendor specific command TPM_CC_GetRandom2 #200

Merged
merged 3 commits into from
Feb 9, 2022

Conversation

dgarske
Copy link
Contributor

@dgarske dgarske commented Jan 24, 2022

Allows getting DRBG data up to TPM2B_MAX_BUFFER in size. ZD13545

@dgarske dgarske requested a review from elms January 24, 2022 16:57
@dgarske dgarske self-assigned this Jan 24, 2022
Copy link

@elms elms left a comment

Choose a reason for hiding this comment

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

Looks good.

I don't see a way to exercise this and test it.

@dgarske
Copy link
Contributor Author

dgarske commented Jan 31, 2022

Customer is happy with this. @elms over to you for final. Thanks

@dgarske dgarske assigned elms and unassigned dgarske Jan 31, 2022
@dgarske
Copy link
Contributor Author

dgarske commented Feb 1, 2022

I will add a test case to call it for ST33 cases.

@dgarske dgarske assigned dgarske and unassigned elms Feb 1, 2022
@dgarske dgarske requested a review from elms February 2, 2022 21:45
@dgarske dgarske assigned elms and unassigned dgarske Feb 2, 2022
examples/native/native_test.c Show resolved Hide resolved
…ch allows getting DRBG data up to `TPM2B_MAX_BUFFER` in size.
… Some older STM33 TPM firmware does not support this command. Fix to make sure we don't request more random data than the response can physically handle.
@elms elms merged commit 25fff37 into wolfSSL:master Feb 9, 2022
@dgarske dgarske deleted the st33_tpm2 branch June 27, 2022 20:05
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.

2 participants