From: Raja <raj...@ho...> - 2015-03-12 21:25:10
|
Hi, I tried using jTPM to define NVRam space using both Local binding and SOAP binding (by changing the binding Type in jtss_tsp.ini file). SOAP works but Local bindind does not. Any ideas? C:\Jtt\jTpmTools\jTpmTools_0.7>jtt nv_definespace --index 0x00000013 --size 20 - o test1234 --------------------- IAIK Java TPM Tools --------------------- 11:51:16:456 [INFO] TcTddlVista::<clinit> (34): Windows Vista or higher detected . Using TBS based TPM access. 11:51:16:472 [INFO] TcTddlVista::loadLibFromPath (60): Native 32-bit Windows DL L loading from path failed. Attempting 64-bit version. 11:51:16:972 [INFO] TcTddlVista::loadLibFromJar (84): Native 32-bit Windows DL L loading from jar file failed. Attempting 64-bit version. 11:51:17:035 [INFO] TcTddlVista::<clinit> (39): Native Windows DLL loaded from j ar file. iaik.tc.tss.api.exceptions.tcs.TcTpmException: TSS Error: error layer: 0x00 (TPM) error code (without layer): 0x0400 error code (full): 0x80280400 error message: unknown at iaik.tc.tss.impl.java.tcs.pbg.TcTpmCmdCommon.handleRetCode(TcTpmCmdCo mmon.java:73) at iaik.tc.tss.impl.java.tcs.pbg.TcTpmCmdNvStorage.TpmNvDefineSpace(TcTp mCmdNvStorage.java:81) at iaik.tc.tss.impl.java.tcs.tcsi.TcTcsi.TcsipNvDefineOrReleaseSpace(TcT csi.java:3039) at iaik.tc.tss.impl.java.tsp.tcsbinding.local.TcTcsBindingLocal.TcsipNvD efineOrReleaseSpace(TcTcsBindingLocal.java:815) at iaik.tc.tss.impl.java.tsp.internal.TcTspInternal.TspNvDefineSpace_Int ernal(TcTspInternal.java:4612) at iaik.tc.tss.impl.java.tsp.TcNvRam.defineSpace(TcNvRam.java:200) at iaik.tc.apps.jtt.tboot.NvDefineSpace.execute(NvDefineSpace.java:240) at iaik.tc.utils.cmdline.SubCommand.run(SubCommand.java:69) at iaik.tc.utils.cmdline.SubCommandParser.parse(SubCommandParser.java:41 ) at iaik.tc.apps.JTpmTools.main(JTpmTools.java:224) 11:51:22:988 [ERROR] JTpmTools::main (235): application exits with error: TSS Error: error layer: 0x00 (TPM) error code (without layer): 0x0400 error code (full): 0x80280400 error message: unknown (return: -1) Here is output for the same command using SOAP binding. C:\Jtt\jTpmTools\jTpmTools_0.7>jtt nv_definespace --index 0x00000013 --size 20 -o test1234 --------------------- IAIK Java TPM Tools --------------------- successfully defined index 0x13 What is going wrong? I can't use SOAP binding for my implementation. Thanks Raja |