Home
last modified time | relevance | path

Searched refs:kernel_object_t (Results 1 – 14 of 14) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelGlobal.h76 unsigned char *get_symmetric_key_value(kernel_object_t *);
77 CK_RV get_rsa_public_key(kernel_object_t *, crypto_key_t *);
78 CK_RV get_rsa_private_key(kernel_object_t *, crypto_key_t *);
79 CK_RV get_dsa_public_key(kernel_object_t *, crypto_key_t *);
80 CK_RV get_dsa_private_key(kernel_object_t *, crypto_key_t *);
81 CK_RV get_ec_public_key(kernel_object_t *, crypto_key_t *);
82 CK_RV get_ec_private_key(kernel_object_t *, crypto_key_t *);
95 CK_RV kernel_decrypt_init(kernel_session_t *, kernel_object_t *,
99 CK_RV kernel_add_extra_attr(CK_ATTRIBUTE_PTR, kernel_object_t *);
H A DkernelObject.h220 } kernel_object_t; typedef
224 kernel_object_t **objs_found;
240 kernel_object_t *first; /* points to first obj in the list */
241 kernel_object_t *last; /* points to last obj in the list */
490 object_p = (kernel_object_t *)(hObject); \
526 void kernel_cleanup_object(kernel_object_t *objp);
531 CK_RV kernel_delete_session_object(kernel_session_t *sp, kernel_object_t *objp,
534 void kernel_cleanup_extra_attr(kernel_object_t *object_p);
537 kernel_object_t *object_p);
539 void kernel_cleanup_object_bigint_attrs(kernel_object_t *object_p);
[all …]
H A DkernelObjectUtil.c45 kernel_add_object_to_session(kernel_object_t *objp, kernel_session_t *sp) in kernel_add_object_to_session()
74 kernel_cleanup_object(kernel_object_t *objp) in kernel_cleanup_object()
105 kernel_copy_object(kernel_object_t *old_object, kernel_object_t **new_object, in kernel_copy_object()
109 kernel_object_t *new_objp = NULL; in kernel_copy_object()
113 new_objp = calloc(1, sizeof (kernel_object_t)); in kernel_copy_object()
193 kernel_merge_object(kernel_object_t *old_object, kernel_object_t *new_object) in kernel_merge_object()
212 kernel_object_t *new_objp = NULL; in kernel_add_object()
219 new_objp = calloc(1, sizeof (kernel_object_t)); in kernel_add_object()
342 kernel_remove_object_from_session(kernel_object_t *objp, kernel_session_t *sp) in kernel_remove_object_from_session()
344 kernel_object_t *tmp_objp; in kernel_remove_object_from_session()
[all …]
H A DkernelKeys.c145 kernel_object_t *basekey_p, ulong_t *key_len) in get_key_len_from_template()
250 crypto_mech_type_t k_mech_type, kernel_object_t *new_objp) in key_gen_by_value()
365 kernel_object_t *new_objp = NULL; in C_GenerateKey()
398 new_objp = calloc(1, sizeof (kernel_object_t)); in C_GenerateKey()
514 kernel_object_t *new_pub_objp, kernel_object_t *new_pri_objp) in key_gen_rsa_by_value()
848 kernel_object_t *new_pub_objp, kernel_object_t *new_pri_objp) in key_gen_dh_by_value()
1132 kernel_object_t *new_pub_objp, kernel_object_t *new_pri_objp) in key_gen_ec_by_value()
1404 kernel_object_t *new_pub_objp = NULL; in C_GenerateKeyPair()
1405 kernel_object_t *new_pri_objp = NULL; in C_GenerateKeyPair()
1416 kernel_object_t *, kernel_object_t *); in C_GenerateKeyPair()
[all …]
H A DkernelUtil.c152 get_symmetric_key_value(kernel_object_t *key_p) in get_symmetric_key_value()
181 get_rsa_private_key(kernel_object_t *object_p, crypto_key_t *key) in get_rsa_private_key()
315 get_rsa_public_key(kernel_object_t *object_p, crypto_key_t *key) in get_rsa_public_key()
390 get_dsa_private_key(kernel_object_t *object_p, crypto_key_t *key) in get_dsa_private_key()
452 get_dsa_public_key(kernel_object_t *object_p, crypto_key_t *key) in get_dsa_public_key()
514 get_ec_private_key(kernel_object_t *object_p, crypto_key_t *key) in get_ec_private_key()
586 get_ec_public_key(kernel_object_t *object_p, crypto_key_t *key) in get_ec_public_key()
830 kernel_object_t *objp, crypto_object_id_t oid) in create_new_tobj_in_lib()
925 kernel_object_t *objp; in process_found_objects()
926 kernel_object_t *objp1; in process_found_objects()
[all …]
H A DkernelObject.c87 kernel_object_t *old_object; in C_CopyObject()
88 kernel_object_t *new_object = NULL; in C_CopyObject()
184 new_object = calloc(1, sizeof (kernel_object_t)); in C_CopyObject()
302 kernel_object_t *object_p; in C_DestroyObject()
399 kernel_object_t *object_p; in C_GetAttributeValue()
518 kernel_object_t *object_p; in C_SetAttributeValue()
519 kernel_object_t *new_object = NULL; in C_SetAttributeValue()
655 kernel_object_t *object_p; in C_GetObjectSize()
H A DkernelAttributeUtil.c322 kernel_cleanup_extra_attr(kernel_object_t *object_p) in kernel_cleanup_extra_attr()
354 kernel_add_extra_attr(CK_ATTRIBUTE_PTR template, kernel_object_t *object_p) in kernel_add_extra_attr()
404 kernel_object_t *object_p) in kernel_copy_extra_attr()
452 get_extra_attr_from_object(kernel_object_t *object_p, CK_ATTRIBUTE_PTR template) in get_extra_attr_from_object()
510 set_extra_attr_to_object(kernel_object_t *object_p, CK_ATTRIBUTE_TYPE type, in set_extra_attr_to_object()
634 get_bool_attr_from_object(kernel_object_t *object_p, CK_ULONG bool_flag, in get_bool_attr_from_object()
670 set_bool_attr_to_object(kernel_object_t *object_p, CK_ULONG bool_flag, in set_bool_attr_to_object()
824 kernel_cleanup_object_bigint_attrs(kernel_object_t *object_p) in kernel_cleanup_object_bigint_attrs()
1000 CK_ULONG ulAttrNum, kernel_object_t *new_object, kernel_session_t *sp, in kernel_build_public_key_object()
1368 CK_ULONG ulAttrNum, kernel_object_t *new_object, kernel_session_t *sp, in kernel_build_private_key_object()
[all …]
H A DkernelDecrypt.c41 kernel_decrypt_init(kernel_session_t *session_p, kernel_object_t *key_p, in kernel_decrypt_init()
178 kernel_object_t *key_p; in C_DecryptInit()
H A DkernelSessionUtil.c186 kernel_object_t *objp; in kernel_delete_session()
187 kernel_object_t *objp1; in kernel_delete_session()
H A DkernelVerify.c42 kernel_object_t *key_p; in C_VerifyInit()
460 kernel_object_t *key_p; in C_VerifyRecoverInit()
H A DkernelSign.c41 kernel_object_t *key_p; in C_SignInit()
504 kernel_object_t *key_p; in C_SignRecoverInit()
H A DkernelGeneral.c302 kernel_object_t *delay_free_obj, *tmpo; in finalize_common()
H A DkernelEncrypt.c44 kernel_object_t *key_p; in C_EncryptInit()
H A DkernelDigest.c404 kernel_object_t *key_p; in C_DigestKey()