Home
last modified time | relevance | path

Searched refs:marshalBuffer (Results 1 – 4 of 4) sorted by relevance

/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/EA/
DPolicyLocality.c51 BYTE marshalBuffer[sizeof(TPMA_LOCALITY)]; in TPM2_PolicyLocality() local
64 marshalBuffer[0] = 0; // Code analysis says that this is not initialized in TPM2_PolicyLocality()
65 buffer = marshalBuffer; in TPM2_PolicyLocality()
69 if(marshalBuffer[0] == 0) in TPM2_PolicyLocality()
81 && ((prevSetting[0] < 32) != (marshalBuffer[0] < 32))) in TPM2_PolicyLocality()
85 if(marshalBuffer[0] < 32) in TPM2_PolicyLocality()
93 prevSetting[0] &= marshalBuffer[0]; in TPM2_PolicyLocality()
103 if(prevSetting[0] != 0 && prevSetting[0] != marshalBuffer[0]) in TPM2_PolicyLocality()
107 prevSetting[0] = marshalBuffer[0]; in TPM2_PolicyLocality()
124 CryptDigestUpdate(&hashState, marshalSize, marshalBuffer); in TPM2_PolicyLocality()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DTicket.c60 BYTE *marshalBuffer; in TicketIsSafe() local
66 marshalBuffer = bufferToCompare; in TicketIsSafe()
67 TPM_CONSTANTS32_Marshal(&valueToCompare, &marshalBuffer, NULL); in TicketIsSafe()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/main/
DSessionProcess.c820 BYTE marshalBuffer[sizeof(TPMA_SESSION)]; in ComputeCommandHMAC() local
903 buffer = marshalBuffer; in ComputeCommandHMAC()
906 CryptDigestUpdate(&hmacState.hashState, marshalSize, marshalBuffer); in ComputeCommandHMAC()
1970 BYTE marshalBuffer[sizeof(TPMA_SESSION)]; in ComputeResponseHMAC() local
2014 buffer = marshalBuffer; in ComputeResponseHMAC()
2016 CryptDigestUpdate(&hmacState.hashState, marshalSize, marshalBuffer); in ComputeResponseHMAC()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/
DNvDynamic.c1188 BYTE marshalBuffer[sizeof(TPMS_NV_PUBLIC)]; in NvGetIndexName() local
1193 buffer = marshalBuffer; in NvGetIndexName()
1198 CryptDigestUpdate(&hashState, dataSize, marshalBuffer); in NvGetIndexName()