/external/openssl/apps/ |
dh.c | 102 if (bio_err == NULL) 103 if ((bio_err=BIO_new(BIO_s_file())) != NULL) 104 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT); 106 if (!load_config(bio_err, NULL)) 159 BIO_printf(bio_err,"unknown option %s\n",*argv); 170 BIO_printf(bio_err,"%s [options] <infile >outfile\n",prog); 171 BIO_printf(bio_err,"where options are\n"); 172 BIO_printf(bio_err," -inform arg input format - one of DER PEM\n"); 173 BIO_printf(bio_err," -outform arg output format - one of DER PEM\n"); 174 BIO_printf(bio_err," -in arg input file\n") [all...] |
rand.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)) 165 BIO_printf(bio_err, "Usage: rand [options] num\n"); 166 BIO_printf(bio_err, "where options are\n"); 167 BIO_printf(bio_err, "-out file - write to file\n"); 169 BIO_printf(bio_err, "-engine e - use engine e, possibly a hardware device.\n"); 171 BIO_printf(bio_err, "-rand file%cfile%c... - seed PRNG from files\n", LIST_SEPARATOR_CHAR, LIST_SEPARATOR_CHAR); 172 BIO_printf(bio_err, "-base64 - base64 encode output\n") [all...] |
req.c | 203 if (bio_err == NULL) 204 if ((bio_err=BIO_new(BIO_s_file())) != NULL) 205 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT); 239 BIO_printf(bio_err, "Can't find keygen engine %s\n", *argv); 394 BIO_printf(bio_err,"unknown option %s\n",*argv); 405 BIO_printf(bio_err,"%s [options] <infile >outfile\n",prog); 406 BIO_printf(bio_err,"where options are\n"); 407 BIO_printf(bio_err," -inform arg input format - DER or PEM\n"); 408 BIO_printf(bio_err," -outform arg output format - DER or PEM\n"); 409 BIO_printf(bio_err," -in arg input file\n") [all...] |
crl2p7.c | 102 if (bio_err == NULL) 103 if ((bio_err=BIO_new(BIO_s_file())) != NULL) 104 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT); 148 BIO_printf(bio_err,"unknown option %s\n",*argv); 159 BIO_printf(bio_err,"%s [options] <infile >outfile\n",prog); 160 BIO_printf(bio_err,"where options are\n"); 161 BIO_printf(bio_err," -inform arg input format - DER or PEM\n"); 162 BIO_printf(bio_err," -outform arg output format - DER or PEM\n"); 163 BIO_printf(bio_err," -in arg input file\n"); 164 BIO_printf(bio_err," -out arg output file\n") [all...] |
pkcs12.c | 134 if (bio_err == NULL ) bio_err = BIO_new_fp (stderr, BIO_NOCLOSE); 136 if (!load_config(bio_err, NULL)) 190 if (!set_pbe(bio_err, &cert_pbe, *++args)) 193 if (!set_pbe(bio_err, &key_pbe, *++args)) 278 BIO_printf (bio_err, "Usage: pkcs12 [options]\n"); 279 BIO_printf (bio_err, "where options are\n"); 280 BIO_printf (bio_err, "-export output PKCS12 file\n"); 281 BIO_printf (bio_err, "-chain add certificate chain\n"); 282 BIO_printf (bio_err, "-inkey file private key if not infile\n") [all...] |
enc.c | 136 if (bio_err == NULL) 137 if ((bio_err=BIO_new(BIO_s_file())) != NULL) 138 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT); 140 if (!load_config(bio_err, NULL)) 160 BIO_printf(bio_err,"%s is an unknown cipher\n",pname); 239 BIO_printf(bio_err,"unable to read key from '%s'\n", 246 BIO_printf(bio_err,"unable to read key from '%s'\n", 260 BIO_printf(bio_err,"zero length password\n"); 296 BIO_printf(bio_err,"unknown option '%s'\n",*argv); 298 BIO_printf(bio_err,"options are\n") [all...] |
srp.c | 152 BIO_printf(bio_err," %d = \"%s\"\n", j, pp[j]); 184 BIO_printf(bio_err,"Memory allocation failure\n"); 207 BIO_printf(bio_err,"variable lookup failed for %s::%s\n",name,tag); 314 if (bio_err == NULL) 315 if ((bio_err=BIO_new(BIO_s_file())) != NULL) 316 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT); 378 BIO_printf(bio_err,"unknown option %s\n",*argv); 391 BIO_printf(bio_err,"-dbfile and -configfile cannot be specified together.\n"); 396 BIO_printf(bio_err,"Exactly one of the options -add, -delete, -modify -list must be specified.\n"); 401 BIO_printf(bio_err,"Need at least one user for options -add, -delete, -modify. \n") [all...] |
pkcs7.c | 98 if (bio_err == NULL) 99 if ((bio_err=BIO_new(BIO_s_file())) != NULL) 100 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT); 102 if (!load_config(bio_err, NULL)) 152 BIO_printf(bio_err,"unknown option %s\n",*argv); 163 BIO_printf(bio_err,"%s [options] <infile >outfile\n",prog); 164 BIO_printf(bio_err,"where options are\n"); 165 BIO_printf(bio_err," -inform arg input format - DER or PEM\n"); 166 BIO_printf(bio_err," -outform arg output format - DER or PEM\n"); 167 BIO_printf(bio_err," -in arg input file\n") [all...] |
verify.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)) 126 else if (args_verify(&argv, &argc, &badarg, bio_err, 171 e = setup_engine(bio_err, engine, 0); 182 BIO_printf(bio_err, "Error loading file %s\n", CAfile); 183 ERR_print_errors(bio_err); 193 BIO_printf(bio_err, "Error loading directory %s\n", CApath); 194 ERR_print_errors(bio_err); [all...] |
s_cb.c | 142 BIO_printf(bio_err,"depth=%d ",depth); 145 X509_NAME_print_ex(bio_err, X509_get_subject_name(err_cert), 147 BIO_puts(bio_err, "\n"); 150 BIO_puts(bio_err, "<no cert>\n"); 153 BIO_printf(bio_err,"verify error:num=%d:%s\n",err, 170 BIO_puts(bio_err,"issuer= "); 171 X509_NAME_print_ex(bio_err, X509_get_issuer_name(err_cert), 173 BIO_puts(bio_err, "\n"); 177 BIO_printf(bio_err,"notBefore="); 178 ASN1_TIME_print(bio_err,X509_get_notBefore(err_cert)) [all...] |
s_client.c | 254 BIO_printf(bio_err,"Could not convert PSK key '%s' to BIGNUM\n", psk_key); 262 BIO_printf(bio_err,"psk buffer of callback is too small (%d) for key (%d)\n", 279 BIO_printf(bio_err, "Error in PSK client callback\n"); 286 BIO_printf(bio_err,"usage: s_client args\n"); 287 BIO_printf(bio_err,"\n"); 288 BIO_printf(bio_err," -host host - use -connect instead\n"); 289 BIO_printf(bio_err," -port port - use -connect instead\n"); 290 BIO_printf(bio_err," -connect host:port - who to connect to (default is %s:%s)\n",SSL_HOST_NAME,PORT_STR); 292 BIO_printf(bio_err," -verify arg - turn on peer certificate verification\n"); 293 BIO_printf(bio_err," -cert arg - certificate file to use, PEM format assumed\n") [all...] |
ca.c | 343 if (bio_err == NULL) 344 if ((bio_err=BIO_new(BIO_s_file())) != NULL) 345 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT); 562 BIO_printf(bio_err,"unknown option %s\n",*argv); 575 BIO_printf(bio_err,"%s",*pp2); 604 BIO_printf(bio_err,"Using configuration from %s\n",configfile); 609 BIO_printf(bio_err,"error loading the config file '%s'\n", 612 BIO_printf(bio_err,"error on line %ld of config file '%s'\n" 622 if (!load_config(bio_err, conf)) 626 e = setup_engine(bio_err, engine, 0) [all...] |
/external/chromium_org/third_party/openssl/openssl/apps/ |
req.c | 203 if (bio_err == NULL) 204 if ((bio_err=BIO_new(BIO_s_file())) != NULL) 205 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT); 239 BIO_printf(bio_err, "Can't find keygen engine %s\n", *argv); 394 BIO_printf(bio_err,"unknown option %s\n",*argv); 405 BIO_printf(bio_err,"%s [options] <infile >outfile\n",prog); 406 BIO_printf(bio_err,"where options are\n"); 407 BIO_printf(bio_err," -inform arg input format - DER or PEM\n"); 408 BIO_printf(bio_err," -outform arg output format - DER or PEM\n"); 409 BIO_printf(bio_err," -in arg input file\n") [all...] |
crl2p7.c | 102 if (bio_err == NULL) 103 if ((bio_err=BIO_new(BIO_s_file())) != NULL) 104 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT); 148 BIO_printf(bio_err,"unknown option %s\n",*argv); 159 BIO_printf(bio_err,"%s [options] <infile >outfile\n",prog); 160 BIO_printf(bio_err,"where options are\n"); 161 BIO_printf(bio_err," -inform arg input format - DER or PEM\n"); 162 BIO_printf(bio_err," -outform arg output format - DER or PEM\n"); 163 BIO_printf(bio_err," -in arg input file\n"); 164 BIO_printf(bio_err," -out arg output file\n") [all...] |
pkcs12.c | 134 if (bio_err == NULL ) bio_err = BIO_new_fp (stderr, BIO_NOCLOSE); 136 if (!load_config(bio_err, NULL)) 190 if (!set_pbe(bio_err, &cert_pbe, *++args)) 193 if (!set_pbe(bio_err, &key_pbe, *++args)) 278 BIO_printf (bio_err, "Usage: pkcs12 [options]\n"); 279 BIO_printf (bio_err, "where options are\n"); 280 BIO_printf (bio_err, "-export output PKCS12 file\n"); 281 BIO_printf (bio_err, "-chain add certificate chain\n"); 282 BIO_printf (bio_err, "-inkey file private key if not infile\n") [all...] |
enc.c | 136 if (bio_err == NULL) 137 if ((bio_err=BIO_new(BIO_s_file())) != NULL) 138 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT); 140 if (!load_config(bio_err, NULL)) 160 BIO_printf(bio_err,"%s is an unknown cipher\n",pname); 239 BIO_printf(bio_err,"unable to read key from '%s'\n", 246 BIO_printf(bio_err,"unable to read key from '%s'\n", 260 BIO_printf(bio_err,"zero length password\n"); 296 BIO_printf(bio_err,"unknown option '%s'\n",*argv); 298 BIO_printf(bio_err,"options are\n") [all...] |
srp.c | 152 BIO_printf(bio_err," %d = \"%s\"\n", j, pp[j]); 184 BIO_printf(bio_err,"Memory allocation failure\n"); 207 BIO_printf(bio_err,"variable lookup failed for %s::%s\n",name,tag); 314 if (bio_err == NULL) 315 if ((bio_err=BIO_new(BIO_s_file())) != NULL) 316 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT); 378 BIO_printf(bio_err,"unknown option %s\n",*argv); 391 BIO_printf(bio_err,"-dbfile and -configfile cannot be specified together.\n"); 396 BIO_printf(bio_err,"Exactly one of the options -add, -delete, -modify -list must be specified.\n"); 401 BIO_printf(bio_err,"Need at least one user for options -add, -delete, -modify. \n") [all...] |
pkcs7.c | 98 if (bio_err == NULL) 99 if ((bio_err=BIO_new(BIO_s_file())) != NULL) 100 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT); 102 if (!load_config(bio_err, NULL)) 152 BIO_printf(bio_err,"unknown option %s\n",*argv); 163 BIO_printf(bio_err,"%s [options] <infile >outfile\n",prog); 164 BIO_printf(bio_err,"where options are\n"); 165 BIO_printf(bio_err," -inform arg input format - DER or PEM\n"); 166 BIO_printf(bio_err," -outform arg output format - DER or PEM\n"); 167 BIO_printf(bio_err," -in arg input file\n") [all...] |
verify.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)) 126 else if (args_verify(&argv, &argc, &badarg, bio_err, 171 e = setup_engine(bio_err, engine, 0); 182 BIO_printf(bio_err, "Error loading file %s\n", CAfile); 183 ERR_print_errors(bio_err); 193 BIO_printf(bio_err, "Error loading directory %s\n", CApath); 194 ERR_print_errors(bio_err); [all...] |
s_cb.c | 142 BIO_printf(bio_err,"depth=%d ",depth); 145 X509_NAME_print_ex(bio_err, X509_get_subject_name(err_cert), 147 BIO_puts(bio_err, "\n"); 150 BIO_puts(bio_err, "<no cert>\n"); 153 BIO_printf(bio_err,"verify error:num=%d:%s\n",err, 170 BIO_puts(bio_err,"issuer= "); 171 X509_NAME_print_ex(bio_err, X509_get_issuer_name(err_cert), 173 BIO_puts(bio_err, "\n"); 177 BIO_printf(bio_err,"notBefore="); 178 ASN1_TIME_print(bio_err,X509_get_notBefore(err_cert)) [all...] |
ca.c | 343 if (bio_err == NULL) 344 if ((bio_err=BIO_new(BIO_s_file())) != NULL) 345 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT); 562 BIO_printf(bio_err,"unknown option %s\n",*argv); 575 BIO_printf(bio_err,"%s",*pp2); 604 BIO_printf(bio_err,"Using configuration from %s\n",configfile); 609 BIO_printf(bio_err,"error loading the config file '%s'\n", 612 BIO_printf(bio_err,"error on line %ld of config file '%s'\n" 622 if (!load_config(bio_err, conf)) 626 e = setup_engine(bio_err, engine, 0) [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/dsa/ |
dsagen.c | 100 BIO *bio_err=NULL; local 102 if (bio_err == NULL) 103 bio_err=BIO_new_fp(stderr,BIO_NOCLOSE); 106 dsa=DSA_generate_parameters(1024,seed,20,&counter,&h,cb,bio_err); 109 DSA_print(bio_err,dsa,0);
|
dsatest.c | 135 static BIO *bio_err=NULL; variable 147 if (bio_err == NULL) 148 bio_err=BIO_new_fp(stderr,BIO_NOCLOSE); 157 BIO_printf(bio_err,"test generation of DSA parameters\n"); 159 BN_GENCB_set(&cb, dsa_cb, bio_err); 164 BIO_printf(bio_err,"seed\n"); 167 BIO_printf(bio_err,"%02X%02X%02X%02X ", 170 BIO_printf(bio_err,"\ncounter=%d h=%ld\n",counter,h); 172 DSA_print(bio_err,dsa,0); 175 BIO_printf(bio_err,"counter should be 105\n") [all...] |
/external/openssl/crypto/dsa/ |
dsagen.c | 100 BIO *bio_err=NULL; local 102 if (bio_err == NULL) 103 bio_err=BIO_new_fp(stderr,BIO_NOCLOSE); 106 dsa=DSA_generate_parameters(1024,seed,20,&counter,&h,cb,bio_err); 109 DSA_print(bio_err,dsa,0);
|
dsatest.c | 135 static BIO *bio_err=NULL; variable 147 if (bio_err == NULL) 148 bio_err=BIO_new_fp(stderr,BIO_NOCLOSE); 157 BIO_printf(bio_err,"test generation of DSA parameters\n"); 159 BN_GENCB_set(&cb, dsa_cb, bio_err); 164 BIO_printf(bio_err,"seed\n"); 167 BIO_printf(bio_err,"%02X%02X%02X%02X ", 170 BIO_printf(bio_err,"\ncounter=%d h=%ld\n",counter,h); 172 DSA_print(bio_err,dsa,0); 175 BIO_printf(bio_err,"counter should be 105\n") [all...] |