Home
last modified time | relevance | path

Searched refs:marshalSize (Results 1 – 7 of 7) sorted by relevance

/external/tpm2/
DTpmFail.c190 UINT32 marshalSize; in TpmFailureMode() local
213 marshalSize = MarshalUint16(3 * sizeof(UINT32), &buffer, &bufferSize); in TpmFailureMode()
214 marshalSize += MarshalUint32(s_failFunction, &buffer, &bufferSize); in TpmFailureMode()
215 marshalSize += MarshalUint32(s_failLine, &buffer, &bufferSize); in TpmFailureMode()
216 marshalSize += MarshalUint32(s_failCode, &buffer, &bufferSize); in TpmFailureMode()
218 marshalSize += MarshalUint32(TPM_RC_NV_UNINITIALIZED, &buffer, &bufferSize); in TpmFailureMode()
220 marshalSize += MarshalUint32(TPM_RC_FAILURE, &buffer, &bufferSize); in TpmFailureMode()
265 marshalSize = 1; in TpmFailureMode()
267 marshalSize += MarshalUint32(capability, &buffer, &bufferSize); in TpmFailureMode()
269 marshalSize += MarshalUint32(count, &buffer, &bufferSize); in TpmFailureMode()
[all …]
DPolicyLocality.c26 UINT32 marshalSize; in TPM2_PolicyLocality() local
40 marshalSize = TPMA_LOCALITY_Marshal(&in->locality, &buffer, &bufferSize); in TPM2_PolicyLocality()
99 CryptUpdateDigest(&hashState, marshalSize, marshalBuffer); in TPM2_PolicyLocality()
108 (INT32 *) &marshalSize); in TPM2_PolicyLocality()
DSessionProcess.c567 UINT32 marshalSize; in ComputeCommandHMAC() local
658 marshalSize = TPMA_SESSION_Marshal(&(s_attributes[sessionIndex]), in ComputeCommandHMAC()
660 CryptUpdateDigest(&hmacState, marshalSize, marshalBuffer); in ComputeCommandHMAC()
1688 UINT32 marshalSize; in ComputeResponseHMAC() local
1729 marshalSize = TPMA_SESSION_Marshal(&s_attributes[sessionIndex], &buffer, &bufferSize); in ComputeResponseHMAC()
1730 CryptUpdateDigest(&hmacState, marshalSize, marshalBuffer); in ComputeResponseHMAC()
Dpart4.txt4359 470 UINT32 marshalSize;
4473 573 marshalSize = TPMA_SESSION_Marshal(&(s_attributes[sessionIndex]),
4475 575 CryptUpdateDigest(&hmacState, marshalSize, marshalBuffer);
5701 1539 UINT32 marshalSize;
5753 1585 marshalSize = TPMA_SESSION_Marshal(&s_attributes[sessionIndex], &buffer, NULL);
5754 1586 CryptUpdateDigest(&hmacState, marshalSize, marshalBuffer);
19082 119 UINT32 marshalSize;
19108 145 marshalSize = MarshalUint16(3 * sizeof(UINT32), &buffer);
19109 146 marshalSize += MarshalUint32(s_failFunction, &buffer);
19110 147 marshalSize += MarshalUint32(s_failLine, &buffer);
[all …]
Dpart3.txt11824 12 UINT32 marshalSize;
11836 24 marshalSize = TPMA_LOCALITY_Marshal(&in->locality, &buffer, NULL);
11899 82 CryptUpdateDigest(&hashState, marshalSize, marshalBuffer);
11908 91 (INT32 *) &marshalSize);
/external/tpm2/generator/
Draw_commands.txt21180 marshalSize;
21190 marshalSize = TPMA_LOCALITY_Marshal(&in->locality, &buffer, NULL);
21296 CryptUpdateDigest(&hashState, marshalSize, marshalBuffer);
21303 (INT32 *) &marshalSize);
Draw_commands_fixed.txt21191 marshalSize;
21201 marshalSize = TPMA_LOCALITY_Marshal(&in->locality, &buffer, NULL);
21307 CryptUpdateDigest(&hashState, marshalSize, marshalBuffer);
21314 (INT32 *) &marshalSize);