It stopped in secret_PerformAuth_OIAP() when continue auth session is set
to FALSE.
I found there is a MUTEX_LOCK (line 92 in tspi/obj.c).
refer to the same function secret_PerformAuth_OIAP() called in
obj_context_transport_establish(), it uses TRUE for continueAuthSession.
continueAuthSession as TRUE is to open OIAP session.
I think continueAuthSession should be the same value, TRUE, in both
obj_context_transport_establish() and obj_context_transport_close().
-- Tien-hung
> 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-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/trousers-tech