Searched refs:old_object (Results 1 - 9 of 9) sorted by relevance

/osnet-11/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelObject.c85 kernel_object_t *old_object; local
111 HANDLE2OBJECT(hObject, old_object, rv);
121 (void) pthread_mutex_lock(&old_object->object_mutex);
123 if (old_object->is_lib_obj) {
129 rv = kernel_copy_object(old_object, &new_object, B_TRUE,
131 (void) pthread_mutex_unlock(&old_object->object_mutex);
138 OBJ_REFRELE(old_object);
158 OBJ_REFRELE(old_object);
171 OBJ_REFRELE(old_object);
184 (void) pthread_mutex_unlock(&old_object
[all...]
H A DkernelObjectUtil.c105 kernel_copy_object(kernel_object_t *old_object, kernel_object_t **new_object, argument
117 new_objp->class = old_object->class;
118 new_objp->bool_attr_mask = old_object->bool_attr_mask;
120 attrp = old_object->extra_attrlistp;
149 new_objp->key_type = old_object->key_type;
150 new_objp->magic_marker = old_object->magic_marker;
151 new_objp->mechanism = old_object->mechanism;
157 rv = kernel_copy_public_key_attr(OBJ_PUB(old_object),
161 rv = kernel_copy_private_key_attr(OBJ_PRI(old_object),
165 rv = kernel_copy_secret_key_attr(OBJ_SEC(old_object),
193 kernel_merge_object(kernel_object_t *old_object, kernel_object_t *new_object) argument
[all...]
H A DkernelObject.h544 CK_RV kernel_copy_object(kernel_object_t *old_object,
548 void kernel_merge_object(kernel_object_t *old_object,
/osnet-11/usr/src/lib/pkcs11/pkcs11_kms/common/
H A DkmsObject.c85 kms_object_t *old_object; local
107 HANDLE2OBJECT(hObject, old_object, rv);
117 (void) pthread_mutex_lock(&old_object->object_mutex);
119 if (old_object->is_lib_obj) {
125 rv = kms_copy_object(old_object, &new_object, B_TRUE,
127 (void) pthread_mutex_unlock(&old_object->object_mutex);
134 OBJ_REFRELE(old_object);
149 OBJ_REFRELE(old_object);
162 OBJ_REFRELE(old_object);
177 OBJ_REFRELE(old_object);
[all...]
H A DkmsObjectUtil.c133 kms_copy_object(kms_object_t *old_object, kms_object_t **new_object, argument
145 new_objp->class = old_object->class;
146 new_objp->bool_attr_mask = old_object->bool_attr_mask;
148 attrp = old_object->extra_attrlistp;
176 new_objp->key_type = old_object->key_type;
177 new_objp->magic_marker = old_object->magic_marker;
178 new_objp->mechanism = old_object->mechanism;
184 rv = kms_copy_secret_key_attr(OBJ_SEC(old_object),
207 kms_merge_object(kms_object_t *old_object, kms_object_t *new_object) argument
209 old_object
[all...]
H A DkmsObject.h242 CK_RV kms_copy_object(kms_object_t *old_object,
246 void kms_merge_object(kms_object_t *old_object,
/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftObject.c84 soft_object_t *old_object, *new_object = NULL; local
106 HANDLE2OBJECT(hObject, old_object, rv);
118 (void) pthread_rwlock_rdlock(&old_object->object_rwlock);
119 rv = soft_copy_object(old_object, &new_object, SOFT_COPY_OBJECT,
124 (void) pthread_rwlock_unlock(&old_object->object_rwlock);
129 (void) pthread_rwlock_unlock(&old_object->object_rwlock);
173 OBJ_REFRELE(old_object);
187 OBJ_REFRELE(old_object);
200 OBJ_REFRELE(old_object);
H A DsoftObjectUtil.c102 soft_copy_object(soft_object_t *old_object, soft_object_t **new_object, argument
115 new_objp->class = old_object->class;
116 new_objp->bool_attr_mask = old_object->bool_attr_mask;
117 new_objp->cert_type = old_object->cert_type;
118 new_objp->object_type = old_object->object_type;
120 attrp = old_object->extra_attrlistp;
149 new_objp->key_type = old_object->key_type;
150 new_objp->magic_marker = old_object->magic_marker;
151 new_objp->mechanism = old_object->mechanism;
155 new_objp->session_handle = old_object
217 soft_merge_object(soft_object_t *old_object, soft_object_t *new_object) argument
[all...]
H A DsoftObject.h822 CK_RV soft_copy_object(soft_object_t *old_object, soft_object_t **new_object,
825 void soft_merge_object(soft_object_t *old_object, soft_object_t *new_object);

Completed in 36 milliseconds