Home
last modified time | relevance | path

Searched refs:KMF_KEYSTORE_PK11TOKEN (Results 1 – 20 of 20) sorted by relevance

/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dpk11keys.c507 kmfh->lasterr.kstype = KMF_KEYSTORE_PK11TOKEN; in PKCS_VerifyData()
521 kmfh->lasterr.kstype = KMF_KEYSTORE_PK11TOKEN; in PKCS_VerifyData()
532 kmfh->lasterr.kstype = KMF_KEYSTORE_PK11TOKEN; in PKCS_VerifyData()
598 kmfh->lasterr.kstype = KMF_KEYSTORE_PK11TOKEN; in PKCS_EncryptData()
629 kmfh->lasterr.kstype = KMF_KEYSTORE_PK11TOKEN; in PKCS_EncryptData()
640 kmfh->lasterr.kstype = KMF_KEYSTORE_PK11TOKEN; in PKCS_EncryptData()
657 kmfh->lasterr.kstype = KMF_KEYSTORE_PK11TOKEN; in PKCS_EncryptData()
670 kmfh->lasterr.kstype = KMF_KEYSTORE_PK11TOKEN; in PKCS_EncryptData()
811 kmfh->lasterr.kstype = KMF_KEYSTORE_PK11TOKEN; in PKCS_DigestData()
820 kmfh->lasterr.kstype = KMF_KEYSTORE_PK11TOKEN; in PKCS_DigestData()
H A Dpk11tokens.c117 handle->lasterr.kstype = KMF_KEYSTORE_PK11TOKEN; in kmf_get_token_slots()
147 handle->lasterr.kstype = KMF_KEYSTORE_PK11TOKEN; in kmf_get_token_slots()
541 handle->lasterr.kstype = KMF_KEYSTORE_PK11TOKEN; in kmf_select_token()
H A Dcsrcrlop.c676 case KMF_KEYSTORE_PK11TOKEN: /* PKCS#11 CRL is file-based */ in setup_crl_call()
775 case KMF_KEYSTORE_PK11TOKEN: in kmf_find_crl()
H A Dgeneralop.c153 {KMF_KEYSTORE_PK11TOKEN, KMF_PLUGIN_PATH "kmf_pkcs11.so.1", TRUE},
2662 *kstype = KMF_KEYSTORE_PK11TOKEN; in kmf_get_plugin_info()
H A Dcertop.c1683 case KMF_KEYSTORE_PK11TOKEN: in cert_crl_check()
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/
H A Dsetpin.c124 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_PK11TOKEN; in setpin_pkcs11()
246 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_PK11TOKEN; in pk_setpin()
290 if (kstype == KMF_KEYSTORE_PK11TOKEN && EMPTYSTRING(token_spec)) { in pk_setpin()
309 case KMF_KEYSTORE_PK11TOKEN: in pk_setpin()
H A Dexport.c385 kstype = KMF_KEYSTORE_PK11TOKEN; in pk_export_pk12_pk11()
443 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_PK11TOKEN; in pk_export_pk11_keys()
594 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_PK11TOKEN; in pk_export_pk11_objects()
786 kstype = KMF_KEYSTORE_PK11TOKEN; in pk_export()
805 kstype != KMF_KEYSTORE_PK11TOKEN) { in pk_export()
812 if (kstype == KMF_KEYSTORE_PK11TOKEN && EMPTYSTRING(token_spec)) in pk_export()
869 if (kstype == KMF_KEYSTORE_PK11TOKEN || in pk_export()
884 case KMF_KEYSTORE_PK11TOKEN: in pk_export()
H A Ddelete.c98 case KMF_KEYSTORE_PK11TOKEN: in pk_destroy_keys()
425 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_PK11TOKEN; in delete_pk11_keys()
528 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_PK11TOKEN; in delete_pk11_certs()
812 kstype = KMF_KEYSTORE_PK11TOKEN; in pk_delete()
816 kstype != KMF_KEYSTORE_PK11TOKEN) { in pk_delete()
833 if (kstype == KMF_KEYSTORE_PK11TOKEN && token_spec == NULL) { in pk_delete()
866 if ((kstype == KMF_KEYSTORE_PK11TOKEN || in pk_delete()
879 case KMF_KEYSTORE_PK11TOKEN: in pk_delete()
H A Dimport.c370 if (kstype == KMF_KEYSTORE_PK11TOKEN) { in pk_import_cert()
499 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_PK11TOKEN; in pk_import_pk12_pk11()
625 if (kstype == KMF_KEYSTORE_PK11TOKEN) { in pk_import_keys()
925 kstype = KMF_KEYSTORE_PK11TOKEN; in pk_import()
944 kstype != KMF_KEYSTORE_PK11TOKEN) { in pk_import()
1012 kstype != KMF_KEYSTORE_PK11TOKEN) { in pk_import()
1062 if (kstype == KMF_KEYSTORE_PK11TOKEN && EMPTYSTRING(token_spec)) in pk_import()
1073 (kstype == KMF_KEYSTORE_PK11TOKEN || kstype == KMF_KEYSTORE_NSS)) { in pk_import()
1084 case KMF_KEYSTORE_PK11TOKEN: in pk_import()
H A Dgenkeypair.c55 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_PK11TOKEN; in genkeypair_pkcs11()
432 kstype = KMF_KEYSTORE_PK11TOKEN; in pk_genkeypair()
478 if (kstype == KMF_KEYSTORE_NSS || kstype == KMF_KEYSTORE_PK11TOKEN) { in pk_genkeypair()
504 } else if (kstype == KMF_KEYSTORE_PK11TOKEN) { in pk_genkeypair()
H A Dgenkey.c122 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_PK11TOKEN; in genkey_pkcs11()
364 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_PK11TOKEN; in pk_genkey()
521 if (kstype == KMF_KEYSTORE_PK11TOKEN && tokenname == NULL) { in pk_genkey()
528 if (kstype == KMF_KEYSTORE_PK11TOKEN || kstype == KMF_KEYSTORE_NSS) in pk_genkey()
H A Dlist.c180 } else if (keys[i].kstype == KMF_KEYSTORE_PK11TOKEN) { in pk_show_keys()
309 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_PK11TOKEN; in list_pk11_objects()
1012 kstype = KMF_KEYSTORE_PK11TOKEN; in pk_list()
1016 kstype != KMF_KEYSTORE_PK11TOKEN) { in pk_list()
1024 if (kstype == KMF_KEYSTORE_PK11TOKEN && EMPTYSTRING(token_spec)) { in pk_list()
1054 if ((kstype == KMF_KEYSTORE_PK11TOKEN || in pk_list()
1061 if (kstype == KMF_KEYSTORE_PK11TOKEN) { in pk_list()
H A Dgencsr.c61 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_PK11TOKEN; in gencsr_pkcs11()
543 kstype = KMF_KEYSTORE_PK11TOKEN; in pk_gencsr()
577 if ((kstype == KMF_KEYSTORE_NSS || kstype == KMF_KEYSTORE_PK11TOKEN)) { in pk_gencsr()
695 if (kstype == KMF_KEYSTORE_NSS || kstype == KMF_KEYSTORE_PK11TOKEN) { in pk_gencsr()
724 } else if (kstype == KMF_KEYSTORE_PK11TOKEN) { in pk_gencsr()
H A Dsigncsr.c385 if (kstype == KMF_KEYSTORE_PK11TOKEN) { in pk_signcsr_pk11_nss()
668 kstype = KMF_KEYSTORE_PK11TOKEN; in pk_signcsr()
699 if (kstype == KMF_KEYSTORE_PK11TOKEN && EMPTYSTRING(token_spec)) { in pk_signcsr()
724 if ((kstype == KMF_KEYSTORE_PK11TOKEN || in pk_signcsr()
776 if (kstype == KMF_KEYSTORE_PK11TOKEN) { in pk_signcsr()
H A Dgencert.c62 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_PK11TOKEN; in gencert_pkcs11()
761 kstype = KMF_KEYSTORE_PK11TOKEN; in pk_gencert()
763 if ((kstype == KMF_KEYSTORE_NSS || kstype == KMF_KEYSTORE_PK11TOKEN)) { in pk_gencert()
911 if (kstype == KMF_KEYSTORE_NSS || kstype == KMF_KEYSTORE_PK11TOKEN) { in pk_gencert()
933 } else if (kstype == KMF_KEYSTORE_PK11TOKEN) { in pk_gencert()
H A Dcommon.c515 return (KMF_KEYSTORE_PK11TOKEN); in KS2Int()
722 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_PK11TOKEN; in select_token()
1118 if (kstype == KMF_KEYSTORE_PK11TOKEN) { in get_token_password()
1150 if (kstype == KMF_KEYSTORE_PK11TOKEN && p != NULL) in get_token_password()
/illumos-gate/usr/src/lib/libelfsign/common/
H A Delfcertlib.c427 kstype = KMF_KEYSTORE_PK11TOKEN; in elfcertlib_loadtokenkey()
608 kstype = KMF_KEYSTORE_PK11TOKEN; in elfcertlib_verifysig()
692 kstype = KMF_KEYSTORE_PK11TOKEN; in elfcertlib_settoken()
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/
H A Dpkcs11_spi.c207 handle->lasterr.kstype = KMF_KEYSTORE_PK11TOKEN; in pk11_authenticate()
315 KMF_KEYSTORE_PK11TOKEN; in PK11Cert2KMFCert()
1729 privkey->kstype = KMF_KEYSTORE_PK11TOKEN; in KMFPK11_CreateKeypair()
1734 pubkey->kstype = KMF_KEYSTORE_PK11TOKEN; in KMFPK11_CreateKeypair()
1775 privkey->kstype = KMF_KEYSTORE_PK11TOKEN; in KMFPK11_CreateKeypair()
1780 pubkey->kstype = KMF_KEYSTORE_PK11TOKEN; in KMFPK11_CreateKeypair()
1826 privkey->kstype = KMF_KEYSTORE_PK11TOKEN; in KMFPK11_CreateKeypair()
1831 pubkey->kstype = KMF_KEYSTORE_PK11TOKEN; in KMFPK11_CreateKeypair()
2253 key->kstype = KMF_KEYSTORE_PK11TOKEN; in KMFPK11_FindPrikeyByCert()
3056 keys[n].kstype = KMF_KEYSTORE_PK11TOKEN; in KMFPK11_FindKey()
[all …]
/illumos-gate/usr/src/lib/libkmf/include/
H A Dkmftypes.h77 #define KMF_KEYSTORE_PK11TOKEN 3 macro
80 (t <= KMF_KEYSTORE_PK11TOKEN))
/illumos-gate/usr/src/cmd/cmd-crypto/elfsign/
H A Delfsign.c777 kstype = KMF_KEYSTORE_PK11TOKEN; in create_csr()