..no error if pcrEvent != NULL and data size != 20.

Is this regular?

________________________________
Da: Massimo Gaggiano<mailto:[email protected]>
Inviato: ‎08/‎06/‎2015 01:27
A: 
[email protected]<mailto:[email protected]>
Oggetto: [TrouSerS-users] PcrExtend() explanation

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
------------------------------------------------------------------------------
_______________________________________________
TrouSerS-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/trousers-users

Reply via email to