/titanic_50/usr/src/lib/libkmf/include/ |
H A D | kmfapi.h | 41 extern KMF_RETURN kmf_configure_keystore(KMF_HANDLE_T, int, KMF_ATTRIBUTE *); 47 extern KMF_RETURN kmf_create_keypair(KMF_HANDLE_T, int, KMF_ATTRIBUTE *); 50 KMF_ATTRIBUTE *); 52 extern KMF_RETURN kmf_find_key(KMF_HANDLE_T, int, KMF_ATTRIBUTE *); 54 extern KMF_RETURN kmf_find_prikey_by_cert(KMF_HANDLE_T, int, KMF_ATTRIBUTE *); 56 extern KMF_RETURN kmf_store_key(KMF_HANDLE_T, int, KMF_ATTRIBUTE *); 58 extern KMF_RETURN kmf_create_sym_key(KMF_HANDLE_T, int, KMF_ATTRIBUTE *); 66 extern KMF_RETURN kmf_find_cert(KMF_HANDLE_T, int, KMF_ATTRIBUTE *); 70 extern KMF_RETURN kmf_import_cert(KMF_HANDLE_T, int, KMF_ATTRIBUTE *); 72 extern KMF_RETURN kmf_store_cert(KMF_HANDLE_T, int, KMF_ATTRIBUTE *); [all …]
|
H A D | kmfapiP.h | 39 KMF_ATTRIBUTE *); 44 KMF_ATTRIBUTE *); 52 int, KMF_ATTRIBUTE *); 56 int, KMF_ATTRIBUTE *); 60 int, KMF_ATTRIBUTE *); 64 int, KMF_ATTRIBUTE *); 68 int, KMF_ATTRIBUTE *); 73 KMF_ATTRIBUTE *); 78 KMF_ATTRIBUTE *); 95 KMF_ATTRIBUTE *); [all …]
|
H A D | kmftypes.h | 812 } KMF_ATTRIBUTE; typedef
|
/titanic_50/usr/src/lib/libkmf/libkmf/common/ |
H A D | keyop.c | 41 KMF_ATTRIBUTE *attrlist) in kmf_create_keypair() 88 KMF_ATTRIBUTE *attrlist) in kmf_delete_key_from_keystore() 157 KMF_ATTRIBUTE *attrlist) in kmf_find_key() 201 KMF_ATTRIBUTE *attrlist) in kmf_create_sym_key() 271 KMF_ATTRIBUTE *attrlist) in kmf_store_key()
|
H A D | csrcrlop.c | 42 setup_crl_call(KMF_HANDLE_T, int, KMF_ATTRIBUTE *, KMF_PLUGIN **); 371 KMF_ATTRIBUTE attlist[5]; in sign_csr() 563 KMF_ATTRIBUTE *attrlist) in kmf_verify_csr() 642 KMF_ATTRIBUTE *attrlist, KMF_PLUGIN **plugin) in setup_crl_call() 686 kmf_import_crl(KMF_HANDLE_T handle, int numattr, KMF_ATTRIBUTE *attrlist) in kmf_import_crl() 704 kmf_delete_crl(KMF_HANDLE_T handle, int numattr, KMF_ATTRIBUTE *attrlist) in kmf_delete_crl() 722 kmf_list_crl(KMF_HANDLE_T handle, int numattr, KMF_ATTRIBUTE *attrlist) in kmf_list_crl() 739 kmf_find_crl(KMF_HANDLE_T handle, int numattr, KMF_ATTRIBUTE *attrlist) in kmf_find_crl() 796 kmf_find_cert_in_crl(KMF_HANDLE_T handle, int numattr, KMF_ATTRIBUTE *attrlist) in kmf_find_cert_in_crl()
|
H A D | certop.c | 105 KMF_ATTRIBUTE *attrlist) in kmf_find_prikey_by_cert() 245 kmf_find_cert(KMF_HANDLE_T handle, int numattr, KMF_ATTRIBUTE *attrlist) in kmf_find_cert() 328 setup_findprikey_attrlist(KMF_ATTRIBUTE *src_attrlist, int src_num, in setup_findprikey_attrlist() 329 KMF_ATTRIBUTE **new_attrlist, int *new_num, KMF_KEY_HANDLE *key, in setup_findprikey_attrlist() 332 KMF_ATTRIBUTE *attrlist = NULL; in setup_findprikey_attrlist() 342 attrlist = (KMF_ATTRIBUTE *) malloc( in setup_findprikey_attrlist() 343 (src_num + 2) * sizeof (KMF_ATTRIBUTE)); in setup_findprikey_attrlist() 508 kmf_sign_cert(KMF_HANDLE_T handle, int numattr, KMF_ATTRIBUTE *attrlist) in kmf_sign_cert() 512 KMF_ATTRIBUTE *new_attrlist = NULL; in kmf_sign_cert() 658 KMF_ATTRIBUTE *attrlist) in kmf_sign_data() [all …]
|
H A D | generalop.c | 531 KMF_ATTRIBUTE *attrlist) in kmf_configure_keystore() 1286 KMF_ATTRIBUTE attlist[2]; /* only 2 attributes for DeleteKey op */ in kmf_free_kmf_key() 1464 KMF_ATTRIBUTE *attrlist) in kmf_create_ocsp_request() 1469 KMF_ATTRIBUTE *attrlist); in kmf_create_ocsp_request() 1515 KMF_ATTRIBUTE *attrlist) in kmf_get_ocsp_status_for_cert() 1520 KMF_ATTRIBUTE *attrlist); in kmf_get_ocsp_status_for_cert() 2279 kmf_find_attr(KMF_ATTR_TYPE type, KMF_ATTRIBUTE *attlist, int numattrs) in kmf_find_attr() 2294 verify_attribute(KMF_ATTRIBUTE *givenattr, in verify_attribute() 2326 int numattrs, KMF_ATTRIBUTE *attrlist) in test_attributes() 2373 kmf_set_attr_at_index(KMF_ATTRIBUTE *attlist, int index, in kmf_set_attr_at_index() [all …]
|
H A D | mapping.c | 111 KMF_ATTRIBUTE *attrlist) in kmf_cert_to_name_mapping_initialize()
|
H A D | pk11tokens.c | 436 KMF_ATTRIBUTE *attrlist) in kmf_set_token_pin()
|
/titanic_50/usr/src/cmd/cmd-crypto/pktool/ |
H A D | delete.c | 41 pk_destroy_keys(void *handle, KMF_ATTRIBUTE *attrlist, int numattr) in pk_destroy_keys() 48 KMF_ATTRIBUTE delete_attlist[16]; in pk_destroy_keys() 134 pk_delete_keys(KMF_HANDLE_T kmfhandle, KMF_ATTRIBUTE *attlist, int numattr, in pk_delete_keys() 189 pk_delete_certs(KMF_HANDLE_T kmfhandle, KMF_ATTRIBUTE *attlist, int numattr) in pk_delete_certs() 233 KMF_ATTRIBUTE attrlist[16]; in delete_nss_keys() 323 KMF_ATTRIBUTE attrlist[16]; in delete_nss_certs() 385 KMF_ATTRIBUTE attrlist[8]; in delete_nss_crl() 426 KMF_ATTRIBUTE attrlist[16]; in delete_pk11_keys() 529 KMF_ATTRIBUTE attrlist[16]; in delete_pk11_certs() 582 KMF_ATTRIBUTE attrlist[16]; in delete_file_certs() [all …]
|
H A D | import.c | 49 a = (KMF_ATTRIBUTE *)malloc(n * sizeof (KMF_ATTRIBUTE)); \ 54 (void) memset(a, 0, n * sizeof (KMF_ATTRIBUTE)); \ 69 KMF_ATTRIBUTE *attrlist = NULL; in pk_import_pk12_files() 222 KMF_ATTRIBUTE *attrlist = NULL; in pk_import_pk12_nss() 366 KMF_ATTRIBUTE attrlist[32]; in pk_import_cert() 430 KMF_ATTRIBUTE attrlist[8]; in pk_import_file_crl() 462 KMF_ATTRIBUTE attrlist[4]; in pk_import_nss_crl() 500 KMF_ATTRIBUTE *attrlist = NULL; in pk_import_pk12_pk11() 617 KMF_ATTRIBUTE attrlist[16]; in pk_import_keys() 705 KMF_ATTRIBUTE attrlist[16]; in pk_import_rawkey()
|
H A D | export.c | 44 pk_find_export_cert(KMF_HANDLE_T kmfhandle, KMF_ATTRIBUTE *attrlist, in pk_find_export_cert() 92 KMF_ATTRIBUTE attrlist[16]; in pk_export_file_objects() 168 KMF_ATTRIBUTE attrlist[16]; in pk_export_pk12_nss() 242 KMF_ATTRIBUTE attrlist[16]; in pk_export_pk12_files() 288 KMF_ATTRIBUTE attrlist[16]; in pk_export_nss_objects() 377 KMF_ATTRIBUTE attrlist[16]; in pk_export_pk12_pk11() 447 KMF_ATTRIBUTE attrlist[16]; in pk_export_pk11_keys() 596 KMF_ATTRIBUTE attrlist[16]; in pk_export_pk11_objects()
|
H A D | genkeypair.c | 56 KMF_ATTRIBUTE attrlist[16]; in genkeypair_pkcs11() 141 KMF_ATTRIBUTE attrlist[10]; in genkeypair_file() 235 KMF_ATTRIBUTE attrlist[16]; in genkeypair_nss()
|
H A D | setpin.c | 51 KMF_ATTRIBUTE setpinattrs[6]; in setpin_nss() 125 KMF_ATTRIBUTE attrlist[6]; in setpin_pkcs11()
|
H A D | genkey.c | 44 KMF_ATTRIBUTE attlist[20]; in genkey_nss() 120 KMF_ATTRIBUTE attlist[20]; in genkey_pkcs11() 263 KMF_ATTRIBUTE attlist[20]; in genkey_file()
|
H A D | list.c | 206 pk_find_certs(KMF_HANDLE_T kmfhandle, KMF_ATTRIBUTE *attrlist, int numattr) in pk_find_certs() 256 pk_list_keys(void *handle, KMF_ATTRIBUTE *attrlist, int numattr, char *label) in pk_list_keys() 311 KMF_ATTRIBUTE attrlist[18]; in list_pk11_objects() 547 KMF_ATTRIBUTE attrlist[16]; in list_file_objects() 710 KMF_ATTRIBUTE attrlist[16]; in list_nss_objects()
|
H A D | signcsr.c | 212 KMF_ATTRIBUTE attrlist[4]; in pk_sign_cert() 263 KMF_ATTRIBUTE attrlist[16]; in pk_signcsr_files() 368 KMF_ATTRIBUTE attrlist[16]; in pk_signcsr_pk11_nss()
|
H A D | gencert.c | 62 KMF_ATTRIBUTE attrlist[16]; in gencert_pkcs11() 263 KMF_ATTRIBUTE attrlist[10]; in gencert_file() 426 KMF_ATTRIBUTE attrlist[16]; in gencert_nss()
|
H A D | gencsr.c | 63 KMF_ATTRIBUTE attrlist[16]; in gencsr_pkcs11() 279 KMF_ATTRIBUTE attrlist[16]; in gencsr_nss()
|
H A D | common.c | 720 KMF_ATTRIBUTE attlist[10]; in select_token() 754 KMF_ATTRIBUTE attlist[10]; in configure_nss()
|
/titanic_50/usr/src/lib/libkmf/plugins/kmf_nss/common/ |
H A D | nss_spi.c | 60 NSS_ConfigureKeystore(KMF_HANDLE_T, int, KMF_ATTRIBUTE *); 63 NSS_FindCert(KMF_HANDLE_T, int, KMF_ATTRIBUTE *); 69 NSS_StoreCert(KMF_HANDLE_T, int, KMF_ATTRIBUTE *); 72 NSS_ImportCert(KMF_HANDLE_T, int, KMF_ATTRIBUTE *); 75 NSS_DeleteCert(KMF_HANDLE_T, int, KMF_ATTRIBUTE *); 78 NSS_CreateKeypair(KMF_HANDLE_T, int, KMF_ATTRIBUTE *); 81 NSS_StoreKey(KMF_HANDLE_T, int, KMF_ATTRIBUTE *); 91 NSS_ImportCRL(KMF_HANDLE_T, int, KMF_ATTRIBUTE *); 94 NSS_DeleteCRL(KMF_HANDLE_T, int, KMF_ATTRIBUTE *); 97 NSS_FindCRL(KMF_HANDLE_T, int, KMF_ATTRIBUTE *); [all …]
|
/titanic_50/usr/src/lib/libelfsign/common/ |
H A D | elfcertlib.c | 91 KMF_ATTRIBUTE attrlist[8]; in elfcertlib_verifycert() 231 KMF_ATTRIBUTE attrlist[8]; in elfcertlib_getcert() 342 KMF_ATTRIBUTE attrlist[16]; in elfcertlib_loadprivatekey() 402 KMF_ATTRIBUTE attrlist[16]; in elfcertlib_loadtokenkey() 504 KMF_ATTRIBUTE attrlist[8]; in elfcertlib_sign() 588 KMF_ATTRIBUTE attrlist[8]; in elfcertlib_verifysig() 687 KMF_ATTRIBUTE attrlist[8]; in elfcertlib_settoken()
|
/titanic_50/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/ |
H A D | pkcs11_spi.c | 67 int, KMF_ATTRIBUTE *, CK_OBJECT_HANDLE *); 70 KMFPK11_ConfigureKeystore(KMF_HANDLE_T, int, KMF_ATTRIBUTE *); 73 KMFPK11_FindCert(KMF_HANDLE_T, int, KMF_ATTRIBUTE *); 80 KMFPK11_StoreCert(KMF_HANDLE_T, int, KMF_ATTRIBUTE *); 83 KMFPK11_ImportCert(KMF_HANDLE_T, int, KMF_ATTRIBUTE *); 86 KMFPK11_DeleteCert(KMF_HANDLE_T, int, KMF_ATTRIBUTE *); 89 KMFPK11_CreateKeypair(KMF_HANDLE_T, int, KMF_ATTRIBUTE *); 92 KMFPK11_StoreKey(KMF_HANDLE_T, int, KMF_ATTRIBUTE *); 95 KMFPK11_DeleteKey(KMF_HANDLE_T, int, KMF_ATTRIBUTE *); 108 KMFPK11_FindPrikeyByCert(KMF_HANDLE_T, int, KMF_ATTRIBUTE *); [all …]
|
/titanic_50/usr/src/lib/libkmf/plugins/kmf_openssl/common/ |
H A D | openssl_spi.c | 189 OpenSSL_FindCert(KMF_HANDLE_T, int, KMF_ATTRIBUTE *); 195 OpenSSL_StoreCert(KMF_HANDLE_T handle, int, KMF_ATTRIBUTE *); 198 OpenSSL_DeleteCert(KMF_HANDLE_T handle, int, KMF_ATTRIBUTE *); 201 OpenSSL_CreateKeypair(KMF_HANDLE_T, int, KMF_ATTRIBUTE *); 204 OpenSSL_StoreKey(KMF_HANDLE_T, int, KMF_ATTRIBUTE *); 214 OpenSSL_DeleteKey(KMF_HANDLE_T, int, KMF_ATTRIBUTE *); 217 OpenSSL_ImportCRL(KMF_HANDLE_T, int, KMF_ATTRIBUTE *); 220 OpenSSL_DeleteCRL(KMF_HANDLE_T, int, KMF_ATTRIBUTE *); 223 OpenSSL_ListCRL(KMF_HANDLE_T, int, KMF_ATTRIBUTE *); 226 OpenSSL_FindCertInCRL(KMF_HANDLE_T, int, KMF_ATTRIBUTE *); [all …]
|
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/kssl/kssladm/ |
H A D | kssladm_create.c | 323 KMF_ATTRIBUTE attrlist[16]; in get_sensitive_key_data() 587 KMF_ATTRIBUTE attrlist[16]; in load_from_pkcs11() 770 KMF_ATTRIBUTE attrlist[16]; in add_cacerts()
|