/titanic_50/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softKeys.h | 46 CK_ATTRIBUTE_PTR, CK_ULONG, CK_OBJECT_HANDLE_PTR); 48 CK_RV soft_genkey_pair(soft_session_t *, CK_MECHANISM_PTR, CK_ATTRIBUTE_PTR, 49 CK_ULONG, CK_ATTRIBUTE_PTR, CK_ULONG, CK_OBJECT_HANDLE_PTR, 53 CK_ATTRIBUTE_PTR, CK_ULONG, CK_OBJECT_HANDLE_PTR); 57 CK_RV soft_gen_keyobject(CK_ATTRIBUTE_PTR, CK_ULONG, 68 CK_BYTE_PTR, CK_ULONG, CK_ATTRIBUTE_PTR, CK_ULONG,
|
H A D | softObject.h | 796 CK_RV soft_add_object(CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount, 809 CK_RV soft_build_object(CK_ATTRIBUTE_PTR template, 812 CK_RV soft_build_secret_key_object(CK_ATTRIBUTE_PTR template, 821 CK_RV soft_get_attribute(soft_object_t *object_p, CK_ATTRIBUTE_PTR template); 823 CK_RV soft_set_attribute(soft_object_t *object_p, CK_ATTRIBUTE_PTR template, 827 CK_ATTRIBUTE_PTR template, boolean_t copy); 835 CK_RV get_ulong_attr_from_object(CK_ULONG value, CK_ATTRIBUTE_PTR template); 841 CK_RV soft_build_key(CK_ATTRIBUTE_PTR, CK_ULONG, soft_object_t *, 856 CK_RV soft_validate_attr(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, 859 CK_RV soft_find_objects_init(soft_session_t *sp, CK_ATTRIBUTE_PTR pTemplate, [all …]
|
H A D | softEC.h | 46 extern CK_RV soft_get_public_key_attribute(soft_object_t *, CK_ATTRIBUTE_PTR); 47 extern CK_RV soft_get_private_key_attribute(soft_object_t *, CK_ATTRIBUTE_PTR); 49 CK_ATTRIBUTE_PTR);
|
H A D | softSSL.h | 39 soft_object_t *, CK_ATTRIBUTE_PTR, CK_ULONG, CK_OBJECT_HANDLE_PTR); 41 soft_object_t *, CK_ATTRIBUTE_PTR, CK_ULONG);
|
H A D | softKeys.c | 35 CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount, CK_OBJECT_HANDLE_PTR phKey) in C_GenerateKey() 72 CK_ATTRIBUTE_PTR pPublicKeyTemplate, CK_ULONG ulPublicKeyAttributeCount, in C_GenerateKeyPair() 73 CK_ATTRIBUTE_PTR pPrivateKeyTemplate, CK_ULONG ulPrivateKeyAttributeCount, in C_GenerateKeyPair() 220 CK_ULONG ulWrappedKeyLen, CK_ATTRIBUTE_PTR pTemplate, in C_UnwrapKey() 319 CK_OBJECT_HANDLE hBaseKey, CK_ATTRIBUTE_PTR pTemplate, in C_DeriveKey()
|
H A D | softObject.c | 38 CK_ATTRIBUTE_PTR pTemplate, in C_CreateObject() 78 CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount, in C_CopyObject() 330 CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount) in C_GetAttributeValue() 411 CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount) in C_SetAttributeValue() 561 C_FindObjectsInit(CK_SESSION_HANDLE sh, CK_ATTRIBUTE_PTR pTemplate, in C_FindObjectsInit()
|
H A D | softAttributeUtil.c | 265 soft_validate_attr(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, in soft_validate_attr() 447 soft_add_extra_attr(CK_ATTRIBUTE_PTR template, soft_object_t *object_p) in soft_add_extra_attr() 586 get_extra_attr_from_object(soft_object_t *object_p, CK_ATTRIBUTE_PTR template) in get_extra_attr_from_object() 645 CK_ATTRIBUTE_PTR template) in set_extra_attr_to_object() 702 get_bigint_attr_from_template(biginteger_t *big, CK_ATTRIBUTE_PTR template) in get_bigint_attr_from_template() 730 get_bigint_attr_from_object(biginteger_t *big, CK_ATTRIBUTE_PTR template) in get_bigint_attr_from_object() 769 CK_ATTRIBUTE_PTR template) in get_bool_attr_from_object() 805 CK_ATTRIBUTE_PTR template) in set_bool_attr_to_object() 822 get_ulong_attr_from_object(CK_ULONG value, CK_ATTRIBUTE_PTR template) in get_ulong_attr_from_object() 855 get_ulong_attr_from_template(CK_ULONG *value, CK_ATTRIBUTE_PTR template) in get_ulong_attr_from_template() [all …]
|
H A D | softSSL.c | 93 static CK_RV soft_add_derived_key(CK_ATTRIBUTE_PTR, CK_ULONG, 422 soft_object_t *basekey_p, CK_ATTRIBUTE_PTR pTemplate, in soft_ssl_master_key_derive() 440 CK_ATTRIBUTE_PTR new_tmpl; in soft_ssl_master_key_derive() 617 soft_object_t *basekey_p, CK_ATTRIBUTE_PTR pTemplate, in soft_ssl_key_and_mac_derive() 635 CK_ATTRIBUTE_PTR new_tmpl; in soft_ssl_key_and_mac_derive() 969 soft_add_derived_key(CK_ATTRIBUTE_PTR tmpl, CK_ULONG attrcount, in soft_add_derived_key()
|
H A D | softKeysUtil.c | 62 soft_gen_keyobject(CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount, in soft_gen_keyobject() 154 CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount, CK_OBJECT_HANDLE_PTR phKey) in soft_genkey() 417 CK_ATTRIBUTE_PTR pPublicKeyTemplate, CK_ULONG ulPublicAttrCount, in soft_genkey_pair() 418 CK_ATTRIBUTE_PTR pPrivateKeyTemplate, CK_ULONG ulPrivateAttrCount, in soft_genkey_pair() 850 soft_object_t *basekey_p, CK_ATTRIBUTE_PTR pTemplate, in soft_derivekey() 1558 CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulAttributeCount) in soft_unwrap_secret_len_check() 1633 CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulAttributeCount, in soft_unwrapkey()
|
H A D | softObjectUtil.c | 228 soft_add_object(CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount, in soft_add_object() 591 search_for_objects(CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount, in search_for_objects() 734 soft_find_objects_init(soft_session_t *sp, CK_ATTRIBUTE_PTR pTemplate, in soft_find_objects_init()
|
/titanic_50/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelGlobal.h | 85 void get_ulong_attr_from_template(CK_ULONG *, CK_ATTRIBUTE_PTR); 86 CK_RV process_object_attributes(CK_ATTRIBUTE_PTR, CK_ULONG, caddr_t *, 88 CK_RV get_object_attributes(CK_ATTRIBUTE_PTR, CK_ULONG, caddr_t); 100 CK_RV kernel_add_extra_attr(CK_ATTRIBUTE_PTR, kernel_object_t *);
|
H A D | kernelObject.h | 528 CK_RV kernel_add_object(CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount, 541 CK_RV kernel_build_object(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, 552 CK_ATTRIBUTE_PTR template); 555 CK_ATTRIBUTE_PTR template, boolean_t copy, kernel_session_t *sp); 570 CK_RV kernel_validate_attr(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, 574 CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount); 583 CK_ULONG *num_result_pclasses, CK_ATTRIBUTE_PTR pTemplate, 590 CK_ATTRIBUTE_PTR get_extra_attr(CK_ATTRIBUTE_TYPE type, kernel_object_t *obj); 592 CK_RV get_string_from_template(CK_ATTRIBUTE_PTR dest, CK_ATTRIBUTE_PTR src); 594 void string_attr_cleanup(CK_ATTRIBUTE_PTR template);
|
H A D | kernelKeys.c | 36 attribute_in_template(CK_ATTRIBUTE_TYPE type, CK_ATTRIBUTE_PTR t, CK_ULONG cnt) in attribute_in_template() 54 get_modulus_bytes(CK_ATTRIBUTE_PTR t, CK_ULONG cnt) in get_modulus_bytes() 78 remove_one_attribute(CK_ATTRIBUTE_PTR t, CK_ULONG type, uint_t count, in remove_one_attribute() 107 is_secret_key_template(CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulAttributeCount) in is_secret_key_template() 123 static CK_ATTRIBUTE_PTR 124 grow_template(CK_ATTRIBUTE_PTR old_template, CK_ULONG old_count, in grow_template() 127 CK_ATTRIBUTE_PTR new_template; in grow_template() 143 CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulAttributeCount, in get_key_len_from_template() 217 copy_attribute(CK_ULONG type, CK_ATTRIBUTE_PTR src, CK_ULONG src_cnt, in copy_attribute() 218 CK_ATTRIBUTE_PTR dst) in copy_attribute() [all …]
|
H A D | kernelAttributeUtil.c | 259 kernel_validate_attr(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, in kernel_validate_attr() 354 kernel_add_extra_attr(CK_ATTRIBUTE_PTR template, kernel_object_t *object_p) in kernel_add_extra_attr() 452 get_extra_attr_from_object(kernel_object_t *object_p, CK_ATTRIBUTE_PTR template) in get_extra_attr_from_object() 511 CK_ATTRIBUTE_PTR template) in set_extra_attr_to_object() 568 get_bigint_attr_from_template(biginteger_t *big, CK_ATTRIBUTE_PTR template) in get_bigint_attr_from_template() 596 get_bigint_attr_from_object(biginteger_t *big, CK_ATTRIBUTE_PTR template) in get_bigint_attr_from_object() 635 CK_ATTRIBUTE_PTR template) in get_bool_attr_from_object() 671 CK_ATTRIBUTE_PTR template) in set_bool_attr_to_object() 688 get_ulong_attr_from_object(CK_ULONG value, CK_ATTRIBUTE_PTR template) in get_ulong_attr_from_object() 720 get_ulong_attr_from_template(CK_ULONG *value, CK_ATTRIBUTE_PTR template) in get_ulong_attr_from_template() [all …]
|
H A D | kernelObject.c | 42 CK_ATTRIBUTE_PTR pTemplate, in C_CreateObject() 82 CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount, in C_CopyObject() 397 CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount) in C_GetAttributeValue() 517 CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount) in C_SetAttributeValue() 733 C_FindObjectsInit(CK_SESSION_HANDLE sh, CK_ATTRIBUTE_PTR pTemplate, in C_FindObjectsInit()
|
H A D | kernelObjectUtil.c | 208 kernel_add_object(CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount, in kernel_add_object() 598 search_for_objects(kernel_session_t *sp, CK_ATTRIBUTE_PTR pTemplate, in search_for_objects() 663 kernel_find_objects_init(kernel_session_t *sp, CK_ATTRIBUTE_PTR pTemplate, in kernel_find_objects_init()
|
/titanic_50/usr/src/lib/pkcs11/include/ |
H A D | pkcs11f.h | 265 CK_ATTRIBUTE_PTR pTemplate, /* the object's template */ 279 CK_ATTRIBUTE_PTR pTemplate, /* template for new object */ 314 CK_ATTRIBUTE_PTR pTemplate, /* specifies attrs; gets vals */ 327 CK_ATTRIBUTE_PTR pTemplate, /* specifies attrs and values */ 339 CK_ATTRIBUTE_PTR pTemplate, /* attribute values to match */ 768 CK_ATTRIBUTE_PTR pTemplate, /* template for new key */ 784 CK_ATTRIBUTE_PTR pPublicKeyTemplate, /* template 789 CK_ATTRIBUTE_PTR pPrivateKeyTemplate, /* template 828 CK_ATTRIBUTE_PTR pTemplate, /* new key template */ 843 CK_ATTRIBUTE_PTR pTemplate, /* new key template */
|
/titanic_50/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | pkcs11Keys.c | 43 CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount, CK_OBJECT_HANDLE_PTR phKey) in C_GenerateKey() 98 CK_ATTRIBUTE_PTR pPublicKeyTemplate, CK_ULONG ulPublicKeyAttributeCount, in C_GenerateKeyPair() 99 CK_ATTRIBUTE_PTR pPrivateKeyTemplate, CK_ULONG ulPrivateKeyAttributeCount, in C_GenerateKeyPair() 216 CK_ULONG ulWrappedKeyLen, CK_ATTRIBUTE_PTR pTemplate, in C_UnwrapKey() 273 CK_OBJECT_HANDLE hBaseKey, CK_ATTRIBUTE_PTR pTemplate, in C_DeriveKey()
|
H A D | pkcs11Object.c | 40 CK_ATTRIBUTE_PTR pTemplate, in C_CreateObject() 83 CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount, in C_CopyObject() 162 CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount) in C_GetAttributeValue() 203 CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount) in C_SetAttributeValue() 282 C_FindObjectsInit(CK_SESSION_HANDLE hSession, CK_ATTRIBUTE_PTR pTemplate, in C_FindObjectsInit()
|
H A D | metaKeys.c | 40 CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount, CK_OBJECT_HANDLE_PTR phKey) in meta_GenerateKey() 85 CK_ATTRIBUTE_PTR pPublicKeyTemplate, CK_ULONG ulPublicKeyAttributeCount, in meta_GenerateKeyPair() 86 CK_ATTRIBUTE_PTR pPrivateKeyTemplate, CK_ULONG ulPrivateKeyAttributeCount, in meta_GenerateKeyPair() 187 CK_ULONG ulWrappedKeyLen, CK_ATTRIBUTE_PTR pTemplate, in meta_UnwrapKey() 246 CK_OBJECT_HANDLE hBaseKey, CK_ATTRIBUTE_PTR pTemplate, in meta_DeriveKey()
|
H A D | metaGlobal.h | 732 CK_RV meta_CreateObject(CK_SESSION_HANDLE hSession, CK_ATTRIBUTE_PTR pTemplate, 735 CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount, 741 CK_OBJECT_HANDLE hObject, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount); 743 CK_OBJECT_HANDLE hObject, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount); 745 CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount); 816 CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount, CK_OBJECT_HANDLE_PTR phKey); 818 CK_MECHANISM_PTR pMechanism, CK_ATTRIBUTE_PTR pPublicKeyTemplate, 819 CK_ULONG ulPublicKeyAttributeCount, CK_ATTRIBUTE_PTR pPrivateKeyTemplate, 827 CK_ULONG ulWrappedKeyLen, CK_ATTRIBUTE_PTR pTemplate, 830 CK_OBJECT_HANDLE hBaseKey, CK_ATTRIBUTE_PTR pTemplate,
|
H A D | metaObject.c | 112 meta_CreateObject(CK_SESSION_HANDLE hSession, CK_ATTRIBUTE_PTR pTemplate, in meta_CreateObject() 343 CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount, in meta_CopyObject() 671 CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount) in meta_GetAttributeValue() 727 CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount) in meta_SetAttributeValue() 1031 slot_session_t *slot_session, CK_ATTRIBUTE_PTR pTemplate, in meta_search_for_objects() 1095 meta_FindObjectsInit(CK_SESSION_HANDLE hSession, CK_ATTRIBUTE_PTR pTemplate, in meta_FindObjectsInit() 1164 CK_ATTRIBUTE_PTR newTemplate; in meta_FindObjectsInit()
|
/titanic_50/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | api_interface.c | 481 CK_ATTRIBUTE_PTR pTemplate, in C_CopyObject() 517 CK_ATTRIBUTE_PTR pTemplate, in C_CreateObject() 724 CK_ATTRIBUTE_PTR pTemplate, in C_DeriveKey() 1098 CK_ATTRIBUTE_PTR pTemplate, in C_FindObjectsInit() 1121 CK_ATTRIBUTE_PTR pTemplate, in C_GenerateKey() 1152 CK_ATTRIBUTE_PTR pPublicKeyTemplate, in C_GenerateKeyPair() 1154 CK_ATTRIBUTE_PTR pPrivateKeyTemplate, in C_GenerateKeyPair() 1214 CK_ATTRIBUTE_PTR pTemplate, in C_GetAttributeValue() 1830 CK_ATTRIBUTE_PTR pTemplate, in C_SetAttributeValue() 2094 CK_ATTRIBUTE_PTR pTemplate, in C_UnwrapKey()
|
H A D | tpmtok_int.h | 1342 (ST_SESSION_T hSession, CK_ATTRIBUTE_PTR pTemplate, 1348 CK_ATTRIBUTE_PTR pTemplate, CK_ULONG usCount, 1360 CK_ATTRIBUTE_PTR pTemplate, CK_ULONG usCount); 1364 CK_ATTRIBUTE_PTR pTemplate, CK_ULONG usCount); 1367 (ST_SESSION_T hSession, CK_ATTRIBUTE_PTR pTemplate, 1509 CK_ATTRIBUTE_PTR pTemplate, CK_ULONG usCount, 1514 CK_ATTRIBUTE_PTR pPublicKeyTemplate, 1516 CK_ATTRIBUTE_PTR pPrivateKeyTemplate, 1529 CK_ULONG usWrappedKeyLen, CK_ATTRIBUTE_PTR pTemplate, 1534 CK_OBJECT_HANDLE hBaseKey, CK_ATTRIBUTE_PTR pTemplate,
|
H A D | new_host.c | 879 CK_ATTRIBUTE_PTR pTemplate, in SC_CreateObject() 914 CK_ATTRIBUTE_PTR pTemplate, in SC_CopyObject() 1006 CK_ATTRIBUTE_PTR pTemplate, in SC_GetAttributeValue() 1033 CK_ATTRIBUTE_PTR pTemplate, in SC_SetAttributeValue() 1059 CK_ATTRIBUTE_PTR pTemplate, in SC_FindObjectsInit() 2173 CK_ATTRIBUTE_PTR pPublicKeyTemplate, in SC_GenerateKeyPair() 2175 CK_ATTRIBUTE_PTR pPrivateKeyTemplate, in SC_GenerateKeyPair() 2270 CK_ATTRIBUTE_PTR pTemplate, in SC_UnwrapKey()
|