Searched refs:session_info (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dsess_mgr.c374 new_session->session_info.slotID = 1;
375 new_session->session_info.flags = flags;
376 new_session->session_info.ulDeviceError = 0;
387 if (s->session_info.state == CKS_RW_SO_FUNCTIONS) {
392 if ((s->session_info.state == CKS_RO_USER_FUNCTIONS) ||
393 (s->session_info.state == CKS_RW_USER_FUNCTIONS)) {
410 if (new_session->session_info.flags & CKF_RW_SESSION)
411 new_session->session_info.state = CKS_RW_USER_FUNCTIONS;
413 new_session->session_info.state = CKS_RO_USER_FUNCTIONS;
416 new_session->session_info
[all...]
H A Dnew_host.c471 if (pin_locked(&sess->session_info,
477 if (sess->session_info.state != CKS_RW_SO_FUNCTIONS) {
528 if (pin_locked(&sess->session_info,
591 sess->session_info.slotID = sid;
669 (void) memcpy(pInfo, &sess->session_info, sizeof (CK_SESSION_INFO));
898 if (pin_expired(&sess->session_info,
933 if (pin_expired(&sess->session_info,
965 if (pin_expired(&sess->session_info,
1077 if (pin_expired(&sess->session_info,
1207 if (pin_expired(&sess->session_info,
[all...]
H A Dobj_mgr.c324 if (sess->session_info.state == CKS_RO_PUBLIC_SESSION) {
336 if (sess->session_info.state == CKS_RO_USER_FUNCTIONS) {
343 if (sess->session_info.state == CKS_RW_PUBLIC_SESSION) {
350 if (sess->session_info.state == CKS_RW_SO_FUNCTIONS) {
713 if (sess->session_info.state == CKS_RO_PUBLIC_SESSION) {
725 if (sess->session_info.state == CKS_RO_USER_FUNCTIONS) {
732 if (sess->session_info.state == CKS_RW_PUBLIC_SESSION) {
739 if (sess->session_info.state == CKS_RW_SO_FUNCTIONS) {
1189 switch (sess->session_info.state) {
1365 if (sess->session_info
[all...]
H A Dtpm_specific.c1817 if (sess->session_info.state == CKS_RW_USER_FUNCTIONS ||
1818 sess->session_info.state == CKS_RW_PUBLIC_SESSION) {
1848 if (sess->session_info.state == CKS_RW_USER_FUNCTIONS) {
1872 } else if (sess->session_info.state == CKS_RW_SO_FUNCTIONS) {
H A Dtpmtok_int.h307 CK_SESSION_INFO session_info; member in struct:_SESSION
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A Dpkcs11SUNWExtensions.c282 CK_SESSION_INFO session_info; local
309 rv = C_GetSessionInfo(hSession, &session_info);
314 slot_id = session_info.slotID;

Completed in 363 milliseconds