Searched refs:contextBlob (Results 1 – 6 of 6) sorted by relevance
/external/tpm2/ |
D | Context_spt.c | 21 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 …]
|
D | ContextSave.c | 70 (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 …]
|
D | ContextLoad.c | 55 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()
|
D | Context_spt_fp.h | 9 void ComputeContextIntegrity(TPMS_CONTEXT *contextBlob, // IN: context blob 13 TPMS_CONTEXT *contextBlob, // IN: context blob
|
D | tpm_types.h | 1634 TPM2B_CONTEXT_DATA contextBlob; member
|
D | tpm_generated.c | 6666 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()
|