/external/openssl/apps/ |
D | pkcs8.c | 93 if (bio_err == NULL) bio_err = BIO_new_fp (stderr, BIO_NOCLOSE); in MAIN() 95 if (!load_config(bio_err, NULL)) in MAIN() 114 BIO_printf(bio_err, in MAIN() 130 BIO_printf(bio_err, in MAIN() 210 BIO_printf(bio_err, "Usage pkcs8 [options]\n"); in MAIN() 211 BIO_printf(bio_err, "where options are\n"); in MAIN() 212 BIO_printf(bio_err, "-in file input file\n"); in MAIN() 213 BIO_printf(bio_err, "-inform X input format (DER or PEM)\n"); in MAIN() 214 BIO_printf(bio_err, "-passin arg input file pass phrase source\n"); in MAIN() 215 BIO_printf(bio_err, "-outform X output format (DER or PEM)\n"); in MAIN() [all …]
|
D | smime.c | 127 if (bio_err == NULL) in MAIN() 129 if ((bio_err = BIO_new(BIO_s_file())) != NULL) in MAIN() 130 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE|BIO_FP_TEXT); in MAIN() 133 if (!load_config(bio_err, NULL)) in MAIN() 287 BIO_printf(bio_err, "Unknown digest %s\n", in MAIN() 301 BIO_puts(bio_err, "Illegal -inkey without -signer\n"); in MAIN() 368 else if (args_verify(&args, NULL, &badarg, bio_err, &vpm)) in MAIN() 377 BIO_puts(bio_err, "Multiple signers or keys not allowed\n"); in MAIN() 386 BIO_puts(bio_err, "Illegal -inkey without -signer\n"); in MAIN() 402 BIO_printf(bio_err, "No signer certificate specified\n"); in MAIN() [all …]
|
D | gendsa.c | 94 if (bio_err == NULL) in MAIN() 95 if ((bio_err=BIO_new(BIO_s_file())) != NULL) in MAIN() 96 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT); in MAIN() 98 if (!load_config(bio_err, NULL)) in MAIN() 173 BIO_printf(bio_err,"usage: gendsa [args] dsaparam-file\n"); in MAIN() 174 BIO_printf(bio_err," -out file - output the key to 'file'\n"); in MAIN() 176 BIO_printf(bio_err," -des - encrypt the generated key with DES in cbc mode\n"); in MAIN() 177 …BIO_printf(bio_err," -des3 - encrypt the generated key with DES in ede cbc mode (168 bit key)\… in MAIN() 180 BIO_printf(bio_err," -idea - encrypt the generated key with IDEA in cbc mode\n"); in MAIN() 183 BIO_printf(bio_err," -seed\n"); in MAIN() [all …]
|
D | dsa.c | 119 if (bio_err == NULL) in MAIN() 120 if ((bio_err=BIO_new(BIO_s_file())) != NULL) in MAIN() 121 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT); in MAIN() 123 if (!load_config(bio_err, NULL)) in MAIN() 194 BIO_printf(bio_err,"unknown option %s\n",*argv); in MAIN() 205 BIO_printf(bio_err,"%s [options] <infile >outfile\n",prog); in MAIN() 206 BIO_printf(bio_err,"where options are\n"); in MAIN() 207 BIO_printf(bio_err," -inform arg input format - DER or PEM\n"); in MAIN() 208 BIO_printf(bio_err," -outform arg output format - DER or PEM\n"); in MAIN() 209 BIO_printf(bio_err," -in arg input file\n"); in MAIN() [all …]
|
D | ec.c | 106 if (bio_err == NULL) in MAIN() 107 if ((bio_err=BIO_new(BIO_s_file())) != NULL) in MAIN() 108 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE|BIO_FP_TEXT); in MAIN() 110 if (!load_config(bio_err, NULL)) in MAIN() 199 BIO_printf(bio_err, "unknown option %s\n", *argv); in MAIN() 210 BIO_printf(bio_err, "%s [options] <infile >outfile\n", prog); in MAIN() 211 BIO_printf(bio_err, "where options are\n"); in MAIN() 212 BIO_printf(bio_err, " -inform arg input format - " in MAIN() 214 BIO_printf(bio_err, " -outform arg output format - " in MAIN() 216 BIO_printf(bio_err, " -in arg input file\n"); in MAIN() [all …]
|
D | rsautl.c | 111 if(!bio_err) bio_err = BIO_new_fp(stderr, BIO_NOCLOSE); in MAIN() 113 if (!load_config(bio_err, NULL)) in MAIN() 184 BIO_printf(bio_err, "A private key is needed for this operation\n"); in MAIN() 189 e = setup_engine(bio_err, engine, 0); in MAIN() 191 if(!app_passwd(bio_err, passargin, NULL, &passin, NULL)) { in MAIN() 192 BIO_printf(bio_err, "Error getting password\n"); in MAIN() 197 app_RAND_load_file(NULL, bio_err, 0); in MAIN() 201 pkey = load_key(bio_err, keyfile, keyform, 0, in MAIN() 206 pkey = load_pubkey(bio_err, keyfile, keyform, 0, in MAIN() 211 x = load_cert(bio_err, keyfile, keyform, in MAIN() [all …]
|
D | dhparam.c | 168 if (bio_err == NULL) in MAIN() 169 if ((bio_err=BIO_new(BIO_s_file())) != NULL) in MAIN() 170 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT); in MAIN() 172 if (!load_config(bio_err, NULL)) in MAIN() 242 BIO_printf(bio_err,"%s [options] [numbits]\n",prog); in MAIN() 243 BIO_printf(bio_err,"where options are\n"); in MAIN() 244 BIO_printf(bio_err," -inform arg input format - one of DER PEM\n"); in MAIN() 245 BIO_printf(bio_err," -outform arg output format - one of DER PEM\n"); in MAIN() 246 BIO_printf(bio_err," -in arg input file\n"); in MAIN() 247 BIO_printf(bio_err," -out arg output file\n"); in MAIN() [all …]
|
D | spkac.c | 102 if (!bio_err) bio_err = BIO_new_fp(stderr, BIO_NOCLOSE); in MAIN() 104 if (!load_config(bio_err, NULL)) in MAIN() 168 BIO_printf(bio_err,"%s [options]\n",prog); in MAIN() 169 BIO_printf(bio_err,"where options are\n"); in MAIN() 170 BIO_printf(bio_err," -in arg input file\n"); in MAIN() 171 BIO_printf(bio_err," -out arg output file\n"); in MAIN() 172 BIO_printf(bio_err," -key arg create SPKAC using private key\n"); in MAIN() 173 BIO_printf(bio_err," -passin arg input file pass phrase source\n"); in MAIN() 174 BIO_printf(bio_err," -challenge arg challenge string\n"); in MAIN() 175 BIO_printf(bio_err," -spkac arg alternative SPKAC name\n"); in MAIN() [all …]
|
D | rsa.c | 122 if (bio_err == NULL) in MAIN() 123 if ((bio_err=BIO_new(BIO_s_file())) != NULL) in MAIN() 124 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT); in MAIN() 126 if (!load_config(bio_err, NULL)) in MAIN() 202 BIO_printf(bio_err,"unknown option %s\n",*argv); in MAIN() 213 BIO_printf(bio_err,"%s [options] <infile >outfile\n",prog); in MAIN() 214 BIO_printf(bio_err,"where options are\n"); in MAIN() 215 BIO_printf(bio_err," -inform arg input format - one of DER NET PEM\n"); in MAIN() 216 BIO_printf(bio_err," -outform arg output format - one of DER NET PEM\n"); in MAIN() 217 BIO_printf(bio_err," -in arg input file\n"); in MAIN() [all …]
|
D | dgst.c | 137 BIO_printf(bio_err,"out of memory\n"); in MAIN() 140 if (bio_err == NULL) in MAIN() 141 if ((bio_err=BIO_new(BIO_s_file())) != NULL) in MAIN() 142 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT); in MAIN() 144 if (!load_config(bio_err, NULL)) in MAIN() 210 e = setup_engine(bio_err, engine, 0); in MAIN() 263 BIO_printf(bio_err, "No signature to verify: use the -signature option\n"); in MAIN() 269 BIO_printf(bio_err,"unknown option '%s'\n",*argv); in MAIN() 270 BIO_printf(bio_err,"options are\n"); in MAIN() 271 BIO_printf(bio_err,"-c to output the digest with separating colons\n"); in MAIN() [all …]
|
D | genpkey.c | 93 if (bio_err == NULL) in MAIN() 94 bio_err = BIO_new_fp (stderr, BIO_NOCLOSE); in MAIN() 96 if (!load_config(bio_err, NULL)) in MAIN() 125 e = setup_engine(bio_err, *(++args), 0); in MAIN() 135 if (!init_keygen_file(bio_err, &ctx, *args, e)) in MAIN() 151 if (!init_gen_str(bio_err, &ctx, *(++args),e, do_param)) in MAIN() 160 BIO_puts(bio_err, "No keytype specified\n"); in MAIN() 165 BIO_puts(bio_err, "parameter setting error\n"); in MAIN() 166 ERR_print_errors(bio_err); in MAIN() 183 BIO_printf(bio_err, "Unknown cipher %s\n", in MAIN() [all …]
|
D | genrsa.c | 113 BN_GENCB_set(&cb, genrsa_cb, bio_err); in MAIN() 115 if (bio_err == NULL) in MAIN() 116 if ((bio_err=BIO_new(BIO_s_file())) != NULL) in MAIN() 117 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT); in MAIN() 119 if (!load_config(bio_err, NULL)) in MAIN() 123 BIO_printf(bio_err,"unable to create BIO for output\n"); in MAIN() 196 BIO_printf(bio_err,"usage: genrsa [args] [numbits]\n"); in MAIN() 197 BIO_printf(bio_err," -des encrypt the generated key with DES in cbc mode\n"); in MAIN() 198 …BIO_printf(bio_err," -des3 encrypt the generated key with DES in ede cbc mode (168 bit k… in MAIN() 200 BIO_printf(bio_err," -idea encrypt the generated key with IDEA in cbc mode\n"); in MAIN() [all …]
|
D | pkcs12.c | 141 if (bio_err == NULL ) bio_err = BIO_new_fp (stderr, BIO_NOCLOSE); in MAIN() 143 if (!load_config(bio_err, NULL)) in MAIN() 197 if (!set_pbe(bio_err, &cert_pbe, *++args)) in MAIN() 200 if (!set_pbe(bio_err, &key_pbe, *++args)) in MAIN() 285 BIO_printf (bio_err, "Usage: pkcs12 [options]\n"); in MAIN() 286 BIO_printf (bio_err, "where options are\n"); in MAIN() 287 BIO_printf (bio_err, "-export output PKCS12 file\n"); in MAIN() 288 BIO_printf (bio_err, "-chain add certificate chain\n"); in MAIN() 289 BIO_printf (bio_err, "-inkey file private key if not infile\n"); in MAIN() 290 BIO_printf (bio_err, "-certfile f add all certs in f\n"); in MAIN() [all …]
|
D | cms.c | 151 if (bio_err == NULL) in MAIN() 153 if ((bio_err = BIO_new(BIO_s_file())) != NULL) in MAIN() 154 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE|BIO_FP_TEXT); in MAIN() 157 if (!load_config(bio_err, NULL)) in MAIN() 313 BIO_printf(bio_err, "Invalid key %s\n", *args); in MAIN() 327 BIO_printf(bio_err, "Invalid id %s\n", *args); in MAIN() 347 BIO_printf(bio_err, "Invalid OID %s\n", *args); in MAIN() 430 BIO_printf(bio_err, "Unknown digest %s\n", in MAIN() 444 BIO_puts(bio_err, "Illegal -inkey without -signer\n"); in MAIN() 517 else if (args_verify(&args, NULL, &badarg, bio_err, &vpm)) in MAIN() [all …]
|
D | pkeyutl.c | 110 if(!bio_err) bio_err = BIO_new_fp(stderr, BIO_NOCLOSE); in MAIN() 112 if (!load_config(bio_err, NULL)) in MAIN() 145 BIO_puts(bio_err, in MAIN() 147 ERR_print_errors(bio_err); in MAIN() 156 else if (!setup_peer(bio_err, ctx, peerform, *(++argv))) in MAIN() 180 e = setup_engine(bio_err, *(++argv), 0); in MAIN() 211 BIO_puts(bio_err, in MAIN() 217 BIO_puts(bio_err, "parameter setting error\n"); in MAIN() 218 ERR_print_errors(bio_err); in MAIN() 240 BIO_puts(bio_err, "Signature file specified for non verify\n"); in MAIN() [all …]
|
D | dsaparam.c | 130 if (bio_err == NULL) in MAIN() 131 if ((bio_err=BIO_new(BIO_s_file())) != NULL) in MAIN() 132 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT); in MAIN() 134 if (!load_config(bio_err, NULL)) in MAIN() 206 BIO_printf(bio_err,"unknown option %s\n",*argv); in MAIN() 217 BIO_printf(bio_err,"%s [options] [bits] <infile >outfile\n",prog); in MAIN() 218 BIO_printf(bio_err,"where options are\n"); in MAIN() 219 BIO_printf(bio_err," -inform arg input format - DER or PEM\n"); in MAIN() 220 BIO_printf(bio_err," -outform arg output format - DER or PEM\n"); in MAIN() 221 BIO_printf(bio_err," -in arg input file\n"); in MAIN() [all …]
|
D | enc.c | 138 if (bio_err == NULL) in MAIN() 139 if ((bio_err=BIO_new(BIO_s_file())) != NULL) in MAIN() 140 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT); in MAIN() 142 if (!load_config(bio_err, NULL)) in MAIN() 162 BIO_printf(bio_err,"%s is an unknown cipher\n",pname); in MAIN() 241 BIO_printf(bio_err,"unable to read key from '%s'\n", in MAIN() 248 BIO_printf(bio_err,"unable to read key from '%s'\n", in MAIN() 262 BIO_printf(bio_err,"zero length password\n"); in MAIN() 298 BIO_printf(bio_err,"unknown option '%s'\n",*argv); in MAIN() 300 BIO_printf(bio_err,"options are\n"); in MAIN() [all …]
|
D | asn1pars.c | 106 if (bio_err == NULL) in MAIN() 107 if ((bio_err=BIO_new(BIO_s_file())) != NULL) in MAIN() 108 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT); in MAIN() 110 if (!load_config(bio_err, NULL)) in MAIN() 118 BIO_printf(bio_err,"Memory allocation failure\n"); in MAIN() 186 BIO_printf(bio_err,"unknown option %s\n",*argv); in MAIN() 197 BIO_printf(bio_err,"%s [options] <infile\n",prog); in MAIN() 198 BIO_printf(bio_err,"where options are\n"); in MAIN() 199 BIO_printf(bio_err," -inform arg input format - one of DER PEM\n"); in MAIN() 200 BIO_printf(bio_err," -in arg input file\n"); in MAIN() [all …]
|
D | gendh.c | 104 BN_GENCB_set(&cb, dh_cb, bio_err); in MAIN() 105 if (bio_err == NULL) in MAIN() 106 if ((bio_err=BIO_new(BIO_s_file())) != NULL) in MAIN() 107 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT); in MAIN() 109 if (!load_config(bio_err, NULL)) in MAIN() 148 BIO_printf(bio_err,"usage: gendh [args] [numbits]\n"); in MAIN() 149 BIO_printf(bio_err," -out file - output the key to 'file\n"); in MAIN() 150 BIO_printf(bio_err," -2 - use 2 as the generator value\n"); in MAIN() 152 BIO_printf(bio_err," -5 - use 5 as the generator value\n"); in MAIN() 154 BIO_printf(bio_err," -engine e - use engine e, possibly a hardware device.\n"); in MAIN() [all …]
|
D | req.c | 203 if (bio_err == NULL) in MAIN() 204 if ((bio_err=BIO_new(BIO_s_file())) != NULL) in MAIN() 205 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT); in MAIN() 239 BIO_printf(bio_err, "Can't find keygen engine %s\n", *argv); in MAIN() 394 BIO_printf(bio_err,"unknown option %s\n",*argv); in MAIN() 405 BIO_printf(bio_err,"%s [options] <infile >outfile\n",prog); in MAIN() 406 BIO_printf(bio_err,"where options are\n"); in MAIN() 407 BIO_printf(bio_err," -inform arg input format - DER or PEM\n"); in MAIN() 408 BIO_printf(bio_err," -outform arg output format - DER or PEM\n"); in MAIN() 409 BIO_printf(bio_err," -in arg input file\n"); in MAIN() [all …]
|
D | s_client.c | 254 BIO_printf(bio_err,"Could not convert PSK key '%s' to BIGNUM\n", psk_key); in psk_client_cb() 262 BIO_printf(bio_err,"psk buffer of callback is too small (%d) for key (%d)\n", in psk_client_cb() 279 BIO_printf(bio_err, "Error in PSK client callback\n"); in psk_client_cb() 286 BIO_printf(bio_err,"usage: s_client args\n"); in sc_usage() 287 BIO_printf(bio_err,"\n"); in sc_usage() 288 BIO_printf(bio_err," -host host - use -connect instead\n"); in sc_usage() 289 BIO_printf(bio_err," -port port - use -connect instead\n"); in sc_usage() 290 …BIO_printf(bio_err," -connect host:port - who to connect to (default is %s:%s)\n",SSL_HOST_NAME,PO… in sc_usage() 292 BIO_printf(bio_err," -verify arg - turn on peer certificate verification\n"); in sc_usage() 293 BIO_printf(bio_err," -verify_return_error - return verification errors\n"); in sc_usage() [all …]
|
D | ecparam.c | 140 if (bio_err == NULL) in MAIN() 141 if ((bio_err=BIO_new(BIO_s_file())) != NULL) in MAIN() 142 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT); in MAIN() 144 if (!load_config(bio_err, NULL)) in MAIN() 239 BIO_printf(bio_err,"unknown option %s\n",*argv); in MAIN() 250 BIO_printf(bio_err, "%s [options] <infile >outfile\n",prog); in MAIN() 251 BIO_printf(bio_err, "where options are\n"); in MAIN() 252 BIO_printf(bio_err, " -inform arg input format - " in MAIN() 254 BIO_printf(bio_err, " -outform arg output format - " in MAIN() 256 BIO_printf(bio_err, " -in arg input file - " in MAIN() [all …]
|
D | ocsp.c | 170 if (bio_err == NULL) bio_err = BIO_new_fp(stderr, BIO_NOCLOSE); in MAIN() 172 if (!load_config(bio_err, NULL)) in MAIN() 198 BIO_printf(bio_err, in MAIN() 219 BIO_printf(bio_err, "Error parsing URL\n"); in MAIN() 374 BIO_printf(bio_err, in MAIN() 390 BIO_printf(bio_err, in MAIN() 440 issuer = load_cert(bio_err, *args, FORMAT_PEM, in MAIN() 452 cert = load_cert(bio_err, *args, FORMAT_PEM, in MAIN() 502 BIO_printf(bio_err, in MAIN() 520 BIO_printf(bio_err, in MAIN() [all …]
|
D | srp.c | 152 BIO_printf(bio_err," %d = \"%s\"\n", j, pp[j]); in print_entry() 184 BIO_printf(bio_err,"Memory allocation failure\n"); in update_index() 207 BIO_printf(bio_err,"variable lookup failed for %s::%s\n",name,tag); in lookup_fail() 314 if (bio_err == NULL) in MAIN() 315 if ((bio_err=BIO_new(BIO_s_file())) != NULL) in MAIN() 316 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT); in MAIN() 378 BIO_printf(bio_err,"unknown option %s\n",*argv); in MAIN() 391 BIO_printf(bio_err,"-dbfile and -configfile cannot be specified together.\n"); in MAIN() 396 …BIO_printf(bio_err,"Exactly one of the options -add, -delete, -modify -list must be specified.\n"); in MAIN() 401 BIO_printf(bio_err,"Need at least one user for options -add, -delete, -modify. \n"); in MAIN() [all …]
|
D | dh.c | 102 if (bio_err == NULL) in MAIN() 103 if ((bio_err=BIO_new(BIO_s_file())) != NULL) in MAIN() 104 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT); in MAIN() 106 if (!load_config(bio_err, NULL)) in MAIN() 159 BIO_printf(bio_err,"unknown option %s\n",*argv); in MAIN() 170 BIO_printf(bio_err,"%s [options] <infile >outfile\n",prog); in MAIN() 171 BIO_printf(bio_err,"where options are\n"); in MAIN() 172 BIO_printf(bio_err," -inform arg input format - one of DER PEM\n"); in MAIN() 173 BIO_printf(bio_err," -outform arg output format - one of DER PEM\n"); in MAIN() 174 BIO_printf(bio_err," -in arg input file\n"); in MAIN() [all …]
|