Home
last modified time | relevance | path

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

/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DTicket.c58 TPM_CONSTANTS32 valueToCompare = TPM_GENERATED_VALUE; in TicketIsSafe() local
59 BYTE bufferToCompare[sizeof(valueToCompare)]; in TicketIsSafe()
64 if(buffer->size < sizeof(valueToCompare)) in TicketIsSafe()
67 TPM_CONSTANTS32_Marshal(&valueToCompare, &marshalBuffer, NULL); in TicketIsSafe()
68 if(MemoryEqual(buffer->buffer, bufferToCompare, sizeof(valueToCompare))) in TicketIsSafe()