Searched refs:soft_slot (Results 1 – 9 of 9) sorted by relevance
127 slot_t soft_slot; variable223 soft_slot.authenticated = 0; in C_Initialize()224 soft_slot.userpin_change_needed = 0; in C_Initialize()225 soft_slot.token_object_list = NULL; in C_Initialize()226 soft_slot.keystore_load_status = KEYSTORE_UNINITIALIZED; in C_Initialize()235 if (pthread_mutex_init(&soft_slot.slot_mutex, NULL) != 0) { in C_Initialize()243 if (pthread_mutex_init(&soft_slot.keystore_mutex, NULL) != 0) { in C_Initialize()244 (void) pthread_mutex_destroy(&soft_slot.slot_mutex); in C_Initialize()254 (void) pthread_mutex_destroy(&soft_slot.keystore_mutex); in C_Initialize()255 (void) pthread_mutex_destroy(&soft_slot.slot_mutex); in C_Initialize()[all …]
615 if (soft_slot.userpin_change_needed) { in search_for_objects()649 (void) pthread_mutex_lock(&soft_slot.slot_mutex); in search_for_objects()652 (void) pthread_mutex_unlock(&soft_slot.slot_mutex); in search_for_objects()655 obj = soft_slot.token_object_list; in search_for_objects()673 (&soft_slot.slot_mutex); in search_for_objects()678 (void) pthread_mutex_unlock(&soft_slot.slot_mutex); in search_for_objects()822 (void) pthread_mutex_lock(&soft_slot.slot_mutex); in soft_add_token_object_to_slot()825 if (soft_slot.token_object_list == NULL) { in soft_add_token_object_to_slot()826 soft_slot.token_object_list = objp; in soft_add_token_object_to_slot()830 soft_slot.token_object_list->prev = objp; in soft_add_token_object_to_slot()[all …]
129 soft_slot.authenticated = 0; in C_CloseSession()130 soft_slot.userpin_change_needed = 0; in C_CloseSession()169 soft_slot.authenticated = 0; in C_CloseAllSessions()170 soft_slot.userpin_change_needed = 0; in C_CloseAllSessions()345 if (soft_slot.authenticated) { in C_Login()353 if (soft_slot.userpin_change_needed) { in C_Login()364 soft_slot.authenticated = 1; in C_Login()425 if (!soft_slot.authenticated) { in C_Logout()426 if (!soft_slot.userpin_change_needed) { in C_Logout()434 soft_slot.userpin_change_needed = 0; in C_Logout()[all …]
2941 (void) pthread_mutex_lock(&soft_slot.keystore_mutex); in soft_keystore_init()2948 if (desired_state <= soft_slot.keystore_load_status) { in soft_keystore_init()2949 (void) pthread_mutex_unlock(&soft_slot.keystore_mutex); in soft_keystore_init()2950 return (soft_slot.keystore_load_status); in soft_keystore_init()2959 switch (soft_slot.keystore_load_status) { in soft_keystore_init()2963 soft_slot.keystore_load_status = KEYSTORE_PRESENT; in soft_keystore_init()2966 soft_slot.keystore_load_status = in soft_keystore_init()2969 soft_slot.keystore_load_status = in soft_keystore_init()2982 if (soft_keystore_get_version(&soft_slot.ks_version, B_FALSE) in soft_keystore_init()2984 soft_slot.keystore_load_status = KEYSTORE_UNAVAILABLE; in soft_keystore_init()[all …]
41 extern struct slot soft_slot;
187 soft_slot.userpin_change_needed = 1; in soft_verify_pin()287 soft_slot.userpin_change_needed = 0; in soft_setpin()1859 (void) pthread_mutex_lock(&soft_slot.slot_mutex); in soft_put_object_to_keystore()1863 (void) pthread_mutex_unlock(&soft_slot.slot_mutex); in soft_put_object_to_keystore()1870 (void) pthread_mutex_unlock(&soft_slot.slot_mutex); in soft_put_object_to_keystore()1875 (void) pthread_mutex_unlock(&soft_slot.slot_mutex); in soft_put_object_to_keystore()
326 if (soft_slot.keystore_load_status == KEYSTORE_UNAVAILABLE) { in C_GetTokenInfo()
128 if (soft_slot.authenticated) { in soft_add_session()
1237 if (!soft_slot.authenticated) { in soft_parse_common_attrs()1244 if (!soft_slot.userpin_change_needed) { in soft_parse_common_attrs()4720 if (!soft_slot.authenticated) {4728 if (!soft_slot.userpin_change_needed) {