/illumos-gate/usr/src/cmd/cmd-crypto/pktool/ |
H A D | export.c | 162 KMF_BIGINT *serial, KMF_CREDENTIAL *tokencred, in pk_export_pk12_nss() 167 KMF_CREDENTIAL p12cred = { NULL, 0 }; in pk_export_pk12_nss() 209 KMF_CREDENTIAL_ATTR, tokencred, sizeof (KMF_CREDENTIAL)); in pk_export_pk12_nss() 219 KMF_PK12CRED_ATTR, &p12cred, sizeof (KMF_CREDENTIAL)); in pk_export_pk12_nss() 241 KMF_CREDENTIAL p12cred = { NULL, 0 }; in pk_export_pk12_files() 264 KMF_PK12CRED_ATTR, &p12cred, sizeof (KMF_CREDENTIAL)); in pk_export_pk12_files() 372 KMF_BIGINT *serial, KMF_CREDENTIAL *tokencred, char *filename) in pk_export_pk12_pk11() 376 KMF_CREDENTIAL p12cred = { NULL, 0 }; in pk_export_pk12_pk11() 416 KMF_CREDENTIAL_ATTR, tokencred, sizeof (KMF_CREDENTIAL)); in pk_export_pk12_pk11() 422 KMF_PK12CRED_ATTR, &p12cred, sizeof (KMF_CREDENTIAL)); in pk_export_pk12_pk11() [all …]
|
H A D | common.h | 122 KMF_RETURN get_pk12_password(KMF_CREDENTIAL *); 132 int, KMF_CREDENTIAL *, KMF_OID *, 141 KMF_KEY_ALG, int, KMF_CREDENTIAL *, 148 int get_token_password(KMF_KEYSTORE_TYPE, char *, KMF_CREDENTIAL *);
|
H A D | import.c | 58 pk_import_pk12_files(KMF_HANDLE_T kmfhandle, KMF_CREDENTIAL *cred, in pk_import_pk12_files() 149 sizeof (KMF_CREDENTIAL)); in pk_import_pk12_files() 210 KMF_HANDLE_T kmfhandle, KMF_CREDENTIAL *kmfcred, in pk_import_pk12_nss() 211 KMF_CREDENTIAL *tokencred, in pk_import_pk12_nss() 262 sizeof (KMF_CREDENTIAL)); in pk_import_pk12_nss() 367 KMF_CREDENTIAL tokencred; in pk_import_cert() 414 &tokencred, sizeof (KMF_CREDENTIAL)); in pk_import_cert() 488 KMF_CREDENTIAL *p12cred, in pk_import_pk12_pk11() 489 KMF_CREDENTIAL *tokencred, in pk_import_pk12_pk11() 530 sizeof (KMF_CREDENTIAL)); in pk_import_pk12_pk11() [all …]
|
H A D | setpin.c | 47 KMF_CREDENTIAL oldcred = { NULL, 0 }; in setpin_nss() 48 KMF_CREDENTIAL newpincred = { NULL, 0 }; in setpin_nss() 122 KMF_CREDENTIAL newpincred = { NULL, 0 }; in setpin_pkcs11() 123 KMF_CREDENTIAL oldcred = { NULL, 0 }; in setpin_pkcs11()
|
H A D | genkeypair.c | 50 int keylen, KMF_CREDENTIAL *tokencred, KMF_OID *curveoid, in genkeypair_pkcs11() 94 sizeof (KMF_CREDENTIAL)); in genkeypair_pkcs11() 228 int keylen, KMF_CREDENTIAL *tokencred, in genkeypair_nss() 275 sizeof (KMF_CREDENTIAL)); in genkeypair_nss() 337 KMF_CREDENTIAL tokencred = { NULL, 0 }; in pk_genkeypair()
|
H A D | genkey.c | 40 char *keylabel, KMF_KEY_ALG keyAlg, int keylen, KMF_CREDENTIAL *tokencred) in genkey_nss() 91 sizeof (KMF_CREDENTIAL)); in genkey_nss() 111 KMF_CREDENTIAL *tokencred) in genkey_pkcs11() 195 sizeof (KMF_CREDENTIAL)); in genkey_pkcs11() 379 KMF_CREDENTIAL tokencred = { NULL, 0 }; in pk_genkey()
|
H A D | list.c | 305 char *dir, char *filename, KMF_CREDENTIAL *tokencred, in list_pk11_objects() 317 KMF_CREDENTIAL cred = { NULL, 0 }; in list_pk11_objects() 378 sizeof (KMF_CREDENTIAL)); in list_pk11_objects() 400 sizeof (KMF_CREDENTIAL)); in list_pk11_objects() 424 &cred, sizeof (KMF_CREDENTIAL)); in list_pk11_objects() 457 &cred, sizeof (KMF_CREDENTIAL)); in list_pk11_objects() 704 KMF_CREDENTIAL *tokencred, in list_nss_objects() 726 sizeof (KMF_CREDENTIAL)); in list_nss_objects() 919 KMF_CREDENTIAL tokencred = { NULL, 0 }; in pk_list()
|
H A D | delete.c | 53 KMF_CREDENTIAL cred; in pk_destroy_keys() 82 sizeof (KMF_CREDENTIAL)); in pk_destroy_keys() 105 sizeof (KMF_CREDENTIAL)); in pk_destroy_keys() 227 KMF_CREDENTIAL *tokencred) in delete_nss_keys() 253 tokencred, sizeof (KMF_CREDENTIAL)); in delete_nss_keys() 421 KMF_CREDENTIAL *tokencred) in delete_pk11_keys() 456 tokencred, sizeof (KMF_CREDENTIAL)); in delete_pk11_keys() 739 KMF_CREDENTIAL tokencred = { NULL, 0 }; in pk_delete()
|
H A D | gencsr.c | 52 KMF_CREDENTIAL *tokencred, EKU_LIST *ekulist, in gencsr_pkcs11() 132 tokencred, sizeof (KMF_CREDENTIAL)); in gencsr_pkcs11() 155 sizeof (KMF_CREDENTIAL)); in gencsr_pkcs11() 268 KMF_CREDENTIAL *tokencred, EKU_LIST *ekulist, in gencsr_nss() 349 tokencred, sizeof (KMF_CREDENTIAL)); in gencsr_nss() 395 KMF_CREDENTIAL tokencred = { NULL, 0 }; in pk_gencsr()
|
H A D | gencert.c | 53 uint16_t kubits, int kucrit, KMF_CREDENTIAL *tokencred, in gencert_pkcs11() 214 sizeof (KMF_CREDENTIAL)); in gencert_pkcs11() 234 sizeof (KMF_CREDENTIAL)); in gencert_pkcs11() 417 int kucrit, KMF_CREDENTIAL *tokencred, in gencert_nss() 602 KMF_CREDENTIAL tokencred = { NULL, 0 }; in pk_gencert()
|
H A D | signcsr.c | 355 char *token, KMF_CREDENTIAL *cred, in pk_signcsr_pk11_nss() 551 KMF_CREDENTIAL tokencred = { NULL, 0 }; in pk_signcsr()
|
H A D | common.c | 791 get_pk12_password(KMF_CREDENTIAL *cred) in get_pk12_password() 1109 char *token_spec, KMF_CREDENTIAL *cred) in get_token_password()
|
/illumos-gate/usr/src/lib/libkmf/libkmf/common/ |
H A D | pk11tokens.c | 442 {KMF_CREDENTIAL_ATTR, FALSE, sizeof (KMF_CREDENTIAL), in kmf_set_token_pin() 443 sizeof (KMF_CREDENTIAL)}, in kmf_set_token_pin() 444 {KMF_NEWPIN_ATTR, FALSE, sizeof (KMF_CREDENTIAL), in kmf_set_token_pin() 445 sizeof (KMF_CREDENTIAL)}, in kmf_set_token_pin()
|
H A D | certop.c | 2872 KMF_CREDENTIAL *p12cred, char *filename) in kmf_build_pk12() 2877 int, KMF_KEY_HANDLE *, KMF_CREDENTIAL *, char *); in kmf_build_pk12() 2907 KMF_CREDENTIAL *cred, in kmf_import_objects() 2913 KMF_RETURN (*import_objects)(KMF_HANDLE *, char *, KMF_CREDENTIAL *, in kmf_import_objects()
|
/illumos-gate/usr/src/lib/libkmf/include/ |
H A D | kmfapi.h | 245 int, KMF_KEY_HANDLE *, KMF_CREDENTIAL *, char *); 247 extern KMF_RETURN kmf_import_objects(KMF_HANDLE_T, char *, KMF_CREDENTIAL *,
|
H A D | kmftypes.h | 154 } KMF_CREDENTIAL; typedef
|
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/ |
H A D | pkcs11_spi.c | 191 KMF_CREDENTIAL *cred) in pk11_authenticate() 679 KMF_CREDENTIAL *cred = NULL; in KMFPK11_FindCert() 1231 KMF_CREDENTIAL *cred = NULL; in KMFPK11_StoreCert() 1266 KMF_CREDENTIAL *cred = NULL; in KMFPK11_ImportCert() 1657 KMF_CREDENTIAL *cred; in KMFPK11_CreateKeypair() 1950 KMF_CREDENTIAL cred; in KMFPK11_DeleteKey() 2186 KMF_CREDENTIAL cred; in KMFPK11_FindPrikeyByCert() 2932 KMF_CREDENTIAL *cred = NULL; in KMFPK11_FindKey() 3210 KMF_CREDENTIAL *cred = NULL; in store_raw_key() 3481 KMF_CREDENTIAL *cred = NULL; in KMFPK11_CreateSymKey() [all …]
|
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_nss/common/ |
H A D | nss_spi.c | 201 PK11SlotInfo *nss_slot, KMF_CREDENTIAL *cred) in nss_authenticate() 821 KMF_CREDENTIAL cred; in NSS_CreateKeypair() 1133 KMF_CREDENTIAL cred; in NSS_DeleteKey() 1234 KMF_CREDENTIAL cred; in NSS_FindPrikeyByCert() 1378 KMF_CREDENTIAL *cred = NULL; in NSS_FindKey() 1779 KMF_CREDENTIAL *cred = NULL; in NSS_ExportPK12() 1780 KMF_CREDENTIAL *p12cred = NULL; in NSS_ExportPK12() 1913 KMF_CREDENTIAL cred; in NSS_CreateSymKey() 2102 KMF_CREDENTIAL oldcred, newcred; in NSS_SetTokenPin() 2148 KMF_CREDENTIAL cred = { NULL, 0 }; in NSS_StoreKey()
|
/illumos-gate/usr/src/lib/libelfsign/common/ |
H A D | elfcertlib.c | 408 KMF_CREDENTIAL pincred; in elfcertlib_loadtokenkey() 453 &pincred, sizeof (KMF_CREDENTIAL)); in elfcertlib_loadtokenkey()
|
/illumos-gate/usr/src/cmd/cmd-crypto/elfsign/ |
H A D | elfsign.c | 746 KMF_CREDENTIAL cred; in create_csr() 811 KMF_CREDENTIAL_ATTR, &cred, sizeof (KMF_CREDENTIAL)); in create_csr()
|
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_openssl/common/ |
H A D | openssl_spi.c | 170 static KMF_RETURN local_export_pk12(KMF_HANDLE_T, KMF_CREDENTIAL *, int, 1392 KMF_CREDENTIAL *cred, EVP_PKEY *pkey, boolean_t private) in ssl_write_key() 3074 add_cert_to_safe(X509 *sslcert, KMF_CREDENTIAL *cred, in add_cert_to_safe() 3117 add_key_to_safe(EVP_PKEY *pkey, KMF_CREDENTIAL *cred, in add_key_to_safe() 3384 local_export_pk12(KMF_HANDLE_T handle, KMF_CREDENTIAL *cred, int numcerts, in local_export_pk12() 3547 KMF_CREDENTIAL *p12cred, char *filename) in openssl_build_pk12() 3570 KMF_CREDENTIAL *p12cred = NULL; in OpenSSL_ExportPK12() 4391 openssl_import_objects(KMF_HANDLE *kmfh, char *filename, KMF_CREDENTIAL *cred, in openssl_import_objects() 4884 KMF_CREDENTIAL cred = { NULL, 0 }; in OpenSSL_StoreKey()
|