Hi all,

My goal is to use run TPM_ORD_ReleaseTransportSigned command with AUTH2.

In order to use AUTH2 in testsuit-0.3, I modified the object creation for
signing key with TSS_KEY_AUTHORIZATION instead of TSS_KEY_NO_AUTHORIZATION.

Tspi_Context_CreateObject(hContext, TSS_OBJECT_TYPE_RSAKEY,
                                TSS_KEY_SIZE_512 | TSS_KEY_TYPE_SIGNING |
                                *TSS_KEY_AUTHORIZATION*, hSigningKey);

Then, it hangs at Tspi_Context_CloseSignTransport function.

In trousers-0.3.11, I need to modified obj_context_transport_close function
in order to let it pass TRUE cas value to secret_PerformAuth_OIAP function.

secret_PerformAuth_OIAP(hKey, TPM_ORD_ReleaseTransportSigned, hPolicy, *TRUE
*, &digest, &auth)))



I am wondering why does the continue_auth_session need to be TRUE in order
to complete TPM_ORD_ReleaseTransportSigned command with AUTH2.

Do I miss anything here? Please help!
------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
TrouSerS-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/trousers-users

Reply via email to