HomeSort by relevance Sort by last modified time
    Searched defs:integrity (Results 1 - 5 of 5) sorted by null

  /external/tpm2/
ContextLoad.c 19 // TPM_RC_INTEGRITY context integrity check fail
34 TPM2B_DIGEST integrity; local
49 // Check integrity
54 // Get integrity from context blob
57 result = TPM2B_DIGEST_Unmarshal(&integrity, &buffer, &size);
60 if(integrity.t.size != integritySize)
63 integritySize += sizeof(integrity.t.size);
66 // Compute context integrity
69 // Compare integrity
70 if(!Memory2BEqual(&integrity.b, &integrityToCompare.b)
    [all...]
ContextSave.c 31 TPM2B_DIGEST integrity; local
59 // Compute the integrity size at the beginning of context blob
60 integritySize = sizeof(integrity.t.size)
74 // defined. In this implementation, the size is size of integrity
124 // fingerprint plus the size of integrity
166 // Reserve the integrity space
181 // Compute integrity hash for the object
184 ComputeContextIntegrity(&out->context, &integrity);
186 // add integrity at the beginning of context blob
189 TPM2B_DIGEST_Marshal(&integrity, &buffer, &bufferSize)
    [all...]
Object_spt.c 145 // The sensitive area parameter is a buffer that holds a space for the integrity value and the marshaled
146 // sensitive area. The caller should skip over the area set aside for the integrity value and compute the hash
158 TPMI_ALG_HASH hashAlg, // IN: algorithm to use for integrity
164 TPM2B_DIGEST *integrity // OUT: integrity
175 KDFa(hashAlg, (TPM2B *)seed, "INTEGRITY", NULL, NULL,
177 // Start HMAC and get the size of the digest which will become the integrity
178 integrity->t.size = CryptStartHMAC2B(hashAlg, &hmacKey.b, &hmacState);
179 // Adding the marshaled sensitive area to the integrity value
184 CryptCompleteHMAC2B(&hmacState, &integrity->b)
234 TPM2B_DIGEST integrity; local
270 TPM2B_DIGEST integrity; local
722 TPM2B_DIGEST integrity; local
807 TPM2B_DIGEST integrity; local
    [all...]
tpm_types.h 1613 TPM2B_DIGEST integrity; member in struct:__anon23492
    [all...]
  /system/tpm/trunks/
tpm_generated.h 1592 TPM2B_DIGEST integrity; member in struct:trunks::TPMS_CONTEXT_DATA
    [all...]

Completed in 8758 milliseconds