/titanic_50/usr/src/cmd/cmd-crypto/pktool/ |
H A D | gencert.c | 148 kmf_set_attr_at_index(attrlist, numattr, KMF_KEY_HANDLE_ATTR, in gencert_pkcs11() 149 &prik, sizeof (KMF_KEY_HANDLE_ATTR)); in gencert_pkcs11() 207 KMF_KEY_HANDLE_ATTR, &pubk, sizeof (KMF_KEY_HANDLE)); in gencert_pkcs11() 227 KMF_KEY_HANDLE_ATTR, &prik, sizeof (KMF_KEY_HANDLE)); in gencert_pkcs11() 353 kmf_set_attr_at_index(attrlist, numattr, KMF_KEY_HANDLE_ATTR, in gencert_file() 354 &prik, sizeof (KMF_KEY_HANDLE_ATTR)); in gencert_file() 505 kmf_set_attr_at_index(attrlist, numattr, KMF_KEY_HANDLE_ATTR, in gencert_nss() 506 &prik, sizeof (KMF_KEY_HANDLE_ATTR)); in gencert_nss()
|
H A D | genkey.c | 70 KMF_KEY_HANDLE_ATTR, &key, sizeof (KMF_KEY_HANDLE)); in genkey_nss() 174 KMF_KEY_HANDLE_ATTR, &key, sizeof (KMF_KEY_HANDLE)); in genkey_pkcs11() 295 KMF_KEY_HANDLE_ATTR, &key, sizeof (KMF_KEY_HANDLE)); in genkey_file()
|
H A D | signcsr.c | 218 kmf_set_attr_at_index(attrlist, numattr++, KMF_KEY_HANDLE_ATTR, in pk_sign_cert() 219 key, sizeof (KMF_KEY_HANDLE_ATTR)); in pk_sign_cert() 319 kmf_set_attr_at_index(attrlist, numattr, KMF_KEY_HANDLE_ATTR, in pk_signcsr_files() 449 kmf_set_attr_at_index(attrlist, numattr, KMF_KEY_HANDLE_ATTR, in pk_signcsr_pk11_nss()
|
H A D | delete.c | 117 keys = kmf_get_attr_ptr(KMF_KEY_HANDLE_ATTR, attrlist, numattr); in pk_destroy_keys() 125 KMF_KEY_HANDLE_ATTR, &keys[i], sizeof (KMF_KEY_HANDLE)); in pk_destroy_keys() 173 KMF_KEY_HANDLE_ATTR, keys, sizeof (KMF_KEY_HANDLE)); in pk_delete_keys()
|
H A D | import.c | 642 kmf_set_attr_at_index(attrlist, numattr, KMF_KEY_HANDLE_ATTR, in pk_import_keys() 750 KMF_KEY_HANDLE_ATTR, &rawkey, sizeof (rawkey)); in pk_import_rawkey()
|
H A D | gencsr.c | 149 KMF_KEY_HANDLE_ATTR, &prik, sizeof (KMF_KEY_HANDLE)); in gencsr_pkcs11()
|
H A D | export.c | 480 kmf_set_attr_at_index(attrlist, numattr, KMF_KEY_HANDLE_ATTR, in pk_export_pk11_keys()
|
H A D | list.c | 285 KMF_KEY_HANDLE_ATTR, in pk_list_keys()
|
/titanic_50/usr/src/lib/libkmf/libkmf/common/ |
H A D | keyop.c | 99 {KMF_KEY_HANDLE_ATTR, FALSE, sizeof (KMF_KEY_HANDLE), in kmf_delete_key_from_keystore() 131 key = kmf_get_attr_ptr(KMF_KEY_HANDLE_ATTR, attrlist, num_args); in kmf_delete_key_from_keystore() 210 {KMF_KEY_HANDLE_ATTR, FALSE, sizeof (KMF_KEY_HANDLE), in kmf_create_sym_key()
|
H A D | certop.c | 117 {KMF_KEY_HANDLE_ATTR, TRUE, sizeof (KMF_KEY_HANDLE), in kmf_find_prikey_by_cert() 146 key = kmf_get_attr_ptr(KMF_KEY_HANDLE_ATTR, attrlist, numattr); in kmf_find_prikey_by_cert() 355 index = kmf_find_attr(KMF_KEY_HANDLE_ATTR, attrlist, cur_num); in setup_findprikey_attrlist() 359 KMF_KEY_HANDLE_ATTR, key, sizeof (KMF_KEY_HANDLE)); in setup_findprikey_attrlist() 364 KMF_KEY_HANDLE_ATTR, key, sizeof (KMF_KEY_HANDLE)); in setup_findprikey_attrlist() 543 sign_key_ptr = kmf_get_attr_ptr(KMF_KEY_HANDLE_ATTR, attrlist, in kmf_sign_cert() 694 sign_key_ptr = kmf_get_attr_ptr(KMF_KEY_HANDLE_ATTR, attrlist, in kmf_sign_data() 871 KMFKey = kmf_get_attr_ptr(KMF_KEY_HANDLE_ATTR, attrlist, num_args); in kmf_verify_data() 1007 KMFKey = kmf_get_attr_ptr(KMF_KEY_HANDLE_ATTR, attrlist, numattr); in kmf_verify_cert() 3083 kmf_set_attr_at_index(attrlist, i, KMF_KEY_HANDLE_ATTR, in sign_cert()
|
H A D | csrcrlop.c | 401 KMF_KEY_HANDLE_ATTR, Signkey, sizeof (KMF_KEY_HANDLE)); in sign_csr()
|
H A D | generalop.c | 1298 KMF_KEY_HANDLE_ATTR, key, sizeof (KMF_KEY_HANDLE)); in kmf_free_kmf_key()
|
/titanic_50/usr/src/lib/libelfsign/common/ |
H A D | elfcertlib.c | 359 kmf_set_attr_at_index(attrlist, numattr++, KMF_KEY_HANDLE_ATTR, in elfcertlib_loadprivatekey() 440 kmf_set_attr_at_index(attrlist, numattr++, KMF_KEY_HANDLE_ATTR, in elfcertlib_loadtokenkey() 543 KMF_KEY_HANDLE_ATTR, &cert->c_privatekey, sizeof (KMF_KEY_HANDLE)); in elfcertlib_sign()
|
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/kssl/kssladm/ |
H A D | kssladm_create.c | 432 kmf_set_attr_at_index(attrlist, numattr, KMF_KEY_HANDLE_ATTR, in get_sensitive_key_data() 534 if ((idx = kmf_find_attr(KMF_KEY_HANDLE_ATTR, attrlist, in get_sensitive_key_data() 703 kmf_set_attr_at_index(attrlist, numattr, KMF_KEY_HANDLE_ATTR, in load_from_pkcs11()
|
/titanic_50/usr/src/lib/libkmf/plugins/kmf_nss/common/ |
H A D | nss_spi.c | 1142 key = kmf_get_attr_ptr(KMF_KEY_HANDLE_ATTR, attrlist, numattr); in NSS_DeleteKey() 1257 key = kmf_get_attr_ptr(KMF_KEY_HANDLE_ATTR, attrlist, numattr); in NSS_FindPrikeyByCert() 1442 keys = kmf_get_attr_ptr(KMF_KEY_HANDLE_ATTR, attrlist, numattr); in NSS_FindKey() 1922 symkey = kmf_get_attr_ptr(KMF_KEY_HANDLE_ATTR, attrlist, numattr); in NSS_CreateSymKey()
|
/titanic_50/usr/src/lib/libkmf/include/ |
H A D | kmftypes.h | 776 KMF_KEY_HANDLE_ATTR, enumerator
|
/titanic_50/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/ |
H A D | pkcs11_spi.c | 1959 key = kmf_get_attr_ptr(KMF_KEY_HANDLE_ATTR, attrlist, numattr); in KMFPK11_DeleteKey() 2191 key = kmf_get_attr_ptr(KMF_KEY_HANDLE_ATTR, attrlist, numattr); in KMFPK11_FindPrikeyByCert() 3042 keys = kmf_get_attr_ptr(KMF_KEY_HANDLE_ATTR, attrlist, numattr); in KMFPK11_FindKey() 3490 symkey = kmf_get_attr_ptr(KMF_KEY_HANDLE_ATTR, attrlist, numattr); in KMFPK11_CreateSymKey() 4187 KMF_KEY_HANDLE_ATTR, &newkey, sizeof (KMF_KEY_HANDLE)); in KMFPK11_ExportPK12()
|
/titanic_50/usr/src/lib/libkmf/plugins/kmf_openssl/common/ |
H A D | openssl_spi.c | 1906 key = kmf_get_attr_ptr(KMF_KEY_HANDLE_ATTR, attrlist, numattr); in OpenSSL_DeleteKey() 2262 key = kmf_get_attr_ptr(KMF_KEY_HANDLE_ATTR, attrlist, numattr); in OpenSSL_FindPrikeyByCert() 2267 KMF_KEY_HANDLE_ATTR, key, sizeof (KMF_KEY_HANDLE)); in OpenSSL_FindPrikeyByCert() 2950 key = kmf_get_attr_ptr(KMF_KEY_HANDLE_ATTR, attrlist, numattr); in OpenSSL_FindKey() 4608 symkey = kmf_get_attr_ptr(KMF_KEY_HANDLE_ATTR, attrlist, numattr); in OpenSSL_CreateSymKey()
|