Searched refs:marshalBuffer (Results 1 – 6 of 6) 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 | 1498 BYTE marshalBuffer[sizeof(TPMS_NV_PUBLIC)]; in NvGetName() local 1505 buffer = marshalBuffer; in NvGetName() 1510 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()
|