/titanic_50/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softObject.c | 85 soft_object_t *old_object, *new_object = NULL; in C_CopyObject() local 120 rv = soft_copy_object(old_object, &new_object, SOFT_COPY_OBJECT, in C_CopyObject() 123 if ((rv != CKR_OK) || (new_object == NULL)) { in C_CopyObject() 135 rv = soft_set_attribute(new_object, &pTemplate[i], B_TRUE); in C_CopyObject() 141 rv = soft_pin_expired_check(new_object); in C_CopyObject() 149 rv = soft_object_write_access_check(session_p, new_object); in C_CopyObject() 158 if (IS_TOKEN_OBJECT(new_object)) { in C_CopyObject() 159 new_object->version = 1; in C_CopyObject() 163 rv = soft_put_object_to_keystore(new_object); in C_CopyObject() 168 new_object->session_handle = (CK_SESSION_HANDLE)NULL; in C_CopyObject() [all …]
|
H A D | softObjectUtil.c | 102 soft_copy_object(soft_object_t *old_object, soft_object_t **new_object, in soft_copy_object() argument 137 *new_object = new_objp; in soft_copy_object() 216 soft_merge_object(soft_object_t *old_object, soft_object_t *new_object) in soft_merge_object() argument 218 old_object->bool_attr_mask = new_object->bool_attr_mask; in soft_merge_object() 220 old_object->extra_attrlistp = new_object->extra_attrlistp; in soft_merge_object() 1095 soft_object_t *new_object; in soft_update_object() local 1098 new_object = calloc(1, sizeof (soft_object_t)); in soft_update_object() 1099 if (new_object == NULL) in soft_update_object() 1102 rv = soft_keystore_unpack_obj(new_object, ks_obj); in soft_update_object() 1104 soft_cleanup_object(new_object); in soft_update_object() [all …]
|
H A D | softAttributeUtil.c | 1285 soft_object_t *new_object, CK_ULONG mode, CK_KEY_TYPE key_type) argument 1357 new_object); 1541 new_object->object_class_u.public_key = pbk; 1542 new_object->class = CKO_PUBLIC_KEY; 1562 new_object->key_type = keytype; 1786 rv = soft_add_extra_attr(¶m_tmp, new_object); 1798 new_object->object_type = object_type; 1799 new_object->bool_attr_mask = attr_mask; 1801 rv = soft_add_extra_attr(&string_tmp, new_object); 1826 soft_cleanup_object(new_object); [all …]
|
H A D | softObject.h | 810 CK_ULONG ulAttrNum, soft_object_t *new_object); 813 CK_ULONG ulAttrNum, soft_object_t *new_object, CK_ULONG mode, 816 CK_RV soft_copy_object(soft_object_t *old_object, soft_object_t **new_object, 819 void soft_merge_object(soft_object_t *old_object, soft_object_t *new_object);
|
/titanic_50/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelObject.c | 90 kernel_object_t *new_object = NULL; in C_CopyObject() local 133 rv = kernel_copy_object(old_object, &new_object, B_TRUE, in C_CopyObject() 136 if ((rv != CKR_OK) || (new_object == NULL)) { in C_CopyObject() 147 new_object->is_lib_obj = B_TRUE; in C_CopyObject() 152 rv = kernel_set_attribute(new_object, &pTemplate[i], in C_CopyObject() 156 kernel_cleanup_object(new_object); in C_CopyObject() 169 kernel_add_object_to_session(new_object, session_p); in C_CopyObject() 179 *phNewObject = (CK_ULONG)new_object; in C_CopyObject() 186 new_object = calloc(1, sizeof (kernel_object_t)); in C_CopyObject() 187 if (new_object == NULL) { in C_CopyObject() [all …]
|
H A D | kernelAttributeUtil.c | 1000 CK_ULONG ulAttrNum, kernel_object_t *new_object, kernel_session_t *sp, in kernel_build_public_key_object() argument 1067 new_object); in kernel_build_public_key_object() 1222 new_object->object_class_u.public_key = pbk; in kernel_build_public_key_object() 1223 new_object->class = CKO_PUBLIC_KEY; in kernel_build_public_key_object() 1229 new_object->key_type = keytype; in kernel_build_public_key_object() 1305 rv = kernel_add_extra_attr(¶m_tmp, new_object); in kernel_build_public_key_object() 1316 new_object->bool_attr_mask = attr_mask; in kernel_build_public_key_object() 1318 rv = kernel_add_extra_attr(&string_tmp, new_object); in kernel_build_public_key_object() 1343 kernel_cleanup_object(new_object); in kernel_build_public_key_object() 1368 CK_ULONG ulAttrNum, kernel_object_t *new_object, kernel_session_t *sp, in kernel_build_private_key_object() argument [all …]
|
H A D | kernelObjectUtil.c | 105 kernel_copy_object(kernel_object_t *old_object, kernel_object_t **new_object, in kernel_copy_object() argument 137 *new_object = new_objp; in kernel_copy_object() 193 kernel_merge_object(kernel_object_t *old_object, kernel_object_t *new_object) in kernel_merge_object() argument 196 old_object->bool_attr_mask = new_object->bool_attr_mask; in kernel_merge_object() 198 old_object->extra_attrlistp = new_object->extra_attrlistp; in kernel_merge_object()
|
H A D | kernelObject.h | 542 kernel_object_t *new_object, kernel_session_t *sp, uint_t); 545 kernel_object_t **new_object, boolean_t copy_everything, 549 kernel_object_t *new_object);
|
/titanic_50/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | metaObjectManager.c | 224 meta_object_t *new_object; in meta_object_alloc() local 228 new_object = calloc(1, sizeof (meta_object_t)); in meta_object_alloc() 229 if (new_object == NULL) in meta_object_alloc() 234 new_object->clones = calloc(num_slots, sizeof (slot_object_t *)); in meta_object_alloc() 235 if (new_object->clones == NULL) { in meta_object_alloc() 236 free(new_object); in meta_object_alloc() 240 new_object->tried_create_clone = calloc(num_slots, sizeof (boolean_t)); in meta_object_alloc() 241 if (new_object->tried_create_clone == NULL) { in meta_object_alloc() 242 free(new_object->clones); in meta_object_alloc() 243 free(new_object); in meta_object_alloc() [all …]
|
/titanic_50/usr/src/uts/common/fs/zfs/ |
H A D | metaslab.c | 1832 uint64_t new_object; in metaslab_sync() local 1834 new_object = space_map_alloc(mos, tx); in metaslab_sync() 1835 VERIFY3U(new_object, !=, 0); in metaslab_sync() 1837 VERIFY0(space_map_open(&msp->ms_sm, mos, new_object, in metaslab_sync()
|
H A D | vdev.c | 1969 uint64_t new_object; in vdev_dtl_sync() local 1971 new_object = space_map_alloc(mos, tx); in vdev_dtl_sync() 1972 VERIFY3U(new_object, !=, 0); in vdev_dtl_sync() 1974 VERIFY0(space_map_open(&vd->vdev_dtl_sm, mos, new_object, in vdev_dtl_sync()
|
/titanic_50/usr/src/uts/common/sys/crypto/ |
H A D | impl.h | 1075 new_object, req) ( \ argument 1078 session, object, template, count, new_object, req) : \
|
/titanic_50/usr/src/uts/common/crypto/io/ |
H A D | dprov.c | 3769 crypto_object_id_t *new_object, crypto_req_handle_t req) in dprov_object_copy() argument 3782 session_id, object, template, attribute_count, new_object, in dprov_object_copy()
|