-
Notifications
You must be signed in to change notification settings - Fork 364
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
Fix tests with a physical tpm #2871
Fix tests with a physical tpm #2871
Conversation
Signed-off-by: Johannes Holland <johannes.holland@infineon.de>
47ac4b0
to
24e2f6a
Compare
tpm2-tss/src/tss2-tcti/tcti-mssim.c Line 366 in 3f5a456
tpm2-tss/src/tss2-tcti/tcti-mssim.c Line 424 in 3f5a456
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix also the other two calls of socket_recv_buf()
in tcti-mssim.
tcti-swtpm is fine.
The cast ssize_t for a variable with type TSS2_RC is removed. Signed-off-by: Juergen Repp <juergen_repp@web.de>
Several tests failed when sha384 was nor available on the TPM. SHA384 is removed from tests and profiles which are executed as default. SHA384 was not removed from the SHA384 profiles which have to be explicitly configured if the tests are executed with a physical TPM. Signed-off-by: Juergen Repp <juergen_repp@web.de>
* The test failed if policy-execute was executed whith a physical TPM which did not support sha384 * The test with the policy "pol_authorize_ecc_pem" failed for an IFX TPM SLB 9673 and is now skipped. Signed-off-by: Juergen Repp <juergen_repp@web.de>
24e2f6a
to
7a37315
Compare
@JuergenReppSIT Thanks for fixing this (including the things I broke)! Looks good. |
Fixed: #2873