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

ESYS: Support of Cp and RpHashes from Esys Layer #2932

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

JuergenReppSIT
Copy link
Member

@JuergenReppSIT JuergenReppSIT commented Jan 16, 2025

  • The ESYS API is extended with the functions:
    Esys_GetCpHash, Esys_GetRpHash, and Esys_Abort.
    The cp hash can computed after the async call of a function. The rp hash
    after the finish call. If only the async call is executed to to compute the cp hash
    Esys_Abort has to be called to enable the execution of further ESYS commands.
  • The function Tss2_Sys_Abort to reset the SYS sate is added.
  • An integration test is added.
  • A tcti module which can only used for tcti initialization is added.

Addresses: #2930.

@JuergenReppSIT JuergenReppSIT marked this pull request as draft January 16, 2025 10:22
@JuergenReppSIT JuergenReppSIT force-pushed the esys-cp-rp-hash-functions branch 6 times, most recently from cf151c6 to 9d9ffc1 Compare January 16, 2025 17:15
@JuergenReppSIT JuergenReppSIT marked this pull request as ready for review January 16, 2025 17:50
@JuergenReppSIT JuergenReppSIT marked this pull request as draft January 16, 2025 19:52
The function is added to reset the internal state to enable a
second prepare call without finishing the complete sequence of
sys calls.

Signed-off-by: Juergen Repp <[email protected]>
@JuergenReppSIT JuergenReppSIT force-pushed the esys-cp-rp-hash-functions branch from 1486a77 to 1bbdf2c Compare January 16, 2025 21:33
@JuergenReppSIT JuergenReppSIT marked this pull request as ready for review January 16, 2025 21:52
@JuergenReppSIT JuergenReppSIT marked this pull request as draft January 17, 2025 09:24
@JuergenReppSIT JuergenReppSIT force-pushed the esys-cp-rp-hash-functions branch 11 times, most recently from 65cfea1 to 0e3085c Compare January 17, 2025 19:29
@JuergenReppSIT JuergenReppSIT marked this pull request as ready for review January 17, 2025 19:47
@JuergenReppSIT JuergenReppSIT marked this pull request as draft January 17, 2025 19:49
@JuergenReppSIT JuergenReppSIT force-pushed the esys-cp-rp-hash-functions branch from 0e3085c to 3647305 Compare January 17, 2025 19:56
The ESYS API is extended with the functions:
Esys_GetCpHash, Esys_GetRpHash, and Esys_Abort.
The cp hash can computed after the async call of a function.
The rp hash after the finish call. If only the async call is
executed to to compute the cp hash Esys_Abort has to be called
to enable the execution of further ESYS commands.
Addresses: tpm2-software#2930.

Signed-off-by: Juergen Repp <[email protected]>
A tcti module which can only used for tcti initialization is added.

Signed-off-by: Juergen Repp <[email protected]>
@JuergenReppSIT JuergenReppSIT force-pushed the esys-cp-rp-hash-functions branch from 3647305 to 965c6dd Compare January 18, 2025 11: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.

1 participant