Searched refs:ks_handle (Results 1 – 5 of 5) sorted by relevance
/titanic_50/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softKeystoreUtil.h | 59 ks_obj_handle_t ks_handle; member 79 int soft_keystore_lock_object(ks_obj_handle_t *ks_handle, boolean_t read_lock); 82 int soft_keystore_get_object_version(ks_obj_handle_t *ks_handle, 89 CK_RV soft_keystore_get_single_obj(ks_obj_handle_t *ks_handle, 93 int soft_keystore_modify_obj(ks_obj_handle_t *ks_handle, uchar_t *buf, 95 int soft_keystore_del_obj(ks_obj_handle_t *ks_handle, boolean_t lock_held);
|
H A D | softKeystoreUtil.c | 677 open_and_lock_object_file(ks_obj_handle_t *ks_handle, int oflag, in open_and_lock_object_file() argument 683 if (ks_handle->public) { in open_and_lock_object_file() 686 get_pub_obj_path(pub_obj_path), ks_handle->name); in open_and_lock_object_file() 690 get_pri_obj_path(pri_obj_path), ks_handle->name); in open_and_lock_object_file() 792 get_all_objs_in_dir(DIR *dirp, ks_obj_handle_t *ks_handle, in get_all_objs_in_dir() argument 804 (void) strcpy((char *)ks_handle->name, dp->d_name); in get_all_objs_in_dir() 805 rv = soft_keystore_get_single_obj(ks_handle, &obj, lock_held); in get_all_objs_in_dir() 970 soft_keystore_lock_object(ks_obj_handle_t *ks_handle, boolean_t read_lock) in soft_keystore_lock_object() argument 981 if ((fd = open_and_lock_object_file(ks_handle, oflag, B_FALSE)) < 0) { in soft_keystore_lock_object() 1085 soft_keystore_get_object_version(ks_obj_handle_t *ks_handle, in soft_keystore_get_object_version() argument [all …]
|
H A D | softObjectUtil.c | 884 (void) soft_keystore_del_obj(&objp->ks_handle, B_FALSE); in soft_delete_token_object() 1128 if (soft_keystore_get_object_version(&old_obj->ks_handle, &version, in soft_keystore_load_latest_object() 1137 rv = soft_keystore_get_single_obj(&old_obj->ks_handle, in soft_keystore_load_latest_object() 1355 if (in_core_obj->ks_handle.name[0] == '\0') { in refresh_token_objects() 1362 if (strcmp((char *)((ondisk_obj->ks_handle).name), in refresh_token_objects() 1363 (char *)((in_core_obj->ks_handle).name)) == 0) { in refresh_token_objects()
|
H A D | softKeystore.c | 435 (void) strcpy((char *)obj->ks_handle.name, in soft_keystore_unpack_obj() 436 (char *)ks_obj->ks_handle.name); in soft_keystore_unpack_obj() 437 obj->ks_handle.public = ks_obj->ks_handle.public; in soft_keystore_unpack_obj() 1862 B_FALSE, &objp->ks_handle)) == -1) { in soft_put_object_to_keystore() 1869 B_FALSE, &objp->ks_handle)) == -1) { in soft_put_object_to_keystore() 1898 if (soft_keystore_modify_obj(&objp->ks_handle, buf, len, in soft_modify_object_to_keystore()
|
H A D | softObject.h | 305 struct ks_obj_handle ks_handle; /* keystore handle */ member
|