/freebsd-10.1-release/crypto/openssl/apps/ |
H A D | pkcs8.c | 94 if (bio_err == NULL) 95 bio_err = BIO_new_fp(stderr, BIO_NOCLOSE); 97 if (!load_config(bio_err, NULL)) 112 BIO_printf(bio_err, "Unknown cipher %s\n", *args); 122 BIO_printf(bio_err, "Unknown PBE algorithm %s\n", *args); 186 BIO_printf(bio_err, "Usage pkcs8 [options]\n"); 187 BIO_printf(bio_err, "where options are\n"); 188 BIO_printf(bio_err, "-in file input file\n"); 189 BIO_printf(bio_err, "-inform X input format (DER or PEM)\n"); 190 BIO_printf(bio_err, [all...] |
H A D | pkeyparam.c | 82 if (bio_err == NULL) 83 bio_err = BIO_new_fp(stderr, BIO_NOCLOSE); 85 if (!load_config(bio_err, NULL)) 124 BIO_printf(bio_err, "Usage pkeyparam [options]\n"); 125 BIO_printf(bio_err, "where options are\n"); 126 BIO_printf(bio_err, "-in file input file\n"); 127 BIO_printf(bio_err, "-out file output file\n"); 128 BIO_printf(bio_err, "-text print parameters as text\n"); 129 BIO_printf(bio_err, 132 BIO_printf(bio_err, [all...] |
H A D | rsautl.c | 112 if (!bio_err) 113 bio_err = BIO_new_fp(stderr, BIO_NOCLOSE); 115 if (!load_config(bio_err, NULL)) 195 BIO_printf(bio_err, "A private key is needed for this operation\n"); 199 e = setup_engine(bio_err, engine, 0); 201 if (!app_passwd(bio_err, passargin, NULL, &passin, NULL)) { 202 BIO_printf(bio_err, "Error getting password\n"); 207 app_RAND_load_file(NULL, bio_err, 0); 211 pkey = load_key(bio_err, keyfile, keyform, 0, 216 pkey = load_pubkey(bio_err, keyfil [all...] |
H A D | dsa.c | 120 if (bio_err == NULL) 121 if ((bio_err = BIO_new(BIO_s_file())) != NULL) 122 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT); 124 if (!load_config(bio_err, NULL)) 188 BIO_printf(bio_err, "unknown option %s\n", *argv); 198 BIO_printf(bio_err, "%s [options] <infile >outfile\n", prog); 199 BIO_printf(bio_err, "where options are\n"); 200 BIO_printf(bio_err, " -inform arg input format - DER or PEM\n"); 201 BIO_printf(bio_err, " -outform arg output format - DER or PEM\n"); 202 BIO_printf(bio_err, " [all...] |
H A D | ec.c | 107 if (bio_err == NULL) 108 if ((bio_err = BIO_new(BIO_s_file())) != NULL) 109 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT); 111 if (!load_config(bio_err, NULL)) 187 BIO_printf(bio_err, "unknown option %s\n", *argv); 197 BIO_printf(bio_err, "%s [options] <infile >outfile\n", prog); 198 BIO_printf(bio_err, "where options are\n"); 199 BIO_printf(bio_err, " -inform arg input format - " 201 BIO_printf(bio_err, " -outform arg output format - " 203 BIO_printf(bio_err, " [all...] |
H A D | genpkey.c | 94 if (bio_err == NULL) 95 bio_err = BIO_new_fp(stderr, BIO_NOCLOSE); 97 if (!load_config(bio_err, NULL)) 121 e = setup_engine(bio_err, *(++args), 0); 130 if (!init_keygen_file(bio_err, &ctx, *args, e)) 141 if (!init_gen_str(bio_err, &ctx, *(++args), e, do_param)) 147 BIO_puts(bio_err, "No keytype specified\n"); 150 BIO_puts(bio_err, "parameter setting error\n"); 151 ERR_print_errors(bio_err); 163 BIO_printf(bio_err, "Unknow [all...] |
H A D | dgst.c | 136 BIO_printf(bio_err, "out of memory\n"); 139 if (bio_err == NULL) 140 if ((bio_err = BIO_new(BIO_s_file())) != NULL) 141 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT); 143 if (!load_config(bio_err, NULL)) 201 e = setup_engine(bio_err, engine, 0); 245 BIO_printf(bio_err, 251 BIO_printf(bio_err, "unknown option '%s'\n", *argv); 252 BIO_printf(bio_err, "options are\n"); 253 BIO_printf(bio_err, [all...] |
H A D | dhparam.c | 169 if (bio_err == NULL) 170 if ((bio_err = BIO_new(BIO_s_file())) != NULL) 171 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT); 173 if (!load_config(bio_err, NULL)) 237 BIO_printf(bio_err, "%s [options] [numbits]\n", prog); 238 BIO_printf(bio_err, "where options are\n"); 239 BIO_printf(bio_err, " -inform arg input format - one of DER PEM\n"); 240 BIO_printf(bio_err, 242 BIO_printf(bio_err, " -in arg input file\n"); 243 BIO_printf(bio_err, " [all...] |
H A D | smime.c | 128 if (bio_err == NULL) { 129 if ((bio_err = BIO_new(BIO_s_file())) != NULL) 130 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT); 133 if (!load_config(bio_err, NULL)) 269 BIO_printf(bio_err, "Unknown digest %s\n", *args); 278 BIO_puts(bio_err, "Illegal -inkey without -signer\n"); 326 } else if (args_verify(&args, NULL, &badarg, bio_err, &vpm)) 334 BIO_puts(bio_err, "Multiple signers or keys not allowed\n"); 341 BIO_puts(bio_err, "Illegal -inkey without -signer\n"); 355 BIO_printf(bio_err, "N [all...] |
H A D | gendh.c | 106 BN_GENCB_set(&cb, dh_cb, bio_err); 107 if (bio_err == NULL) 108 if ((bio_err = BIO_new(BIO_s_file())) != NULL) 109 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT); 111 if (!load_config(bio_err, NULL)) 147 BIO_printf(bio_err, "usage: gendh [args] [numbits]\n"); 148 BIO_printf(bio_err, " -out file - output the key to 'file\n"); 149 BIO_printf(bio_err, " -2 - use 2 as the generator value\n"); 151 * BIO_printf(bio_err," -3 - use 3 as the generator value\n"); 153 BIO_printf(bio_err, " [all...] |
H A D | genrsa.c | 116 BN_GENCB_set(&cb, genrsa_cb, bio_err); 118 if (bio_err == NULL) 119 if ((bio_err = BIO_new(BIO_s_file())) != NULL) 120 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT); 122 if (!load_config(bio_err, NULL)) 125 BIO_printf(bio_err, "unable to create BIO for output\n"); 195 BIO_printf(bio_err, "usage: genrsa [args] [numbits]\n"); 196 BIO_printf(bio_err, 198 BIO_printf(bio_err, 201 BIO_printf(bio_err, [all...] |
H A D | spkac.c | 103 if (!bio_err) 104 bio_err = BIO_new_fp(stderr, BIO_NOCLOSE); 106 if (!load_config(bio_err, NULL)) 163 BIO_printf(bio_err, "%s [options]\n", prog); 164 BIO_printf(bio_err, "where options are\n"); 165 BIO_printf(bio_err, " -in arg input file\n"); 166 BIO_printf(bio_err, " -out arg output file\n"); 167 BIO_printf(bio_err, 169 BIO_printf(bio_err, 171 BIO_printf(bio_err, " [all...] |
H A D | rsa.c | 123 if (bio_err == NULL) 124 if ((bio_err = BIO_new(BIO_s_file())) != NULL) 125 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT); 127 if (!load_config(bio_err, NULL)) 196 BIO_printf(bio_err, "unknown option %s\n", *argv); 206 BIO_printf(bio_err, "%s [options] <infile >outfile\n", prog); 207 BIO_printf(bio_err, "where options are\n"); 208 BIO_printf(bio_err, 210 BIO_printf(bio_err, 212 BIO_printf(bio_err, " [all...] |
H A D | nseq.c | 80 if (bio_err == NULL) 81 bio_err = BIO_new_fp(stderr, BIO_NOCLOSE); 105 BIO_printf(bio_err, "Netscape certificate sequence utility\n"); 106 BIO_printf(bio_err, "Usage nseq [options]\n"); 107 BIO_printf(bio_err, "where options are\n"); 108 BIO_printf(bio_err, "-in file input file\n"); 109 BIO_printf(bio_err, "-out file output file\n"); 110 BIO_printf(bio_err, "-toseq output NS Sequence file\n"); 116 BIO_printf(bio_err, "Can't open input file %s\n", infile); 124 BIO_printf(bio_err, "Ca [all...] |
H A D | dsaparam.c | 133 if (bio_err == NULL) 134 if ((bio_err = BIO_new(BIO_s_file())) != NULL) 135 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT); 137 if (!load_config(bio_err, NULL)) 199 BIO_printf(bio_err, "unknown option %s\n", *argv); 209 BIO_printf(bio_err, "%s [options] [bits] <infile >outfile\n", prog); 210 BIO_printf(bio_err, "where options are\n"); 211 BIO_printf(bio_err, " -inform arg input format - DER or PEM\n"); 212 BIO_printf(bio_err, " -outform arg output format - DER or PEM\n"); 213 BIO_printf(bio_err, " [all...] |
H A D | pkey.c | 87 if (bio_err == NULL) 88 bio_err = BIO_new_fp(stderr, BIO_NOCLOSE); 90 if (!load_config(bio_err, NULL)) 156 BIO_printf(bio_err, "Unknown cipher %s\n", *args + 1); 165 BIO_printf(bio_err, "Usage pkey [options]\n"); 166 BIO_printf(bio_err, "where options are\n"); 167 BIO_printf(bio_err, "-in file input file\n"); 168 BIO_printf(bio_err, "-inform X input format (DER or PEM)\n"); 169 BIO_printf(bio_err, 171 BIO_printf(bio_err, " [all...] |
H A D | gendsa.c | 94 if (bio_err == NULL) 95 if ((bio_err = BIO_new(BIO_s_file())) != NULL) 96 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT); 98 if (!load_config(bio_err, NULL)) 168 BIO_printf(bio_err, "usage: gendsa [args] dsaparam-file\n"); 169 BIO_printf(bio_err, " -out file - output the key to 'file'\n"); 171 BIO_printf(bio_err, 173 BIO_printf(bio_err, 177 BIO_printf(bio_err, 181 BIO_printf(bio_err, " [all...] |
H A D | asn1pars.c | 108 if (bio_err == NULL) 109 if ((bio_err = BIO_new(BIO_s_file())) != NULL) 110 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT); 112 if (!load_config(bio_err, NULL)) 119 BIO_printf(bio_err, "Memory allocation failure\n"); 174 BIO_printf(bio_err, "unknown option %s\n", *argv); 184 BIO_printf(bio_err, "%s [options] <infile\n", prog); 185 BIO_printf(bio_err, "where options are\n"); 186 BIO_printf(bio_err, " -inform arg input format - one of DER PEM\n"); 187 BIO_printf(bio_err, " [all...] |
H A D | cms.c | 152 if (bio_err == NULL) { 153 if ((bio_err = BIO_new(BIO_s_file())) != NULL) 154 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT); 157 if (!load_config(bio_err, NULL)) 302 BIO_printf(bio_err, "Invalid key %s\n", *args); 313 BIO_printf(bio_err, "Invalid id %s\n", *args); 328 BIO_printf(bio_err, "Invalid OID %s\n", *args); 391 BIO_printf(bio_err, "Unknown digest %s\n", *args); 400 BIO_puts(bio_err, "Illegal -inkey without -signer\n"); 452 } else if (args_verify(&args, NULL, &badarg, bio_err, [all...] |
H A D | ecparam.c | 141 if (bio_err == NULL) 142 if ((bio_err = BIO_new(BIO_s_file())) != NULL) 143 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT); 145 if (!load_config(bio_err, NULL)) 224 BIO_printf(bio_err, "unknown option %s\n", *argv); 234 BIO_printf(bio_err, "%s [options] <infile >outfile\n", prog); 235 BIO_printf(bio_err, "where options are\n"); 236 BIO_printf(bio_err, " -inform arg input format - " 238 BIO_printf(bio_err, " -outform arg output format - " 240 BIO_printf(bio_err, " [all...] |
H A D | pkeyutl.c | 110 if (!bio_err) 111 bio_err = BIO_new_fp(stderr, BIO_NOCLOSE); 113 if (!load_config(bio_err, NULL)) 142 BIO_puts(bio_err, "Error initializing context\n"); 143 ERR_print_errors(bio_err); 150 else if (!setup_peer(bio_err, ctx, peerform, *(++argv))) 173 e = setup_engine(bio_err, *(++argv), 0); 202 BIO_puts(bio_err, "-pkeyopt command before -inkey\n"); 205 BIO_puts(bio_err, "parameter setting error\n"); 206 ERR_print_errors(bio_err); [all...] |
H A D | prime.c | 72 if (bio_err == NULL) 73 if ((bio_err = BIO_new(BIO_s_file())) != NULL) 74 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT); 96 BIO_printf(bio_err, "Unknown option '%s'\n", *argv); 104 BIO_printf(bio_err, "No prime specified\n"); 122 BIO_printf(bio_err, "Specifiy the number of bits.\n"); 147 BIO_printf(bio_err, "options are\n"); 148 BIO_printf(bio_err, "%-14s hex\n", "-hex"); 149 BIO_printf(bio_err, "%-14s number of checks\n", "-checks <n>");
|
H A D | ocsp.c | 175 if (bio_err == NULL) 176 bio_err = BIO_new_fp(stderr, BIO_NOCLOSE); 178 if (!load_config(bio_err, NULL)) 197 BIO_printf(bio_err, "Illegal timeout value %s\n", *args); 212 BIO_printf(bio_err, "Error parsing URL\n"); 328 BIO_printf(bio_err, 339 BIO_printf(bio_err, "Illegal validity age %s\n", *args); 372 issuer = load_cert(bio_err, *args, FORMAT_PEM, 382 cert = load_cert(bio_err, *args, FORMAT_PEM, 422 BIO_printf(bio_err, "Illega [all...] |
H A D | pkcs7.c | 99 if (bio_err == NULL) 100 if ((bio_err = BIO_new(BIO_s_file())) != NULL) 101 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT); 103 if (!load_config(bio_err, NULL)) 147 BIO_printf(bio_err, "unknown option %s\n", *argv); 157 BIO_printf(bio_err, "%s [options] <infile >outfile\n", prog); 158 BIO_printf(bio_err, "where options are\n"); 159 BIO_printf(bio_err, " -inform arg input format - DER or PEM\n"); 160 BIO_printf(bio_err, " -outform arg output format - DER or PEM\n"); 161 BIO_printf(bio_err, " [all...] |
H A D | dh.c | 103 if (bio_err == NULL) 104 if ((bio_err = BIO_new(BIO_s_file())) != NULL) 105 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT); 107 if (!load_config(bio_err, NULL)) 155 BIO_printf(bio_err, "unknown option %s\n", *argv); 165 BIO_printf(bio_err, "%s [options] <infile >outfile\n", prog); 166 BIO_printf(bio_err, "where options are\n"); 167 BIO_printf(bio_err, " -inform arg input format - one of DER PEM\n"); 168 BIO_printf(bio_err, 170 BIO_printf(bio_err, " [all...] |