Home
last modified time | relevance | path

Searched refs:KMF_KEY_HANDLE_ATTR (Results 1 – 18 of 18) sorted by relevance

/titanic_50/usr/src/cmd/cmd-crypto/pktool/
H A Dgencert.c148 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 Dgenkey.c70 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 Dsigncsr.c218 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 Ddelete.c117 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 Dimport.c642 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 Dgencsr.c149 KMF_KEY_HANDLE_ATTR, &prik, sizeof (KMF_KEY_HANDLE)); in gencsr_pkcs11()
H A Dexport.c480 kmf_set_attr_at_index(attrlist, numattr, KMF_KEY_HANDLE_ATTR, in pk_export_pk11_keys()
H A Dlist.c285 KMF_KEY_HANDLE_ATTR, in pk_list_keys()
/titanic_50/usr/src/lib/libkmf/libkmf/common/
H A Dkeyop.c99 {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 Dcertop.c117 {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 Dcsrcrlop.c401 KMF_KEY_HANDLE_ATTR, Signkey, sizeof (KMF_KEY_HANDLE)); in sign_csr()
H A Dgeneralop.c1298 KMF_KEY_HANDLE_ATTR, key, sizeof (KMF_KEY_HANDLE)); in kmf_free_kmf_key()
/titanic_50/usr/src/lib/libelfsign/common/
H A Delfcertlib.c359 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 Dkssladm_create.c432 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 Dnss_spi.c1142 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 Dkmftypes.h776 KMF_KEY_HANDLE_ATTR, enumerator
/titanic_50/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/
H A Dpkcs11_spi.c1959 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 Dopenssl_spi.c1906 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()