Home
last modified time | relevance | path

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

/external/tpm2/
DPolicyLocality.c24 BYTE marshalBuffer[sizeof(TPMA_LOCALITY)]; in TPM2_PolicyLocality() local
38 buffer = marshalBuffer; in TPM2_PolicyLocality()
43 if(marshalBuffer[0] == 0) in TPM2_PolicyLocality()
55 && ((prevSetting[0] < 32) != (marshalBuffer[0] < 32))) in TPM2_PolicyLocality()
59 if(marshalBuffer[0] < 32) in TPM2_PolicyLocality()
67 prevSetting[0] &= marshalBuffer[0]; in TPM2_PolicyLocality()
77 if(prevSetting[0] != 0 && prevSetting[0] != marshalBuffer[0]) in TPM2_PolicyLocality()
81 prevSetting[0] = marshalBuffer[0]; in TPM2_PolicyLocality()
99 CryptUpdateDigest(&hashState, marshalSize, marshalBuffer); in TPM2_PolicyLocality()
DTicket.c31 BYTE *marshalBuffer; in TicketIsSafe() local
37 marshalBuffer = bufferToCompare; in TicketIsSafe()
39 TPM_GENERATED_Marshal(&valueToCompare, &marshalBuffer, &bufferSize); in TicketIsSafe()
DObject.c723 TPM2B_PUBLIC marshalBuffer; in ObjectComputeName() local
736 buffer = marshalBuffer.b.buffer; in ObjectComputeName()
738 marshalBuffer.t.size = TPMT_PUBLIC_Marshal(publicArea, &buffer, &bufferSize); in ObjectComputeName()
740 CryptUpdateDigest2B(&hashState, &marshalBuffer.b); in ObjectComputeName()
DSessionProcess.c564 BYTE marshalBuffer[sizeof(TPMA_SESSION)]; in ComputeCommandHMAC() local
656 buffer = marshalBuffer; in ComputeCommandHMAC()
660 CryptUpdateDigest(&hmacState, marshalSize, marshalBuffer); in ComputeCommandHMAC()
1685 BYTE marshalBuffer[sizeof(TPMA_SESSION)]; in ComputeResponseHMAC() local
1727 buffer = marshalBuffer; in ComputeResponseHMAC()
1730 CryptUpdateDigest(&hmacState, marshalSize, marshalBuffer); in ComputeResponseHMAC()
DNV.c1379 BYTE marshalBuffer[sizeof(TPMS_NV_PUBLIC)]; in NvGetName() local
1386 buffer = marshalBuffer; in NvGetName()
1391 CryptUpdateDigest(&hashState, dataSize, marshalBuffer); in NvGetName()
DCryptUtil.c381 BYTE marshalBuffer[8]; in CryptUpdateDigestInt()
385 BYTE *q = marshalBuffer; in CryptUpdateDigestInt()
402 CryptUpdateDigest(state, intSize, marshalBuffer); in CryptUpdateDigestInt()
Dpart4.txt4357 468 BYTE marshalBuffer[sizeof(TPMA_SESSION)];
4472 572 buffer = marshalBuffer;
4475 575 CryptUpdateDigest(&hmacState, marshalSize, marshalBuffer);
5699 1537 BYTE marshalBuffer[sizeof(TPMA_SESSION)];
5752 1584 buffer = marshalBuffer;
5754 1586 CryptUpdateDigest(&hmacState, marshalSize, marshalBuffer);
10641 1099 BYTE marshalBuffer[sizeof(TPMS_NV_PUBLIC)];
10649 1107 buffer = marshalBuffer;
10654 1112 CryptUpdateDigest(&hashState, dataSize, marshalBuffer);
12152 573 TPM2B_PUBLIC marshalBuffer;
[all …]
Dpart3.txt11822 10 BYTE marshalBuffer[sizeof(TPMA_LOCALITY)];
11835 23 buffer = marshalBuffer;
11839 27 if(marshalBuffer[0] == 0)
11850 38 && ((prevSetting[0] < 32) != (marshalBuffer[0] < 32)))
11854 42 if(marshalBuffer[0] < 32)
11862 50 prevSetting[0] &= marshalBuffer[0];
11877 60 if(prevSetting[0] != 0 && prevSetting[0] != marshalBuffer[0])
11881 64 prevSetting[0] = marshalBuffer[0];
11899 82 CryptUpdateDigest(&hashState, marshalSize, marshalBuffer);
/external/tpm2/generator/
Draw_commands.txt21178 marshalBuffer[sizeof(TPMA_LOCALITY)];
21189 buffer = marshalBuffer;
21192 if(marshalBuffer[0] == 0)
21199 if(prevSetting[0] != 0 && ((prevSetting[0] <= 0) != (marshalBuffer[0] <= 0)))
21202 if(marshalBuffer[0] < 32)
21272 prevSetting[0] &= marshalBuffer[0];
21281 if(prevSetting[0] != 0 && prevSetting[0] != marshalBuffer[0])
21284 prevSetting[0] = marshalBuffer[0];
21296 CryptUpdateDigest(&hashState, marshalSize, marshalBuffer);
Draw_commands_fixed.txt21189 marshalBuffer[sizeof(TPMA_LOCALITY)];
21200 buffer = marshalBuffer;
21203 if(marshalBuffer[0] == 0)
21210 if(prevSetting[0] != 0 && ((prevSetting[0] <= 0) != (marshalBuffer[0] <= 0)))
21213 if(marshalBuffer[0] < 32)
21283 prevSetting[0] &= marshalBuffer[0];
21292 if(prevSetting[0] != 0 && prevSetting[0] != marshalBuffer[0])
21295 prevSetting[0] = marshalBuffer[0];
21307 CryptUpdateDigest(&hashState, marshalSize, marshalBuffer);