Home
last modified time | relevance | path

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

/external/tpm2/
DContext_spt.c41 handle2B.t.size = sizeof(contextBlob->savedHandle); in ComputeContextProtectionKey()
42 MemoryCopy(handle2B.t.buffer, &contextBlob->savedHandle, in ComputeContextProtectionKey()
43 sizeof(contextBlob->savedHandle), in ComputeContextProtectionKey()
91 if(contextBlob->savedHandle == 0x80000002) in ComputeContextIntegrity()
98 CryptUpdateDigestInt(&hmacState, sizeof(contextBlob->savedHandle), in ComputeContextIntegrity()
99 &contextBlob->savedHandle); in ComputeContextIntegrity()
DContextLoad.c47 handleType = HandleGetType(in->context.savedHandle); in TPM2_ContextLoad()
100 in->context.savedHandle = TRANSIENT_FIRST; in TPM2_ContextLoad()
142 if(!SessionIsSaved(in->context.savedHandle)) in TPM2_ContextLoad()
147 result = SessionContextLoad(session, &in->context.savedHandle); in TPM2_ContextLoad()
151 out->loadedHandle = in->context.savedHandle; in TPM2_ContextLoad()
DContextSave.c53 out->context.savedHandle = in->saveHandle; in TPM2_ContextSave()
99 out->context.savedHandle = 0x80000001; in TPM2_ContextSave()
104 out->context.savedHandle = 0x80000002; in TPM2_ContextSave()
108 out->context.savedHandle = 0x80000000; in TPM2_ContextSave()
147 result = SessionContextSave(out->context.savedHandle, &contextID); in TPM2_ContextSave()
Dtpm_types.h1629 TPMI_DH_CONTEXT savedHandle; member
Dpart3.txt15992 39 out->context.savedHandle = in->saveHandle;
16038 80 // For regular object, savedHandle is 0x80000000. For sequence object,
16039 81 // savedHandle is 0x80000001. For object with stClear, savedHandle
16043 85 out->context.savedHandle = 0x80000001;
16048 90 out->context.savedHandle = 0x80000002;
16052 94 out->context.savedHandle = 0x80000000;
16096 133 result = SessionContextSave(out->context.savedHandle, &contextID);
16225 TPM_RC_HANDLE 'context. savedHandle' does not reference a saved session
16255 28 handleType = HandleGetType(in->context.savedHandle);
16313 80 in->context.savedHandle = TRANSIENT_FIRST;
[all …]
Dtpm_generated.c6660 total_size += TPMI_DH_CONTEXT_Marshal(&source->savedHandle, buffer, size); in TPMS_CONTEXT_Marshal()
6674 result = TPMI_DH_CONTEXT_Unmarshal(&target->savedHandle, buffer, size); in TPMS_CONTEXT_Unmarshal()
Dpart4.txt6292 30 handle2B.t.size = sizeof(contextBlob->savedHandle);
6293 31 MemoryCopy(handle2B.t.buffer, &contextBlob->savedHandle,
6294 32 sizeof(contextBlob->savedHandle),
6357 82 if(contextBlob->savedHandle == 0x80000002)
6366 91 CryptUpdateDigestInt(&hmacState, sizeof(contextBlob->savedHandle),
6367 92 &contextBlob->savedHandle);
/external/tpm2/generator/
Dstructures.txt1541 _NAME savedHandle
Draw_commands.txt28879 out->context.savedHandle = in->saveHandle;
28992 // For regular object, savedHandle is 0x80000000. For sequence object,
28993 // savedHandle is 0x80000001. For object with stClear, savedHandle
28997 out->context.savedHandle = 0x80000001;
29002 out->context.savedHandle = 0x80000002;
29006 out->context.savedHandle = 0x80000000;
29108 result = SessionContextSave(out->context.savedHandle, &contextID);
29280 'context. savedHandle' does not reference a saved session
29384 handleType = HandleGetType(in->context.savedHandle);
29503 in->context.savedHandle = TRANSIENT_FIRST;
[all …]
Draw_commands_fixed.txt28890 out->context.savedHandle = in->saveHandle;
29003 // For regular object, savedHandle is 0x80000000. For sequence object,
29004 // savedHandle is 0x80000001. For object with stClear, savedHandle
29008 out->context.savedHandle = 0x80000001;
29013 out->context.savedHandle = 0x80000002;
29017 out->context.savedHandle = 0x80000000;
29119 result = SessionContextSave(out->context.savedHandle, &contextID);
29291 'context. savedHandle' does not reference a saved session
29395 handleType = HandleGetType(in->context.savedHandle);
29514 in->context.savedHandle = TRANSIENT_FIRST;
[all …]
Draw_structures.txt723 savedHandle .......................................................................................…
15923 savedHandle
15968 14.6.2 savedHandle
15971 If the handle type for savedHandle is TPM_HT_TRANSIENT, then the low order bits are used to
Draw_structures_fixed.txt723 savedHandle .......................................................................................…
15898 savedHandle
15943 14.6.2 savedHandle
15946 If the handle type for savedHandle is TPM_HT_TRANSIENT, then the low order bits are used to