Searched refs:magic_marker (Results 1 – 21 of 21) sorted by relevance
150 new_objp->magic_marker = old_object->magic_marker; in kernel_copy_object()302 new_objp->magic_marker = KERNELTOKEN_OBJECT_MAGIC; in kernel_add_object()351 (sp->magic_marker != KERNELTOKEN_SESSION_MAGIC)) { in kernel_remove_object_from_session()356 (objp->magic_marker != KERNELTOKEN_OBJECT_MAGIC)) { in kernel_remove_object_from_session()403 if (objp->magic_marker != KERNELTOKEN_OBJECT_MAGIC) { in kernel_delete_object_cleanup()440 objp->magic_marker = 0; in kernel_delete_object_cleanup()730 if (obj->magic_marker == KERNELTOKEN_OBJECT_MAGIC) { in kernel_find_objects()
110 new_sp->magic_marker = KERNELTOKEN_SESSION_MAGIC; in kernel_add_session()243 if (session_p->magic_marker != KERNELTOKEN_SESSION_MAGIC) { in kernel_delete_session()282 session_p->magic_marker = 0; in kernel_delete_session()411 (sp->magic_marker != KERNELTOKEN_SESSION_MAGIC)) { in handle2session()
74 CK_ULONG magic_marker; /* magic # be validated for integrity */ member
488 new_objp->magic_marker = KERNELTOKEN_OBJECT_MAGIC; in C_GenerateKey()825 new_pub_objp->magic_marker = KERNELTOKEN_OBJECT_MAGIC; in key_gen_rsa_by_value()827 new_pri_objp->magic_marker = KERNELTOKEN_OBJECT_MAGIC; in key_gen_rsa_by_value()1109 new_pub_objp->magic_marker = KERNELTOKEN_OBJECT_MAGIC; in key_gen_dh_by_value()1111 new_pri_objp->magic_marker = KERNELTOKEN_OBJECT_MAGIC; in key_gen_dh_by_value()1378 new_pub_objp->magic_marker = KERNELTOKEN_OBJECT_MAGIC; in key_gen_ec_by_value()1380 new_pri_objp->magic_marker = KERNELTOKEN_OBJECT_MAGIC; in key_gen_ec_by_value()1599 new_pub_objp->magic_marker = KERNELTOKEN_OBJECT_MAGIC; in C_GenerateKeyPair()1622 new_pri_objp->magic_marker = KERNELTOKEN_OBJECT_MAGIC; in C_GenerateKeyPair()1941 new_objp->magic_marker = KERNELTOKEN_OBJECT_MAGIC; in C_UnwrapKey()[all …]
194 CK_ULONG magic_marker; member492 (object_p->magic_marker != KERNELTOKEN_OBJECT_MAGIC)) {\
242 new_object->magic_marker = KERNELTOKEN_OBJECT_MAGIC; in C_CopyObject()321 (session_p->magic_marker != KERNELTOKEN_SESSION_MAGIC)) { in C_DestroyObject()
1017 objp->magic_marker = KERNELTOKEN_OBJECT_MAGIC; in create_new_tobj_in_lib()
150 new_objp->magic_marker = old_object->magic_marker; in soft_copy_object()264 new_objp->magic_marker = SOFTTOKEN_OBJECT_MAGIC; in soft_add_object()339 (sp->magic_marker != SOFTTOKEN_SESSION_MAGIC)) { in soft_remove_object_from_session()344 (objp->magic_marker != SOFTTOKEN_OBJECT_MAGIC)) { in soft_remove_object_from_session()427 if (objp->magic_marker != SOFTTOKEN_OBJECT_MAGIC) { in soft_delete_object_cleanup()463 objp->magic_marker = 0; in soft_delete_object_cleanup()803 if (obj->magic_marker == SOFTTOKEN_OBJECT_MAGIC) { in soft_find_objects()953 objp->magic_marker = SOFTTOKEN_OBJECT_MAGIC; in soft_validate_token_objects()955 objp->magic_marker = 0; in soft_validate_token_objects()
118 new_sp->magic_marker = SOFTTOKEN_SESSION_MAGIC; in soft_add_session()302 if (session_p->magic_marker != SOFTTOKEN_SESSION_MAGIC) { in soft_delete_session()347 session_p->magic_marker = 0; in soft_delete_session()424 (sp->magic_marker != SOFTTOKEN_SESSION_MAGIC)) { in handle2session()
74 ulong_t magic_marker; /* magic # be validated for integrity */ member
1455 (enc_key->magic_marker != SOFTTOKEN_OBJECT_MAGIC)) { in soft_keystore_setpin()1946 (enc_key->magic_marker != SOFTTOKEN_OBJECT_MAGIC)) { in soft_keystore_get_objs()2034 (enc_key->magic_marker != SOFTTOKEN_OBJECT_MAGIC)) { in soft_keystore_get_single_obj()2214 (enc_key->magic_marker != SOFTTOKEN_OBJECT_MAGIC)) { in soft_keystore_put_new_obj()2484 (enc_key->magic_marker != SOFTTOKEN_OBJECT_MAGIC)) { in soft_keystore_modify_obj()
301 ulong_t magic_marker; member761 (object_p->magic_marker != SOFTTOKEN_OBJECT_MAGIC)) {\
229 (session_p->magic_marker != SOFTTOKEN_SESSION_MAGIC)) { in C_DestroyObject()
993 secret_key->magic_marker = SOFTTOKEN_OBJECT_MAGIC; in soft_add_derived_key()
452 obj->magic_marker = SOFTTOKEN_OBJECT_MAGIC; in soft_keystore_unpack_obj()2224 token_session.magic_marker = SOFTTOKEN_SESSION_MAGIC; in soft_init_token_session()
106 new_objp->magic_marker = SOFTTOKEN_OBJECT_MAGIC; in soft_gen_keyobject()
116 tmp_session->magic_marker != METASLOT_SESSION_MAGIC) { in meta_handle2session()162 new_session->magic_marker = METASLOT_SESSION_MAGIC; in meta_session_alloc()211 session->magic_marker = METASLOT_SESSION_BADMAGIC; in meta_session_deactivate()
306 opstate.magic_marker = METASLOT_OPSTATE_MAGIC; in meta_GetOperationState()435 if (opstate.magic_marker != METASLOT_OPSTATE_MAGIC) in meta_SetOperationState()
336 ulong_t magic_marker; member384 ulong_t magic_marker; member433 ulong_t magic_marker; member
199 if (tmp_object->magic_marker != METASLOT_OBJECT_MAGIC) { in meta_handle2object()248 new_object->magic_marker = METASLOT_OBJECT_MAGIC; in meta_object_alloc()488 object->magic_marker = METASLOT_OBJECT_BADMAGIC; in meta_object_deactivate()
1255 if (obj->magic_marker == METASLOT_OBJECT_MAGIC) { in meta_FindObjects()