Searched refs:soft_slot (Results 1 - 8 of 8) sorted by relevance

/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftGeneral.c124 slot_t soft_slot; variable
223 soft_slot.authenticated = 0;
224 soft_slot.userpin_change_needed = 0;
225 soft_slot.token_object_list = NULL;
226 soft_slot.keystore_load_status = KEYSTORE_UNINITIALIZED;
235 if (pthread_mutex_init(&soft_slot.slot_mutex, NULL) != 0) {
243 if (pthread_mutex_init(&soft_slot.keystore_mutex, NULL) != 0) {
244 (void) pthread_mutex_destroy(&soft_slot.slot_mutex);
254 (void) pthread_mutex_destroy(&soft_slot.keystore_mutex);
255 (void) pthread_mutex_destroy(&soft_slot
[all...]
H A DsoftGlobal.h40 extern struct slot soft_slot;
H A DsoftSession.c129 soft_slot.authenticated = 0;
130 soft_slot.userpin_change_needed = 0;
169 soft_slot.authenticated = 0;
170 soft_slot.userpin_change_needed = 0;
345 if (soft_slot.authenticated) {
353 if (soft_slot.userpin_change_needed) {
364 soft_slot.authenticated = 1;
425 if (!soft_slot.authenticated) {
426 if (!soft_slot.userpin_change_needed) {
434 soft_slot
[all...]
H A DsoftObjectUtil.c619 if (soft_slot.userpin_change_needed) {
655 (void) pthread_mutex_lock(&soft_slot.slot_mutex);
659 (void) pthread_mutex_unlock(&soft_slot.slot_mutex);
662 obj = soft_slot.token_object_list;
686 (&soft_slot.slot_mutex);
691 (void) pthread_mutex_unlock(&soft_slot.slot_mutex);
841 (void) pthread_mutex_lock(&soft_slot.slot_mutex);
844 if (soft_slot.token_object_list == NULL) {
845 soft_slot.token_object_list = objp;
849 soft_slot
[all...]
H A DsoftKeystoreUtil.c2948 (void) pthread_mutex_lock(&soft_slot.keystore_mutex);
2955 if (desired_state <= soft_slot.keystore_load_status) {
2956 (void) pthread_mutex_unlock(&soft_slot.keystore_mutex);
2957 return (soft_slot.keystore_load_status);
2966 switch (soft_slot.keystore_load_status) {
2970 soft_slot.keystore_load_status = KEYSTORE_PRESENT;
2973 soft_slot.keystore_load_status =
2976 soft_slot.keystore_load_status =
2989 if (soft_keystore_get_version(&soft_slot.ks_version, B_FALSE)
2991 soft_slot
[all...]
H A DsoftKeystore.c193 soft_slot.userpin_change_needed = 1;
296 soft_slot.userpin_change_needed = 0;
1869 (void) pthread_mutex_lock(&soft_slot.slot_mutex);
1873 (void) pthread_mutex_unlock(&soft_slot.slot_mutex);
1880 (void) pthread_mutex_unlock(&soft_slot.slot_mutex);
1885 (void) pthread_mutex_unlock(&soft_slot.slot_mutex);
H A DsoftSessionUtil.c133 if (soft_slot.authenticated) {
H A DsoftAttributeUtil.c1273 if (!soft_slot.authenticated) {
1280 if (!soft_slot.userpin_change_needed) {
4785 if (!soft_slot.authenticated) {
4793 if (!soft_slot.userpin_change_needed) {

Completed in 37 milliseconds