/titanic_44/usr/src/lib/libkmf/include/ |
H A D | kmfapi.h | 40 extern KMF_RETURN kmf_initialize(KMF_HANDLE_T *, char *, char *); 41 extern KMF_RETURN kmf_configure_keystore(KMF_HANDLE_T, int, KMF_ATTRIBUTE *); 42 extern KMF_RETURN kmf_finalize(KMF_HANDLE_T); 47 extern KMF_RETURN kmf_create_keypair(KMF_HANDLE_T, int, KMF_ATTRIBUTE *); 49 extern KMF_RETURN kmf_delete_key_from_keystore(KMF_HANDLE_T, int, 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 *); 60 extern KMF_RETURN kmf_get_sym_key_value(KMF_HANDLE_T, KMF_KEY_HANDLE *, [all …]
|
H A D | kmfapiP.h | 36 KMF_RETURN (*ConfigureKeystore) ( 41 KMF_RETURN (*FindCert) ( 50 KMF_RETURN (*StoreCert) ( 54 KMF_RETURN (*ImportCert) ( 58 KMF_RETURN (*ImportCRL) ( 62 KMF_RETURN (*DeleteCert) ( 66 KMF_RETURN (*DeleteCRL) ( 70 KMF_RETURN (*CreateKeypair) ( 75 KMF_RETURN (*FindKey) ( 80 KMF_RETURN (*EncodePubkeyData) ( [all …]
|
H A D | kmfpolicy.h | 183 extern KMF_RETURN kmf_get_policy(char *, char *, KMF_POLICY_RECORD *); 184 extern KMF_RETURN kmf_add_policy_to_db(KMF_POLICY_RECORD *, char *, boolean_t); 185 extern KMF_RETURN kmf_delete_policy_from_db(char *, char *); 186 extern KMF_RETURN kmf_verify_policy(KMF_POLICY_RECORD *);
|
/titanic_44/usr/src/lib/libkmf/ber_der/inc/ |
H A D | ber_der.h | 129 extern KMF_RETURN DerDecodeSignedCertificate(const KMF_DATA *, 131 extern KMF_RETURN DerEncodeSignedCertificate(KMF_X509_CERTIFICATE *, 134 KMF_RETURN DerDecodeTbsCertificate(const KMF_DATA *, 136 KMF_RETURN DerEncodeTbsCertificate(KMF_X509_TBS_CERT *, KMF_DATA *); 138 KMF_RETURN DerDecodeSignedCsr(const KMF_DATA *, KMF_CSR_DATA **); 139 extern KMF_RETURN DerEncodeSignedCsr(KMF_CSR_DATA *, KMF_DATA *); 140 extern KMF_RETURN DerDecodeTbsCsr(const KMF_DATA *, KMF_TBS_CSR **); 141 extern KMF_RETURN DerEncodeTbsCsr(KMF_TBS_CSR *, KMF_DATA *); 143 KMF_RETURN ExtractX509CertParts(KMF_DATA *, KMF_DATA *, KMF_DATA *); 144 extern KMF_RETURN DerEncodeName(KMF_X509_NAME *, KMF_DATA *); [all …]
|
/titanic_44/usr/src/lib/libkmf/libkmf/common/ |
H A D | csrcrlop.c | 41 static KMF_RETURN 65 KMF_RETURN 70 KMF_RETURN ret; in kmf_set_csr_pubkey() 101 KMF_RETURN 117 KMF_RETURN 121 KMF_RETURN rv = KMF_OK; in kmf_set_csr_subject() 134 KMF_RETURN 138 KMF_RETURN rv = KMF_OK; in kmf_create_csr_file() 184 KMF_RETURN 187 KMF_RETURN ret = KMF_OK; in kmf_set_csr_extn() [all …]
|
H A D | certgetsetop.c | 40 KMF_RETURN 43 KMF_RETURN ret = KMF_OK; in copy_data() 65 KMF_RETURN 69 KMF_RETURN ret = KMF_OK; in copy_extension_data() 129 KMF_RETURN 133 KMF_RETURN ret = KMF_OK; in kmf_get_cert_extn() 184 KMF_RETURN 188 KMF_RETURN ret = KMF_OK; in kmf_get_cert_extns() 264 KMF_RETURN 268 KMF_RETURN ret = KMF_OK; in kmf_get_cert_ku() [all …]
|
H A D | mapping.c | 91 static KMF_RETURN 94 KMF_RETURN ret = KMF_OK; in open_mapper_library() 109 KMF_RETURN 113 KMF_RETURN ret = KMF_OK; in kmf_cert_to_name_mapping_initialize() 114 KMF_RETURN (*initialize)(KMF_HANDLE_T, char *); in kmf_cert_to_name_mapping_initialize() 268 initialize = (KMF_RETURN(*)())dlsym(map->dldesc, in kmf_cert_to_name_mapping_initialize() 295 KMF_RETURN 306 KMF_RETURN 310 KMF_RETURN (*cert2name)(KMF_HANDLE *, KMF_DATA *, KMF_DATA *); in kmf_map_cert_to_name() 319 cert2name = (KMF_RETURN(*)())dlsym(map->dldesc, in kmf_map_cert_to_name() [all …]
|
H A D | generalop.c | 52 KMF_RETURN code; 159 static KMF_RETURN InitializePlugin(KMF_KEYSTORE_TYPE, char *, KMF_PLUGIN **); 160 static KMF_RETURN AddPlugin(KMF_HANDLE_T, KMF_PLUGIN *); 180 KMF_RETURN 206 KMF_RETURN ret = KMF_OK; in FindPlugin() 307 static KMF_RETURN 363 static KMF_RETURN 433 KMF_RETURN 436 KMF_RETURN ret = KMF_OK; in kmf_initialize() 528 KMF_RETURN [all …]
|
H A D | keyop.c | 38 KMF_RETURN 43 KMF_RETURN ret = KMF_OK; in kmf_create_keypair() 85 KMF_RETURN 90 KMF_RETURN ret = KMF_OK; in kmf_delete_key_from_keystore() 154 KMF_RETURN 159 KMF_RETURN ret = KMF_OK; in kmf_find_key() 198 KMF_RETURN 203 KMF_RETURN ret = KMF_OK; in kmf_create_sym_key() 244 KMF_RETURN 249 KMF_RETURN ret; in kmf_get_sym_key_value() [all …]
|
H A D | certop.c | 42 static KMF_RETURN 46 static KMF_RETURN 49 static KMF_RETURN 52 static KMF_RETURN 55 KMF_RETURN rv; in get_keyalg_from_cert() 103 KMF_RETURN 108 KMF_RETURN ret = KMF_OK; in kmf_find_prikey_by_cert() 165 KMF_RETURN 173 KMF_RETURN ret = KMF_OK; in check_key_usage() 244 KMF_RETURN [all …]
|
H A D | rdn_parser.c | 113 static KMF_RETURN 163 static KMF_RETURN 256 static KMF_RETURN 267 static KMF_RETURN 270 KMF_RETURN ret = KMF_OK; in copy_oid() 285 static KMF_RETURN 321 static KMF_RETURN 325 KMF_RETURN rv; in ParseRdnAttribute() 429 static KMF_RETURN 432 KMF_RETURN rv = KMF_OK; in ParseDistinguishedName() [all …]
|
H A D | pk11tokens.c | 94 static KMF_RETURN 99 KMF_RETURN kmf_rv = KMF_OK; in kmf_get_token_slots() 290 KMF_RETURN 293 KMF_RETURN kmf_rv = KMF_OK; in kmf_pk11_token_lookup() 433 KMF_RETURN 438 KMF_RETURN ret = KMF_OK; in kmf_set_token_pin() 501 KMF_RETURN 504 KMF_RETURN kmf_rv = KMF_OK; in kmf_select_token() 557 KMF_RETURN 562 KMF_RETURN ret = KMF_OK; in kmf_pk11_init_token()
|
H A D | policy.c | 323 static KMF_RETURN 328 KMF_RETURN ret = KMF_OK; in parseExtKeyUsage() 388 static KMF_RETURN 671 static KMF_RETURN 674 KMF_RETURN ret = KMF_OK; in AddMapperPolicyNodes() 722 static KMF_RETURN 768 static KMF_RETURN 771 KMF_RETURN ret = KMF_OK; in AddExtKeyUsageNodes() 857 KMF_RETURN 860 KMF_RETURN ret = KMF_OK; in kmf_get_policy() [all …]
|
H A D | client.c | 126 static KMF_RETURN 129 KMF_RETURN ret = KMF_OK; in send_ocsp_request() 215 static KMF_RETURN 480 KMF_RETURN 486 KMF_RETURN ret = KMF_OK; in kmf_get_encoded_ocsp_response() 545 static KMF_RETURN 549 KMF_RETURN ret = KMF_OK; in send_download_request() 574 static KMF_RETURN 578 KMF_RETURN ret = KMF_OK; in download_file() 662 KMF_RETURN [all …]
|
H A D | pk11keys.c | 60 KMF_RETURN 86 KMF_RETURN 92 KMF_RETURN ret; in kmf_create_pk11_session() 93 KMF_RETURN kmf_rv = KMF_OK; in kmf_create_pk11_session() 181 static KMF_RETURN 187 KMF_RETURN mrReturn = KMF_OK; in PKCS_CreatePublicKey() 358 static KMF_RETURN 364 KMF_RETURN mrReturn = KMF_OK; in PKCS_AcquirePublicKeyHandle() 431 KMF_RETURN 438 KMF_RETURN rv = KMF_OK; in PKCS_VerifyData() [all …]
|
/titanic_44/usr/src/cmd/cmd-crypto/pktool/ |
H A D | common.h | 118 KMF_RETURN select_token(void *, char *, int); 119 KMF_RETURN configure_nss(void *, char *, char *); 122 KMF_RETURN get_pk12_password(KMF_CREDENTIAL *); 123 KMF_RETURN hexstring2bytes(uchar_t *, uchar_t **, size_t *); 124 KMF_RETURN verify_altname(char *arg, KMF_GENERALNAMECHOICES *, int *); 125 KMF_RETURN verify_keyusage(char *arg, uint16_t *, int *); 126 KMF_RETURN verify_file(char *); 127 KMF_RETURN verify_ekunames(char *, EKU_LIST **); 128 KMF_RETURN token_auth_needed(KMF_HANDLE_T, char *, int *); 131 KMF_RETURN genkeypair_pkcs11(KMF_HANDLE_T, char *, char *, KMF_KEY_ALG, [all …]
|
H A D | delete.c | 40 static KMF_RETURN 44 KMF_RETURN rv = KMF_OK; in pk_destroy_keys() 133 static KMF_RETURN 137 KMF_RETURN rv = KMF_OK; in pk_delete_keys() 188 static KMF_RETURN 191 KMF_RETURN rv = KMF_OK; in pk_delete_certs() 223 static KMF_RETURN 228 KMF_RETURN rv = KMF_OK; in delete_nss_keys() 313 static KMF_RETURN 320 KMF_RETURN rv = KMF_OK; in delete_nss_certs() [all …]
|
H A D | common.c | 717 KMF_RETURN 723 KMF_RETURN rv = KMF_OK; in select_token() 751 KMF_RETURN 757 KMF_RETURN rv = KMF_OK; in configure_nss() 790 KMF_RETURN 793 KMF_RETURN rv = KMF_OK; in get_pk12_password() 1022 KMF_RETURN 1025 KMF_RETURN ret = KMF_OK; in verify_keyusage() 1062 KMF_RETURN 1066 KMF_RETURN rv = KMF_OK; in verify_altname() [all …]
|
H A D | export.c | 43 static KMF_RETURN 47 KMF_RETURN rv = KMF_OK; in pk_find_export_cert() 83 static KMF_RETURN 88 KMF_RETURN rv = KMF_OK; in pk_export_file_objects() 158 static KMF_RETURN 165 KMF_RETURN rv = KMF_OK; in pk_export_pk12_nss() 234 static KMF_RETURN 239 KMF_RETURN rv; in pk_export_pk12_files() 279 static KMF_RETURN 285 KMF_RETURN rv = KMF_OK; in pk_export_nss_objects() [all …]
|
H A D | import.c | 57 static KMF_RETURN 62 KMF_RETURN rv = KMF_OK; in pk_import_pk12_files() 208 static KMF_RETURN 215 KMF_RETURN rv = KMF_OK; in pk_import_pk12_nss() 358 static KMF_RETURN 365 KMF_RETURN rv = KMF_OK; in pk_import_cert() 423 static KMF_RETURN 453 static KMF_RETURN 460 KMF_RETURN rv; in pk_import_nss_crl() 485 static KMF_RETURN [all …]
|
/titanic_44/usr/src/lib/libkmf/ber_der/common/ |
H A D | clasn1.c | 24 static KMF_RETURN 28 KMF_RETURN ret = KMF_OK; in encode_algoid() 201 static KMF_RETURN 246 static KMF_RETURN 249 KMF_RETURN rv = KMF_OK; in get_algoid() 324 static KMF_RETURN 337 static KMF_RETURN 340 KMF_RETURN ret = KMF_OK; in encode_spki() 359 KMF_RETURN 362 KMF_RETURN ret = KMF_OK; in DerEncodeSPKI() [all …]
|
/titanic_44/usr/src/lib/libkmf/plugins/kmf_nss/common/ |
H A D | nss_spi.c | 59 KMF_RETURN 62 KMF_RETURN 68 KMF_RETURN 71 KMF_RETURN 74 KMF_RETURN 77 KMF_RETURN 80 KMF_RETURN 83 KMF_RETURN 86 KMF_RETURN 90 KMF_RETURN [all …]
|
/titanic_44/usr/src/lib/libkmf/plugins/kmf_openssl/common/ |
H A D | openssl_spi.c | 157 static KMF_RETURN 161 static KMF_RETURN 165 static KMF_RETURN set_pkey_attrib(EVP_PKEY *, ASN1_TYPE *, int); 167 static KMF_RETURN 171 static KMF_RETURN 175 static KMF_RETURN 179 static KMF_RETURN 185 static KMF_RETURN 188 KMF_RETURN 194 KMF_RETURN [all …]
|
/titanic_44/usr/src/lib/libkmf/mappers/kmf_mapper_cn/common/ |
H A D | mapper_cn.c | 52 KMF_RETURN 87 KMF_RETURN 92 KMF_RETURN rv; in mapper_map_cert_to_name() 146 KMF_RETURN 151 KMF_RETURN rv; in mapper_match_cert_to_name() 200 KMF_RETURN
|
/titanic_44/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/ |
H A D | pkcs11_spi.c | 55 static KMF_RETURN 62 static KMF_RETURN 65 static KMF_RETURN 69 KMF_RETURN 72 KMF_RETURN 79 KMF_RETURN 82 KMF_RETURN 85 KMF_RETURN 88 KMF_RETURN 91 KMF_RETURN [all …]
|