Searched refs:ks_handle (Results 1 - 5 of 5) sorted by relevance

/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystoreUtil.h59 ks_obj_handle_t ks_handle; member in struct:ks_obj
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 DsoftKeystoreUtil.c685 open_and_lock_object_file(ks_obj_handle_t *ks_handle, int oflag, argument
691 if (ks_handle->public) {
694 get_pub_obj_path(pub_obj_path), ks_handle->name);
698 get_pri_obj_path(pri_obj_path), ks_handle->name);
800 get_all_objs_in_dir(DIR *dirp, ks_obj_handle_t *ks_handle, argument
812 (void) strcpy((char *)ks_handle->name, dp->d_name);
813 rv = soft_keystore_get_single_obj(ks_handle, &obj, lock_held);
961 * ks_handle: handle of the keystore object file to be accessed.
975 soft_keystore_lock_object(ks_obj_handle_t *ks_handle, boolean_t read_lock) argument
986 if ((fd = open_and_lock_object_file(ks_handle, ofla
1090 soft_keystore_get_object_version(ks_obj_handle_t *ks_handle, uint_t *version, boolean_t lock_held) argument
1910 ks_obj_handle_t ks_handle; local
2028 soft_keystore_get_single_obj(ks_obj_handle_t *ks_handle, ks_obj_t **return_obj, boolean_t lock_held) argument
2477 soft_keystore_modify_obj(ks_obj_handle_t *ks_handle, uchar_t *buf, size_t len, boolean_t lock_held) argument
2711 soft_keystore_del_obj(ks_obj_handle_t *ks_handle, boolean_t lock_held) argument
[all...]
H A DsoftObjectUtil.c903 (void) soft_keystore_del_obj(&objp->ks_handle, B_FALSE);
1147 if (soft_keystore_get_object_version(&old_obj->ks_handle, &version,
1156 rv = soft_keystore_get_single_obj(&old_obj->ks_handle,
1371 if (in_core_obj->ks_handle.name[0] == '\0') {
1378 if (strcmp((char *)((ondisk_obj->ks_handle).name),
1379 (char *)((in_core_obj->ks_handle).name)) == 0) {
H A DsoftKeystore.c444 (void) strcpy((char *)obj->ks_handle.name,
445 (char *)ks_obj->ks_handle.name);
446 obj->ks_handle.public = ks_obj->ks_handle.public;
1872 B_FALSE, &objp->ks_handle)) == -1) {
1879 B_FALSE, &objp->ks_handle)) == -1) {
1908 if (soft_keystore_modify_obj(&objp->ks_handle, buf, len,
H A DsoftObject.h305 struct ks_obj_handle ks_handle; /* keystore handle */ member in struct:object

Completed in 26 milliseconds