Hi all,
I use IBM Software TPM.

If the param 'pPcrEvent' is NULL I get the error 3003 "Bad parameter" 
when extending with data size different than 20.
(No error with "12345678901234567890")

Is there something I'm ignoring?

Thank you very much.
Max

Here is my code in summary:

const char *data = "s";
UINT32 dataLen = strlen(data);
Tspi_TPM_PcrExtend(hTPM, pcrIndex, dataLen, (BYTE *)data, NULL, \
                                          &pcrValueLen, &pcrValue);


------------------------------------------------------------------------------
_______________________________________________
TrouSerS-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/trousers-users

Reply via email to