Home
last modified time | relevance | path

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

/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Context/
DContextSave.c64 UINT16 integritySize; in TPM2_ContextSave() local
93 integritySize = sizeof(integrity.t.size) in TPM2_ContextSave()
107 + integritySize + fingerprintSize); in TPM2_ContextSave()
112 out->context.contextBlob.t.size = integritySize + in TPM2_ContextSave()
161 out->context.contextBlob.t.size = integritySize + in TPM2_ContextSave()
173 - integritySize - fingerprintSize); in TPM2_ContextSave()
174 MemoryCopy(out->context.contextBlob.t.buffer + integritySize in TPM2_ContextSave()
202 sizeof(out->context.contextBlob.t.buffer) - integritySize); in TPM2_ContextSave()
203 MemoryCopy(out->context.contextBlob.t.buffer + integritySize, in TPM2_ContextSave()
210 CryptSymmetricEncrypt(out->context.contextBlob.t.buffer + integritySize, in TPM2_ContextSave()
[all …]
DContext_spt.c145 UINT16 integritySize; in ComputeContextIntegrity() local
155 integritySize = sizeof(integrity->t.size) + integrity->t.size; in ComputeContextIntegrity()
179 contextBlob->contextBlob.t.size - integritySize, in ComputeContextIntegrity()
180 contextBlob->contextBlob.t.buffer + integritySize); in ComputeContextIntegrity()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Object/
DObject_spt.c259 UINT16 integritySize; in ProduceInnerIntegrity() local
263 integritySize = sizeof(UINT16) + CryptHashGetDigestSize(hashAlg); in ProduceInnerIntegrity()
264 sensitiveData = innerBuffer + integritySize; in ProduceInnerIntegrity()
272 return dataSize + integritySize; in ProduceInnerIntegrity()
829 UINT16 integritySize; in ProduceOuterWrap() local
834 integritySize = sizeof(UINT16) + CryptHashGetDigestSize(hashAlg); in ProduceOuterWrap()
835 sensitiveData = outerBuffer + integritySize; in ProduceOuterWrap()
867 outerBuffer + integritySize, &integrity); in ProduceOuterWrap()
873 return dataSize + integritySize + ivSize; in ProduceOuterWrap()
1031 UINT16 integritySize; in SensitiveToPrivate() local
[all …]
/external/ms-tpm-20-ref/TPMCmd/tpm/src/support/
DTpmSizeChecks.c131 UINT32 integritySize = sizeof(UINT16) in TpmSizeChecks() local
135 UINT32 biggestContext = fingerprintSize + integritySize + biggestObject; in TpmSizeChecks()