Skip to content

Conversation

@paulbartell
Copy link

The logic in the flush_handle function of ESAPI.py is incorrect.

Rather than comparing handles against the 24-bit left shifted TPM2_HT type, It uses the TPM2_HR type. Thus all calls to flush_handle prior to this change set never actually flushed the given handle.

…text

Replace TPM2_HT with TPM2_HR so that the correct bits are checked to deteremine if an object handle is transient.

Signed-off-by: pbartell <[email protected]>
@whooo
Copy link
Contributor

whooo commented Apr 6, 2025

Fix the style check, the other issues is due to changes in upstream, I'll fix them

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