Home
last modified time | relevance | path

Searched refs:magic_marker (Results 1 – 21 of 21) sorted by relevance

/titanic_44/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelObjectUtil.c150 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()
H A DkernelSessionUtil.c110 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()
H A DkernelSession.h74 CK_ULONG magic_marker; /* magic # be validated for integrity */ member
H A DkernelKeys.c488 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 …]
H A DkernelObject.h194 CK_ULONG magic_marker; member
492 (object_p->magic_marker != KERNELTOKEN_OBJECT_MAGIC)) {\
H A DkernelObject.c242 new_object->magic_marker = KERNELTOKEN_OBJECT_MAGIC; in C_CopyObject()
321 (session_p->magic_marker != KERNELTOKEN_SESSION_MAGIC)) { in C_DestroyObject()
H A DkernelUtil.c1017 objp->magic_marker = KERNELTOKEN_OBJECT_MAGIC; in create_new_tobj_in_lib()
/titanic_44/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftObjectUtil.c150 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()
H A DsoftSessionUtil.c118 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()
H A DsoftSession.h74 ulong_t magic_marker; /* magic # be validated for integrity */ member
H A DsoftKeystoreUtil.c1455 (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()
H A DsoftObject.h301 ulong_t magic_marker; member
761 (object_p->magic_marker != SOFTTOKEN_OBJECT_MAGIC)) {\
H A DsoftObject.c229 (session_p->magic_marker != SOFTTOKEN_SESSION_MAGIC)) { in C_DestroyObject()
H A DsoftSSL.c993 secret_key->magic_marker = SOFTTOKEN_OBJECT_MAGIC; in soft_add_derived_key()
H A DsoftKeystore.c452 obj->magic_marker = SOFTTOKEN_OBJECT_MAGIC; in soft_keystore_unpack_obj()
2224 token_session.magic_marker = SOFTTOKEN_SESSION_MAGIC; in soft_init_token_session()
H A DsoftKeysUtil.c106 new_objp->magic_marker = SOFTTOKEN_OBJECT_MAGIC; in soft_gen_keyobject()
/titanic_44/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaSessionManager.c116 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()
H A DmetaSession.c306 opstate.magic_marker = METASLOT_OPSTATE_MAGIC; in meta_GetOperationState()
435 if (opstate.magic_marker != METASLOT_OPSTATE_MAGIC) in meta_SetOperationState()
H A DmetaGlobal.h336 ulong_t magic_marker; member
384 ulong_t magic_marker; member
433 ulong_t magic_marker; member
H A DmetaObjectManager.c199 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()
H A DmetaObject.c1255 if (obj->magic_marker == METASLOT_OBJECT_MAGIC) { in meta_FindObjects()