Searched refs:marshalBuffer (Results 1 – 10 of 10) sorted by relevance
/external/tpm2/ |
D | PolicyLocality.c | 24 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()
|
D | Ticket.c | 31 BYTE *marshalBuffer; in TicketIsSafe() local 37 marshalBuffer = bufferToCompare; in TicketIsSafe() 39 TPM_GENERATED_Marshal(&valueToCompare, &marshalBuffer, &bufferSize); in TicketIsSafe()
|
D | Object.c | 723 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()
|
D | SessionProcess.c | 564 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()
|
D | NV.c | 1379 BYTE marshalBuffer[sizeof(TPMS_NV_PUBLIC)]; in NvGetName() local 1386 buffer = marshalBuffer; in NvGetName() 1391 CryptUpdateDigest(&hashState, dataSize, marshalBuffer); in NvGetName()
|
D | CryptUtil.c | 381 BYTE marshalBuffer[8]; in CryptUpdateDigestInt() 385 BYTE *q = marshalBuffer; in CryptUpdateDigestInt() 402 CryptUpdateDigest(state, intSize, marshalBuffer); in CryptUpdateDigestInt()
|
D | part4.txt | 4357 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 …]
|
D | part3.txt | 11822 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/ |
D | raw_commands.txt | 21178 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);
|
D | raw_commands_fixed.txt | 21189 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);
|