/illumos-gate/usr/src/cmd/cmd-crypto/pktool/ |
H A D | download.c | 91 cryptoerror(LOG_STDERR, gettext( in pk_download() 113 cryptoerror(LOG_STDERR, gettext("Incorrect dir or outfile " in pk_download() 119 cryptoerror(LOG_STDERR, in pk_download() 129 cryptoerror(LOG_STDERR, gettext("A URL must be specified\n")); in pk_download() 162 cryptoerror(LOG_STDERR, gettext("Error initializing KMF\n")); in pk_download() 179 cryptoerror(LOG_STDERR, in pk_download() 184 cryptoerror(LOG_STDERR, in pk_download() 189 cryptoerror(LOG_STDERR, in pk_download() 194 cryptoerror(LOG_STDERR, gettext("Not a CRL file\n")); in pk_download() 198 cryptoerror(LOG_STDERR, in pk_download() [all …]
|
H A D | gencsr.c | 39 cryptoerror(LOG_STDERR, \ 189 cryptoerror(LOG_STDERR, in gencsr_file() 196 cryptoerror(LOG_STDERR, in gencsr_file() 417 cryptoerror(LOG_STDERR, in pk_gencsr() 434 cryptoerror(LOG_STDERR, in pk_gencsr() 470 cryptoerror(LOG_STDERR, in pk_gencsr() 498 cryptoerror(LOG_STDERR, in pk_gencsr() 511 cryptoerror(LOG_STDERR, in pk_gencsr() 522 cryptoerror(LOG_STDERR, in pk_gencsr() 528 cryptoerror(LOG_STDERR, gettext( in pk_gencsr() [all …]
|
H A D | gencert.c | 39 cryptoerror(LOG_STDERR, \ 75 cryptoerror(LOG_STDERR, in gencert_pkcs11() 82 cryptoerror(LOG_STDERR, in gencert_pkcs11() 273 cryptoerror(LOG_STDERR, in gencert_file() 280 cryptoerror(LOG_STDERR, in gencert_file() 289 cryptoerror(LOG_STDERR, in gencert_file() 296 cryptoerror(LOG_STDERR, in gencert_file() 444 cryptoerror(LOG_STDERR, in gencert_nss() 451 cryptoerror(LOG_STDERR, in gencert_nss() 671 cryptoerror(LOG_STDERR, in pk_gencert() [all …]
|
H A D | genkey.c | 51 cryptoerror(LOG_STDERR, in genkey_nss() 127 cryptoerror(LOG_STDERR, in genkey_pkcs11() 139 cryptoerror(LOG_STDERR, in genkey_pkcs11() 152 cryptoerror(LOG_STDERR, in genkey_pkcs11() 216 cryptoerror(LOG_STDERR, in genkey_pkcs11() 271 cryptoerror(LOG_STDERR, in genkey_file() 277 cryptoerror(LOG_STDERR, in genkey_file() 455 cryptoerror(LOG_STDERR, gettext("Unrecognized keytype(%s).\n"), in pk_genkey() 473 cryptoerror(LOG_STDERR, in pk_genkey() 479 cryptoerror(LOG_STDERR, in pk_genkey() [all …]
|
H A D | setpin.c | 71 cryptoerror(LOG_STDERR, in setpin_nss() 79 cryptoerror(LOG_STDERR, gettext( in setpin_nss() 82 cryptoerror(LOG_STDERR, gettext( in setpin_nss() 156 cryptoerror(LOG_STDERR, "%s.", strerror(errno)); in setpin_pkcs11() 164 cryptoerror(LOG_STDERR, in setpin_pkcs11() 176 cryptoerror(LOG_STDERR, gettext( in setpin_pkcs11() 179 cryptoerror(LOG_STDERR, gettext( in setpin_pkcs11() 316 cryptoerror(LOG_STDERR, in pk_setpin() 324 cryptoerror(LOG_STDERR, in pk_setpin() 328 cryptoerror(LOG_STDERR, in pk_setpin()
|
H A D | inittoken.c | 87 cryptoerror(LOG_STDERR, in pk_inittoken() 92 cryptoerror(LOG_STDERR, in pk_inittoken() 105 cryptoerror(LOG_STDERR, in pk_inittoken() 109 cryptoerror(LOG_STDERR, in pk_inittoken()
|
H A D | genkeypair.c | 41 cryptoerror(LOG_STDERR, \ 148 cryptoerror(LOG_STDERR, in genkeypair_file() 156 cryptoerror(LOG_STDERR, in genkeypair_file() 383 cryptoerror(LOG_STDERR, in pk_genkeypair() 404 cryptoerror(LOG_STDERR, in pk_genkeypair() 426 cryptoerror(LOG_STDERR, gettext("Error initializing KMF\n")); in pk_genkeypair() 437 cryptoerror(LOG_STDERR, in pk_genkeypair() 444 cryptoerror(LOG_STDERR, gettext("Unrecognized keytype (%s).\n"), in pk_genkeypair() 449 cryptoerror(LOG_STDERR, gettext("EC curves are only " in pk_genkeypair() 454 cryptoerror(LOG_STDERR, gettext("A curve must be " in pk_genkeypair()
|
H A D | signcsr.c | 41 cryptoerror(LOG_STDERR, \ 135 cryptoerror(LOG_STDERR, in build_cert_from_csr() 144 cryptoerror(LOG_STDERR, in build_cert_from_csr() 236 cryptoerror(LOG_STDERR, in pk_sign_cert() 276 cryptoerror(LOG_STDERR, in pk_signcsr_files() 289 cryptoerror(LOG_STDERR, gettext("CSR signature " in pk_signcsr_files() 330 cryptoerror(LOG_STDERR, gettext( in pk_signcsr_files() 337 cryptoerror(LOG_STDERR, gettext( in pk_signcsr_files() 380 cryptoerror(LOG_STDERR, in pk_signcsr_pk11_nss() 398 cryptoerror(LOG_STDERR, gettext("CSR signature " in pk_signcsr_pk11_nss() [all …]
|
H A D | tokens.c | 63 cryptoerror(LOG_STDERR, in pk_tokens() 71 cryptoerror(LOG_STDERR, gettext("No slots with tokens found.")); in pk_tokens() 81 cryptoerror(LOG_STDERR, in pk_tokens()
|
H A D | import.c | 690 cryptoerror(LOG_STDERR, in pk_import_keys() 728 cryptoerror(LOG_STDERR, in pk_import_rawkey() 740 cryptoerror(LOG_STDERR, in pk_import_rawkey() 929 cryptoerror(LOG_STDERR, gettext("The 'infile' parameter" in pk_import() 957 cryptoerror(LOG_STDERR, gettext("The 'label' argument " in pk_import() 979 cryptoerror(LOG_STDERR, gettext( in pk_import() 987 cryptoerror(LOG_STDERR, in pk_import() 993 cryptoerror(LOG_STDERR, in pk_import() 1007 cryptoerror(LOG_STDERR, in pk_import() 1013 cryptoerror(LOG_STDERR, in pk_import() [all …]
|
H A D | export.c | 62 cryptoerror(LOG_STDERR, in pk_find_export_cert() 74 cryptoerror(LOG_STDERR, in pk_find_export_cert() 452 cryptoerror(LOG_STDERR, gettext("A label " in pk_export_pk11_keys() 790 cryptoerror(LOG_STDERR, gettext("You must specify " in pk_export() 819 cryptoerror(LOG_STDERR, gettext("PKCS12 " in pk_export() 826 cryptoerror(LOG_STDERR, gettext("A cert file" in pk_export() 836 cryptoerror(LOG_STDERR, in pk_export() 878 cryptoerror(LOG_STDERR, gettext("Error initializing " in pk_export()
|
/illumos-gate/usr/src/cmd/cmd-crypto/decrypt/ |
H A D | decrypt.c | 224 cryptoerror(LOG_STDERR, gettext( in main() 464 cryptoerror(LOG_STDERR, in execute_cmd() 496 cryptoerror(LOG_STDERR, in execute_cmd() 507 cryptoerror(LOG_STDERR, gettext("failed to initialize " in execute_cmd() 515 cryptoerror(LOG_STDERR, gettext( in execute_cmd() 526 cryptoerror(LOG_STDERR, gettext("malloc: %s"), strerror(err)); in execute_cmd() 532 cryptoerror(LOG_STDERR, gettext( in execute_cmd() 589 cryptoerror(LOG_STDERR, in execute_cmd() 630 cryptoerror(LOG_STDERR, in execute_cmd() 641 cryptoerror(LOG_STDERR, in execute_cmd() [all …]
|
/illumos-gate/usr/src/cmd/cmd-crypto/cryptoadm/ |
H A D | adm_kef.c | 68 cryptoerror(LOG_STDERR, gettext( in list_mechlist_for_soft() 141 cryptoerror(LOG_STDERR, gettext("%s does not exist."), in list_policy_for_soft() 155 cryptoerror(LOG_STDERR, gettext( in list_policy_for_soft() 217 cryptoerror(LOG_STDERR, gettext( in list_policy_for_hard() 252 cryptoerror(LOG_STDERR, in list_policy_for_hard() 303 cryptoerror(LOG_STDERR, gettext("out of memory.")); in disable_kef_hardware() 354 cryptoerror(LOG_STDERR, gettext("failed to open %s: %s"), in disable_kef_hardware() 412 cryptoerror(LOG_STDERR, in disable_kef_software() 419 cryptoerror(LOG_ERR, in disable_kef_software() 487 cryptoerror(LOG_STDERR, in disable_kef_software() [all …]
|
H A D | adm_uef.c | 210 cryptoerror(LOG_STDERR, gettext("internal error.")); in list_mechlist_for_lib() 217 cryptoerror(LOG_STDERR, in list_mechlist_for_lib() 528 cryptoerror(LOG_STDERR, gettext("internal error.")); in list_policy_for_lib() 535 cryptoerror(LOG_STDERR, in list_policy_for_lib() 560 cryptoerror(LOG_STDERR, gettext("internal error.")); in disable_uef_lib() 567 cryptoerror(LOG_STDERR, in disable_uef_lib() 607 cryptoerror(LOG_STDERR, gettext("internal error.")); in disable_uef_lib() 639 cryptoerror(LOG_STDERR, gettext("internal error.")); in enable_uef_lib() 646 cryptoerror(LOG_STDERR, in enable_uef_lib() 687 cryptoerror(LOG_STDERR, gettext("internal error.")); in enable_uef_lib() [all …]
|
H A D | adm_util.c | 127 cryptoerror(LOG_STDERR, in update_conf() 136 cryptoerror(LOG_STDERR, in update_conf() 149 cryptoerror(LOG_STDERR, in update_conf() 158 cryptoerror(LOG_STDERR, gettext("failed to open %s - %s"), in update_conf() 245 cryptoerror(LOG_STDERR, gettext( in update_conf() 259 cryptoerror(LOG_STDERR, gettext("write error.")); in update_conf() 263 cryptoerror(LOG_STDERR, gettext( in update_conf() 276 cryptoerror(LOG_STDERR, gettext( in update_conf() 282 cryptoerror(LOG_STDERR, gettext( in update_conf() 292 cryptoerror(LOG_STDERR, in update_conf() [all …]
|
H A D | cryptoadm.c | 313 cryptoerror(LOG_STDERR, "get_provider: %s.", in get_provider() 325 cryptoerror(LOG_STDERR, gettext("out of memory.")); in get_provider() 342 cryptoerror(LOG_STDERR, gettext("bad provider name.")); in get_provider() 493 cryptoerror(LOG_STDERR, in process_mech_operands() 523 cryptoerror(LOG_STDERR, gettext("out of memory.")); in process_mech_operands() 673 cryptoerror(LOG_STDERR, gettext( in do_list() 690 cryptoerror(LOG_STDERR, gettext( in do_list() 791 cryptoerror(LOG_STDERR, gettext("%1$s for kernel " in do_disable() 816 cryptoerror(LOG_STDERR, gettext("%1$s for kernel " in do_disable() 925 cryptoerror(LOG_STDERR, gettext("%1$s for kernel " in do_enable() [all …]
|
H A D | adm_kef_util.c | 627 cryptoerror(LOG_STDERR, gettext( in enable_mechs() 734 cryptoerror(LOG_STDERR, gettext( in get_kcfconf_info() 963 cryptoerror(LOG_STDERR, gettext("internal error.")); in update_kcfconf() 986 cryptoerror(LOG_STDERR, gettext("internal error.")); in update_kcfconf() 993 cryptoerror(LOG_STDERR, in update_kcfconf() 1003 cryptoerror(LOG_STDERR, in update_kcfconf() 1017 cryptoerror(LOG_STDERR, in update_kcfconf() 1026 cryptoerror(LOG_STDERR, gettext("failed to open %s - %s"), in update_kcfconf() 1040 cryptoerror(LOG_STDERR, gettext( in update_kcfconf() 1086 cryptoerror(LOG_STDERR, gettext( in update_kcfconf() [all …]
|
H A D | adm_metaslot.c | 80 cryptoerror(LOG_STDERR, in list_metaslot_info() 338 cryptoerror(LOG_STDERR, in list_metaslot_policy() 367 cryptoerror(LOG_STDERR, in disable_metaslot() 455 cryptoerror(LOG_STDERR, in enable_metaslot()
|
H A D | adm_kef_ioctl.c | 268 cryptoerror(LOG_STDERR, gettext("failed to open %s: %s"), in get_dev_list() 351 cryptoerror(LOG_STDERR, gettext("failed to open %s: %s"), in get_dev_info() 437 cryptoerror(LOG_STDERR, in get_soft_info() 465 cryptoerror(LOG_STDERR, gettext("failed to open %s: %s"), in get_soft_info() 550 cryptoerror(LOG_STDERR, gettext("failed to open %s: %s"), in get_soft_list()
|
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | pkcs11Conf.c | 87 cryptoerror(LOG_ERR, in setup_metaslot() 96 cryptoerror(LOG_ERR, in setup_metaslot() 213 cryptoerror(LOG_ERR, in setup_metaslot() 284 cryptoerror(LOG_ERR, in pkcs11_slot_mapping() 310 cryptoerror(LOG_ERR, in pkcs11_slot_mapping() 322 cryptoerror(LOG_ERR, in pkcs11_slot_mapping() 346 cryptoerror(LOG_ERR, in pkcs11_slot_mapping() 363 cryptoerror(LOG_ERR, in pkcs11_slot_mapping() 380 cryptoerror(LOG_ERR, in pkcs11_slot_mapping() 397 cryptoerror(LOG_ERR, in pkcs11_slot_mapping() [all …]
|
/illumos-gate/usr/src/lib/libcryptoutil/common/ |
H A D | config_parsing.c | 57 cryptoerror(LOG_ERR, "failed to open %s.\n", _PATH_PKCS11_CONF); in get_pkcs11conf_info() 80 cryptoerror(LOG_ERR, "parsing %s, out of memory.\n", in get_pkcs11conf_info() 120 cryptoerror(LOG_ERR, gettext( in parse_fips_mode() 130 cryptoerror(LOG_ERR, gettext( in parse_fips_mode() 175 cryptoerror(LOG_ERR, "parsing %s, out of memory.\n", in uef_interpret() 258 cryptoerror(LOG_ERR, "failed to parse %s.\n", in parse_policylist() 270 cryptoerror(LOG_ERR, "failed to parse %s.\n", in parse_policylist() 283 cryptoerror(LOG_ERR, "failed to parse %s.\n", in parse_policylist() 289 cryptoerror(LOG_ERR, "failed to parse %s.\n", in parse_policylist() 302 cryptoerror(LOG_ERR, "failed to parse %s.\n", in parse_policylist() [all …]
|
H A D | keyfile.c | 61 cryptoerror(LOG_STDERR, gettext("cannot open %s"), filename); in pkcs11_read_data() 67 cryptoerror(LOG_STDERR, gettext("cannot stat %s"), filename); in pkcs11_read_data() 96 cryptoerror(LOG_STDERR, gettext("malloc: %s"), strerror(ret)); in pkcs11_read_data() 104 cryptoerror(LOG_STDERR, in pkcs11_read_data() 130 cryptoerror(LOG_STDERR, in pkcs11_read_data()
|
/illumos-gate/usr/src/cmd/cmd-crypto/digest/ |
H A D | digest.c | 165 cryptoerror(LOG_STDERR, gettext( in main() 405 cryptoerror(LOG_STDERR, in execute_cmd() 436 cryptoerror(LOG_STDERR, in execute_cmd() 448 cryptoerror(LOG_STDERR, in execute_cmd() 457 cryptoerror(LOG_STDERR, gettext( in execute_cmd() 469 cryptoerror(LOG_STDERR, gettext("malloc: %s\n"), in execute_cmd() 477 cryptoerror(LOG_STDERR, gettext( in execute_cmd() 538 cryptoerror(LOG_STDERR, in execute_cmd() 584 cryptoerror(LOG_STDERR, in execute_cmd() 596 cryptoerror(LOG_STDERR, in execute_cmd() [all …]
|
/illumos-gate/usr/src/lib/libelfsign/common/ |
H A D | elfcertlib.c | 319 cryptoerror(LOG_ERR, "unable to find a certificate " in elfcertlib_getcert() 322 cryptoerror(LOG_ERR, "unable to load certificate " in elfcertlib_getcert() 665 cryptoerror(LOG_ERR, in elfcertlib_init() 705 cryptoerror(LOG_ERR, "unable to select token\n"); in elfcertlib_settoken() 761 cryptoerror(LOG_ERR, in elfcertlib_allocatecert()
|
/illumos-gate/usr/src/cmd/cmd-crypto/elfsign/ |
H A D | elfsign.c | 723 cryptoerror(LOG_STDERR, \ 752 cryptoerror(LOG_STDERR, in create_csr() 828 cryptoerror(LOG_STDERR, in create_csr() 838 cryptoerror(LOG_STDERR, in create_csr() 1045 cryptoerror(LOG_STDERR, "%s", msgbuf); in es_error()
|