/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softObject.c | 85 soft_object_t *old_object, *new_object = NULL; local 120 rv = soft_copy_object(old_object, &new_object, SOFT_COPY_OBJECT, 123 if ((rv != CKR_OK) || (new_object == NULL)) { 135 rv = soft_set_attribute(new_object, &pTemplate[i], B_TRUE); 141 rv = soft_pin_expired_check(new_object); 149 rv = soft_object_write_access_check(session_p, new_object); 158 if (IS_TOKEN_OBJECT(new_object)) { 159 new_object->version = 1; 163 rv = soft_put_object_to_keystore(new_object); 168 new_object 415 soft_object_t *new_object = NULL; local [all...] |
H A D | softObjectUtil.c | 102 soft_copy_object(soft_object_t *old_object, soft_object_t **new_object, argument 137 *new_object = new_objp; 216 soft_merge_object(soft_object_t *old_object, soft_object_t *new_object) argument 218 old_object->bool_attr_mask = new_object->bool_attr_mask; 220 old_object->extra_attrlistp = new_object->extra_attrlistp; 1095 soft_object_t *new_object; local 1098 new_object = calloc(1, sizeof (soft_object_t)); 1099 if (new_object == NULL) 1102 rv = soft_keystore_unpack_obj(new_object, ks_obj); 1104 soft_cleanup_object(new_object); [all...] |
H A D | softAttributeUtil.c | 1285 soft_object_t *new_object, CK_ULONG mode, CK_KEY_TYPE key_type) 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); 1284 soft_build_public_key_object(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, soft_object_t *new_object, CK_ULONG mode, CK_KEY_TYPE key_type) argument 1850 soft_build_private_key_object(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, soft_object_t *new_object, CK_ULONG mode, CK_KEY_TYPE key_type) argument 2518 soft_build_secret_key_object(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, soft_object_t *new_object, CK_ULONG mode, CK_ULONG key_len, CK_KEY_TYPE key_type) argument 3173 soft_build_domain_parameters_object(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, soft_object_t *new_object) argument 3399 soft_build_certificate_object(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, soft_object_t *new_object, CK_CERTIFICATE_TYPE cert_type) argument 3594 soft_build_object(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, soft_object_t *new_object) argument 3662 soft_build_key(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, soft_object_t *new_object, CK_OBJECT_CLASS class, CK_KEY_TYPE key_type, CK_ULONG key_len, CK_ULONG mode) argument [all...] |
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelObject.c | 90 kernel_object_t *new_object = NULL; local 133 rv = kernel_copy_object(old_object, &new_object, B_TRUE, 136 if ((rv != CKR_OK) || (new_object == NULL)) { 147 new_object->is_lib_obj = B_TRUE; 152 rv = kernel_set_attribute(new_object, &pTemplate[i], 156 kernel_cleanup_object(new_object); 169 kernel_add_object_to_session(new_object, session_p); 179 *phNewObject = (CK_ULONG)new_object; 186 new_object = calloc(1, sizeof (kernel_object_t)); 187 if (new_object 521 kernel_object_t *new_object = NULL; local [all...] |
H A D | kernelObjectUtil.c | 105 kernel_copy_object(kernel_object_t *old_object, kernel_object_t **new_object, argument 137 *new_object = new_objp; 193 kernel_merge_object(kernel_object_t *old_object, kernel_object_t *new_object) argument 196 old_object->bool_attr_mask = new_object->bool_attr_mask; 198 old_object->extra_attrlistp = new_object->extra_attrlistp;
|
H A D | kernelAttributeUtil.c | 1000 CK_ULONG ulAttrNum, kernel_object_t *new_object, kernel_session_t *sp, 1067 new_object); 1222 new_object->object_class_u.public_key = pbk; 1223 new_object->class = CKO_PUBLIC_KEY; 1229 new_object->key_type = keytype; 1305 rv = kernel_add_extra_attr(¶m_tmp, new_object); 1316 new_object->bool_attr_mask = attr_mask; 1318 rv = kernel_add_extra_attr(&string_tmp, new_object); 1343 kernel_cleanup_object(new_object); 1368 CK_ULONG ulAttrNum, kernel_object_t *new_object, kernel_session_ 999 kernel_build_public_key_object(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, kernel_object_t *new_object, kernel_session_t *sp, uint_t mode) argument 1367 kernel_build_private_key_object(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, kernel_object_t *new_object, kernel_session_t *sp, uint_t mode) argument 1841 kernel_build_secret_key_object(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, kernel_object_t *new_object, kernel_session_t *sp) argument 2137 kernel_build_object(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, kernel_object_t *new_object, kernel_session_t *sp, uint_t mode) argument [all...] |
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | metaObjectManager.c | 224 meta_object_t *new_object; local 228 new_object = calloc(1, sizeof (meta_object_t)); 229 if (new_object == NULL) 234 new_object->clones = calloc(num_slots, sizeof (slot_object_t *)); 235 if (new_object->clones == NULL) { 236 free(new_object); 240 new_object->tried_create_clone = calloc(num_slots, sizeof (boolean_t)); 241 if (new_object->tried_create_clone == NULL) { 242 free(new_object->clones); 243 free(new_object); 412 meta_object_activate(meta_object_t *new_object) argument 621 slot_object_t *new_object; local [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | vdev.c | 2037 uint64_t new_object; local 2039 new_object = space_map_alloc(mos, tx); 2040 VERIFY3U(new_object, !=, 0); 2042 VERIFY0(space_map_open(&vd->vdev_dtl_sm, mos, new_object,
|
H A D | metaslab.c | 2217 uint64_t new_object; local 2219 new_object = space_map_alloc(mos, tx); 2220 VERIFY3U(new_object, !=, 0); 2222 VERIFY0(space_map_open(&msp->ms_sm, mos, new_object,
|
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | dprov.c | 3769 crypto_object_id_t *new_object, crypto_req_handle_t req) 3782 session_id, object, template, attribute_count, new_object, 3766 dprov_object_copy(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_object_id_t object, crypto_object_attribute_t *template, uint_t attribute_count, crypto_object_id_t *new_object, crypto_req_handle_t req) argument
|