Home
last modified time | relevance | path

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

/external/tpm2/
DContext_spt.c21 TPMS_CONTEXT *contextBlob, // IN: context blob in ComputeContextProtectionKey() argument
34 proof = HierarchyGetProof(contextBlob->hierarchy); in ComputeContextProtectionKey()
36 sequence2B.t.size = sizeof(contextBlob->sequence); in ComputeContextProtectionKey()
37 MemoryCopy(sequence2B.t.buffer, &contextBlob->sequence, in ComputeContextProtectionKey()
38 sizeof(contextBlob->sequence), in ComputeContextProtectionKey()
41 handle2B.t.size = sizeof(contextBlob->savedHandle); in ComputeContextProtectionKey()
42 MemoryCopy(handle2B.t.buffer, &contextBlob->savedHandle, in ComputeContextProtectionKey()
43 sizeof(contextBlob->savedHandle), in ComputeContextProtectionKey()
71 TPMS_CONTEXT *contextBlob, // IN: context blob in ComputeContextIntegrity() argument
79 proof = HierarchyGetProof(contextBlob->hierarchy); in ComputeContextIntegrity()
[all …]
DContextSave.c70 (OBJECT *)(out->context.contextBlob.t.buffer in TPM2_ContextSave()
76 out->context.contextBlob.t.size = integritySize + in TPM2_ContextSave()
79 pAssert(out->context.contextBlob.t.size in TPM2_ContextSave()
80 < sizeof(out->context.contextBlob.t.buffer)); in TPM2_ContextSave()
125 out->context.contextBlob.t.size = integritySize + in TPM2_ContextSave()
129 pAssert(out->context.contextBlob.t.size in TPM2_ContextSave()
130 < sizeof(out->context.contextBlob.t.buffer)); in TPM2_ContextSave()
136 MemoryCopy(out->context.contextBlob.t.buffer in TPM2_ContextSave()
139 sizeof(out->context.contextBlob.t.buffer) in TPM2_ContextSave()
167 MemoryCopy(out->context.contextBlob.t.buffer + integritySize, in TPM2_ContextSave()
[all …]
DContextLoad.c55 buffer = in->context.contextBlob.t.buffer; in TPM2_ContextLoad()
56 size = (INT32) in->context.contextBlob.t.size; in TPM2_ContextLoad()
77 CryptSymmetricDecrypt(in->context.contextBlob.t.buffer + integritySize, in TPM2_ContextLoad()
80 in->context.contextBlob.t.size - integritySize, in TPM2_ContextLoad()
81 in->context.contextBlob.t.buffer + integritySize); in TPM2_ContextLoad()
84 MemoryCopy(&fingerprint, in->context.contextBlob.t.buffer + integritySize, in TPM2_ContextLoad()
96 OBJECT *outObject = (OBJECT *)(in->context.contextBlob.t.buffer in TPM2_ContextLoad()
125 SESSION *session = (SESSION *)(in->context.contextBlob.t.buffer in TPM2_ContextLoad()
DContext_spt_fp.h9 void ComputeContextIntegrity(TPMS_CONTEXT *contextBlob, // IN: context blob
13 TPMS_CONTEXT *contextBlob, // IN: context blob
Dtpm_types.h1634 TPM2B_CONTEXT_DATA contextBlob; member
Dtpm_generated.c6666 total_size += TPM2B_CONTEXT_DATA_Marshal(&source->contextBlob, buffer, size); in TPMS_CONTEXT_Marshal()
6686 result = TPM2B_CONTEXT_DATA_Unmarshal(&target->contextBlob, buffer, size); in TPMS_CONTEXT_Unmarshal()