Searched refs:marshalSize (Results 1 – 3 of 3) sorted by relevance
/external/ms-tpm-20-ref/TPMCmd/tpm/src/support/ |
D | TpmFail.c | 266 UINT32 marshalSize; in TpmFailureMode() local 293 marshalSize = MarshalUint16(3 * sizeof(UINT32), &buffer); in TpmFailureMode() 294 marshalSize += MarshalUint32(s_failFunction, &buffer); in TpmFailureMode() 295 marshalSize += MarshalUint32(s_failLine, &buffer); in TpmFailureMode() 296 marshalSize += MarshalUint32(s_failCode, &buffer); in TpmFailureMode() 298 marshalSize += MarshalUint32(TPM_RC_NV_UNINITIALIZED, &buffer); in TpmFailureMode() 300 marshalSize += MarshalUint32(TPM_RC_FAILURE, &buffer); in TpmFailureMode() 338 marshalSize = 1; in TpmFailureMode() 341 marshalSize += MarshalUint32(capability, &buffer); in TpmFailureMode() 343 marshalSize += MarshalUint32(count, &buffer); in TpmFailureMode() [all …]
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/EA/ |
D | PolicyLocality.c | 53 UINT32 marshalSize; in TPM2_PolicyLocality() local 66 marshalSize = TPMA_LOCALITY_Marshal(&in->locality, &buffer, NULL); in TPM2_PolicyLocality() 124 CryptDigestUpdate(&hashState, marshalSize, marshalBuffer); in TPM2_PolicyLocality() 133 (INT32 *)&marshalSize); in TPM2_PolicyLocality()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/main/ |
D | SessionProcess.c | 822 UINT32 marshalSize; in ComputeCommandHMAC() local 904 marshalSize = TPMA_SESSION_Marshal(&(s_attributes[sessionIndex]), in ComputeCommandHMAC() 906 CryptDigestUpdate(&hmacState.hashState, marshalSize, marshalBuffer); in ComputeCommandHMAC() 1972 UINT32 marshalSize; in ComputeResponseHMAC() local 2015 marshalSize = TPMA_SESSION_Marshal(&s_attributes[sessionIndex], &buffer, NULL); in ComputeResponseHMAC() 2016 CryptDigestUpdate(&hmacState.hashState, marshalSize, marshalBuffer); in ComputeResponseHMAC()
|