[Tpm4java-users] Using TPM_Loadkey2 instead TPM_Loadkey
Brought to you by:
tews
From: JESUS M. M. <je...@ti...> - 2009-05-21 14:23:53
|
Hi, I am using the method "createAndStoreKey" for create and store a new key... when this method calls to "TPM_LoadKey" the response of the TPM is not right, it must be "TPM_LoadKey2" method. Then like I have read in the specifications page, I replace the cmCode for LoadKey by the cmCode for LoadKey2 (I replace 32 by 65). And here is the problem, when the "TPM_LoadKey" verifies the reply of the TPM the tpm4java says: reply authentication failed This exception is logic because I change the cmCode as I said before... If I comment when "TPM_LoadKey" calls for verification the things go right :) but I think this is not the best way to avoid the exceptions... Someone knows how to check the response of the TPM when "TPM_LoadKey2" method is using instead "TPM_Loadkey"?? Thank you very much in advance Jesus Marcos |