Lines Matching refs:desc

755                               const char *pass, ENGINE *eng, const char *desc)  in load_key_pwd()  argument
757 char *pass_string = get_passwd(pass, desc); in load_key_pwd()
758 EVP_PKEY *pkey = load_key(uri, format, 0, pass_string, eng, desc); in load_key_pwd()
764 static X509 *load_cert_pwd(const char *uri, const char *pass, const char *desc) in load_cert_pwd() argument
767 char *pass_string = get_passwd(pass, desc); in load_cert_pwd()
769 cert = load_cert_pass(uri, FORMAT_UNDEF, 0, pass_string, desc); in load_cert_pwd()
815 static OSSL_CMP_MSG *read_PKIMESSAGE(const char *desc, char **filenames) in read_PKIMESSAGE() argument
820 if (filenames == NULL || desc == NULL) { in read_PKIMESSAGE()
836 CMP_info2("%s %s", desc, file); in read_PKIMESSAGE()
939 OSSL_CMP_CTX *ctx, const char *desc) in set_name() argument
942 X509_NAME *n = parse_name(str, MBSTRING_ASC, 1, desc); in set_name()
956 static int set_gennames(OSSL_CMP_CTX *ctx, char *names, const char *desc) in set_gennames() argument
982 CMP_err2("bad syntax of %s '%s'", desc, names); in set_gennames()
995 static X509_STORE *load_trusted(char *input, int for_new_cert, const char *desc) in load_trusted() argument
997 X509_STORE *ts = load_certstore(input, opt_otherpass, desc, vpm); in load_trusted()
1007 BIO_printf(bio_err, "error setting verification parameters for %s\n", desc); in load_trusted()
1015 const char *desc, add_X509_fn_t set1_fn) in setup_cert() argument
1022 if ((cert = load_cert_pwd(file, pass, desc)) == NULL) in setup_cert()
1030 static int setup_certs(char *files, const char *desc, void *ctx, in setup_certs() argument
1038 if ((certs = load_certs_multifile(files, opt_otherpass, desc, vpm)) == NULL) in setup_certs()
1045 static int setup_mock_crlout(void *ctx, const char *file, const char *desc) in setup_mock_crlout() argument
1052 if ((crl = load_crl(file, FORMAT_UNDEF, 0, desc)) == NULL) in setup_mock_crlout()
1815 const char *desc = "new private key for cert to be enrolled"; in setup_request_ctx() local
1821 pkey = load_key_pwd(file, format, pass, engine, desc); in setup_request_ctx()
1825 desc = opt_csr == NULL in setup_request_ctx()
1828 pkey = load_pubkey(file, format, 0, pass, engine, desc); in setup_request_ctx()
2336 const char *file, const char *desc) in save_free_certs() argument
2348 n, desc, file); in save_free_certs()
2355 file, certs == NULL ? "deleting" : "writing", desc); in save_free_certs()
2362 CMP_err2("cannot write %s certificate to file '%s'", desc, file); in save_free_certs()
2375 const char *file, const char *desc) in save_crl() argument
2383 CMP_info2("received %s, saving to file '%s'", desc, file); in save_crl()
2388 file, desc); in save_crl()
2393 CMP_err2("cannot write %s to file '%s'", desc, file); in save_crl()
2403 static int delete_file(const char *file, const char *desc) in delete_file() argument
2410 file, desc); in delete_file()
2416 static int save_cert_or_delete(X509 *cert, const char *file, const char *desc) in save_cert_or_delete() argument
2423 BIO_snprintf(desc_cert, sizeof(desc_cert), "%s certificate", desc); in save_cert_or_delete()
2432 return save_free_certs(certs, file, desc) >= 0; in save_cert_or_delete()
2436 static int save_crl_or_delete(X509_CRL *crl, const char *file, const char *desc) in save_crl_or_delete() argument
2440 return (crl == NULL) ? delete_file(file, desc) : save_crl(crl, file, desc); in save_crl_or_delete()
3236 const char *desc = "specifications contained in keySpec from genp"; in print_keyspec() local
3243 CMP_info1("No %s", desc); in print_keyspec()
3249 CMP_err1("Out of memory - cannot dump key %s", desc); in print_keyspec()
3252 BIO_printf(mem, "Key %s:\n", desc); in print_keyspec()
3288 BIO_printf(mem, "End of key %s", desc); in print_keyspec()
3292 CMP_err1("Info too large - cannot dump key %s", desc); in print_keyspec()
3397 const char *desc = "CRL from genp of type 'crls'"; in do_genm() local
3434 if (!save_crl_or_delete(crl, opt_crlout, desc)) in do_genm()