Lines Matching refs:object

52          if(s_objects[i].object.entity.attributes.evict == SET)  in ObjectCleanupEvict()
101 OBJECT *object // IN: handle to be checked in ObjectIsSequence() argument
104 pAssert (object != NULL); in ObjectIsSequence()
105 if( object->attributes.hmacSeq == SET in ObjectIsSequence()
106 || object->attributes.hashSeq == SET in ObjectIsSequence()
107 || object->attributes.eventSeq == SET) in ObjectIsSequence()
129 return &s_objects[handle - TRANSIENT_FIRST].object.entity; in ObjectGet()
146 OBJECT *object = ObjectGet(handle); in ObjectGetName() local
147 if(object->publicArea.nameAlg == TPM_ALG_NULL) in ObjectGetName()
150 MemoryCopy(name, object->name.t.name, object->name.t.size, sizeof(NAME)); in ObjectGetName()
151 return object->name.t.size; in ObjectGetName()
165 OBJECT *object = ObjectGet(handle); in ObjectGetNameAlg() local
166 return object->publicArea.nameAlg; in ObjectGetNameAlg()
185 OBJECT *object = ObjectGet(handle); in ObjectGetQualifiedName() local
186 if(object->publicArea.nameAlg == TPM_ALG_NULL) in ObjectGetQualifiedName()
190 *qualifiedName = object->qualifiedName; in ObjectGetQualifiedName()
201 OBJECT *object // IN :object in ObjectDataGetHierarchy() argument
204 if(object->attributes.spsHierarchy) in ObjectDataGetHierarchy()
208 else if(object->attributes.epsHierarchy) in ObjectDataGetHierarchy()
212 else if(object->attributes.ppsHierarchy) in ObjectDataGetHierarchy()
235 OBJECT *object = ObjectGet(handle); in ObjectGetHierarchy() local
236 return ObjectDataGetHierarchy(object); in ObjectGetHierarchy()
252 OBJECT **object // OUT: points to the allocated object in ObjectAllocateSlot() argument
270 *object = &s_objects[i].object.entity; in ObjectAllocateSlot()
272 MemorySet(*object, 0, sizeof(**object)); in ObjectAllocateSlot()
304 OBJECT *object = NULL; in ObjectLoad() local
309 if(!ObjectAllocateSlot(handle, &object)) in ObjectLoad()
312 object->publicArea = *publicArea; in ObjectLoad()
314 object->sensitive = *sensitive; in ObjectLoad()
319 if(!CryptObjectIsPublicConsistent(&object->publicArea)) in ObjectLoad()
327 result = CryptObjectPublicPrivateMatch(object); in ObjectLoad()
332 object->attributes.publicOnly = (sensitive == NULL); in ObjectLoad()
338 object->qualifiedName.t.size = 0; in ObjectLoad()
339 object->name.t.size = 0; in ObjectLoad()
340 object->attributes.temporary = SET; in ObjectLoad()
360 object->attributes.stClear = SET; in ObjectLoad()
362 object->name = *name; in ObjectLoad()
365 name, &object->qualifiedName); in ObjectLoad()
369 object->attributes.temporary = SET; in ObjectLoad()
375 object->attributes.primary = SET; in ObjectLoad()
380 object->attributes.ppsHierarchy = SET; in ObjectLoad()
383 object->attributes.spsHierarchy = SET; in ObjectLoad()
386 object->attributes.epsHierarchy = SET; in ObjectLoad()
410 HASH_OBJECT **object, // OUT: receives pointer to allocated object in AllocateSequenceSlot() argument
417 *object = (HASH_OBJECT *)objectHash; in AllocateSequenceSlot()
420 pAssert(&((*object)->auth) == &objectHash->publicArea.authPolicy); in AllocateSequenceSlot()
423 (*object)->type = TPM_ALG_NULL; in AllocateSequenceSlot()
425 (*object)->nameAlg = TPM_ALG_NULL; in AllocateSequenceSlot()
427 MemorySet(&((*object)->objectAttributes), 0, sizeof(TPMA_OBJECT)); in AllocateSequenceSlot()
430 (*object)->attributes.temporary = SET; in AllocateSequenceSlot()
432 (*object)->objectAttributes.noDA = SET; in AllocateSequenceSlot()
436 (*object)->auth = *auth; in AllocateSequenceSlot()
439 (*object)->auth.t.size = 0; in AllocateSequenceSlot()
581 OBJECT *object, // IN: object structure from saved context in ObjectContextLoad() argument
590 *newObject = *object; in ObjectContextLoad()
610 MemorySet((BYTE*)&(s_objects[index].object.entity.attributes), in ObjectFlush()
635 if(s_objects[i].object.entity.attributes.ppsHierarchy == SET) in ObjectFlushHierarchy()
639 if(s_objects[i].object.entity.attributes.spsHierarchy == SET) in ObjectFlushHierarchy()
643 if(s_objects[i].object.entity.attributes.epsHierarchy == SET) in ObjectFlushHierarchy()
676 OBJECT *object; in ObjectLoadEvict() local
689 if(!ObjectAllocateSlot(handle, &object)) in ObjectLoadEvict()
695 result = NvGetEvictObject(evictHandle, object); in ObjectLoadEvict()
704 if( ObjectDataGetHierarchy(object) == TPM_RH_ENDORSEMENT in ObjectLoadEvict()
820 OBJECT *object = ObjectGet(handle); in ObjectIsStorage() local
821 return ObjectDataIsStorage(&object->publicArea); in ObjectIsStorage()
855 pAssert(s_objects[i].object.entity.attributes.evict == CLEAR); in ObjectCapGetLoaded()