Searched refs:marshalSize (Results 1 – 3 of 3) sorted by relevance
/external/tpm2/ |
D | TpmFail.c | 190 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 …]
|
D | PolicyLocality.c | 26 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()
|
D | SessionProcess.c | 567 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()
|