Lines Matching full:session
241 // Active Session Context
245 // The structures in this section define the internal structure of a session context.
249 // The attributes in the SESSION_ATTRIBUTES structure track the various properties of the session. It
250 // maintains most of the tracking state information for the policy session. It is used within the SESSION
255 unsigned isPolicy : 1; //1) SET if the session may only
257 unsigned isAudit : 1; //2) SET if the session is used
259 unsigned isBound : 1; //3) SET if the session is bound to
268 // for computing the session HMAC.
281 unsigned isTrialPolicy : 1; //8) SET if the policy session is
288 // auth failure using this session
292 unsigned isLockoutBound : 1; //10)SET if the session is bound to
294 unsigned requestWasBound : 1;//11) SET if the session is being used
309 // SESSION Structure
311 // The SESSION structure contains all the context of a session except for the associated contextID.
313 // NOTE: The contextID of a session is only relevant when the session context is stored off the TPM.
317 TPM_ALG_ID authHashAlg; // session hash algorithm
319 // this session
320 TPMT_SYM_DEF symmetric; // session symmetric algorithm (if any)
321 TPM2B_AUTH sessionKey; // session secret value used for
323 session attributes
324 TPM_CC commandCode; // command code (policy session)
325 TPMA_LOCALITY commandLocality; // command locality (policy session)
327 // included (policy session)
331 // the session was started (policy
333 // session)
341 // which the session is bound
348 TPM2B_DIGEST auditDigest; // audit session digest
352 } SESSION;
534 // handle-, or session-related error. This is an implementation choice and the same result can be achieved
542 // This location holds the session handle for the current exclusive audit session. If there is no exclusive
543 // audit session, the location is set to TPM_RH_UNASSIGNED.
886 // Session.c in for details). The
910 // sessions remain active across TPM Restart and the count value in the session
937 // This macro is used to ensure that a handle, session, or parameter number is only added if the response
957 // handle/session buffer does not have to be preserved for the duration of the command. These arrays are
958 // indexed by the session index in accordance with the order of sessions in the session area of the
961 // Array of the authorization session handles
965 // Array of authorization session attributes
982 // Special value to indicate an undefined session index
986 // Index of the session used for encryption of a response parameter
990 // Index of the session used for decryption of a command parameter
994 // Index of a session used for audit
998 // The cpHash for an audit session
1131 // From Session.c
1132 // Container for HMAC or policy session tracking information
1137 SESSION session; // session structure
1144 // The index in conextArray that has the value of the oldest saved session context. When no context is
1149 // The number of available session slot openings. When this is 1, a session can't be created or loaded if the
1150 // GAP is maxed out. The exception is that the oldest saved session context can always be loaded