Home
last modified time | relevance | path

Searched refs:BIO_printf (Results 1 – 25 of 98) sorted by relevance

1234

/external/openssl/apps/
Decparam.c239 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()
258 BIO_printf(bio_err, " -out arg output file - " in MAIN()
260 BIO_printf(bio_err, " -noout do not print the " in MAIN()
262 BIO_printf(bio_err, " -text print the ec " in MAIN()
264 BIO_printf(bio_err, " -check validate the ec " in MAIN()
[all …]
Ds_client.c235 BIO_printf(bio_c_out, "psk_client_cb\n"); in psk_client_cb()
240 BIO_printf(bio_c_out,"NULL received PSK identity hint, continuing anyway\n"); in psk_client_cb()
243 BIO_printf(bio_c_out, "Received PSK identity hint '%s'\n", hint); in psk_client_cb()
250 BIO_printf(bio_c_out, "created identity '%s' len=%d\n", identity, ret); in psk_client_cb()
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()
274 BIO_printf(bio_c_out, "created PSK len=%d\n", psk_len); 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()
[all …]
Dpkcs8.c114 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()
216 BIO_printf(bio_err, "-out file output file\n"); in MAIN()
217 BIO_printf(bio_err, "-passout arg output file pass phrase source\n"); in MAIN()
[all …]
Ds_server.c324 BIO_printf(bio_s_out,"psk_server_cb\n"); in psk_server_cb()
327 BIO_printf(bio_err,"Error: client did not send PSK identity\n"); in psk_server_cb()
331 BIO_printf(bio_s_out,"identity_len=%d identity=%s\n", in psk_server_cb()
337 BIO_printf(bio_s_out, "PSK error: client identity not found" in psk_server_cb()
343 BIO_printf(bio_s_out, "PSK client identity found\n"); in psk_server_cb()
349 BIO_printf(bio_err,"Could not convert PSK key '%s' to BIGNUM\n", psk_key); in psk_server_cb()
356 BIO_printf(bio_err,"psk buffer of callback is too small (%d) for key (%d)\n", in psk_server_cb()
370 BIO_printf(bio_s_out, "fetched PSK len=%d\n", psk_len); in psk_server_cb()
374 BIO_printf(bio_err, "Error in PSK server callback\n"); in psk_server_cb()
401 BIO_printf(bio_err, "SRP username = \"%s\"\n", p->login); in ssl_srp_server_param_cb()
[all …]
Dsmime.c287 BIO_printf(bio_err, "Unknown digest %s\n", in MAIN()
402 BIO_printf(bio_err, "No signer certificate specified\n"); in MAIN()
413 BIO_printf(bio_err, "No recipient certificate or key specified\n"); in MAIN()
421 BIO_printf(bio_err, "No recipient(s) certificate(s) specified\n"); in MAIN()
432 BIO_printf (bio_err, "Usage smime [options] cert.pem ...\n"); in MAIN()
433 BIO_printf (bio_err, "where options are\n"); in MAIN()
434 BIO_printf (bio_err, "-encrypt encrypt message\n"); in MAIN()
435 BIO_printf (bio_err, "-decrypt decrypt encrypted message\n"); in MAIN()
436 BIO_printf (bio_err, "-sign sign message\n"); in MAIN()
437 BIO_printf (bio_err, "-verify verify signed message\n"); in MAIN()
[all …]
Dpkcs12.c278 BIO_printf (bio_err, "Usage: pkcs12 [options]\n"); in MAIN()
279 BIO_printf (bio_err, "where options are\n"); in MAIN()
280 BIO_printf (bio_err, "-export output PKCS12 file\n"); in MAIN()
281 BIO_printf (bio_err, "-chain add certificate chain\n"); in MAIN()
282 BIO_printf (bio_err, "-inkey file private key if not infile\n"); in MAIN()
283 BIO_printf (bio_err, "-certfile f add all certs in f\n"); in MAIN()
284 BIO_printf (bio_err, "-CApath arg - PEM format directory of CA's\n"); in MAIN()
285 BIO_printf (bio_err, "-CAfile arg - PEM format file of CA's\n"); in MAIN()
286 BIO_printf (bio_err, "-name \"name\" use name as friendly name\n"); in MAIN()
287 BIO_printf (bio_err, "-caname \"nm\" use nm as CA friendly name (can be used more than once).\n"); in MAIN()
[all …]
Drsa.c202 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()
218 BIO_printf(bio_err," -sgckey Use IIS SGC key format\n"); in MAIN()
219 BIO_printf(bio_err," -passin arg input file pass phrase source\n"); in MAIN()
220 BIO_printf(bio_err," -out arg output file\n"); in MAIN()
221 BIO_printf(bio_err," -passout arg output file pass phrase source\n"); in MAIN()
[all …]
Dec.c199 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()
217 BIO_printf(bio_err, " -passin arg input file pass " in MAIN()
219 BIO_printf(bio_err, " -out arg output file\n"); in MAIN()
220 BIO_printf(bio_err, " -passout arg output file pass " in MAIN()
222 BIO_printf(bio_err, " -engine e use engine e, " in MAIN()
[all …]
Dgendsa.c173 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()
177BIO_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()
184 BIO_printf(bio_err," encrypt PEM output with cbc seed\n"); in MAIN()
187 BIO_printf(bio_err," -aes128, -aes192, -aes256\n"); in MAIN()
188 BIO_printf(bio_err," encrypt PEM output with cbc aes\n"); in MAIN()
191 BIO_printf(bio_err," -camellia128, -camellia192, -camellia256\n"); in MAIN()
[all …]
Ddgst.c98 BIO_printf(arg, "-%-14s to use the %s message digest algorithm\n", in list_md_fn()
137 BIO_printf(bio_err,"out of memory\n"); 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()
272 BIO_printf(bio_err,"-r to output the digest in coreutils format\n"); in MAIN()
273 BIO_printf(bio_err,"-d to output debug info\n"); in MAIN()
274 BIO_printf(bio_err,"-hex output as hex dump\n"); in MAIN()
275 BIO_printf(bio_err,"-binary output in binary form\n"); in MAIN()
[all …]
Ddsa.c194 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()
210 BIO_printf(bio_err," -passin arg input file pass phrase source\n"); in MAIN()
211 BIO_printf(bio_err," -out arg output file\n"); in MAIN()
212 BIO_printf(bio_err," -passout arg output file pass phrase source\n"); in MAIN()
214 BIO_printf(bio_err," -engine e use engine e, possibly a hardware device.\n"); in MAIN()
[all …]
Docsp.c197 BIO_printf(bio_err, in MAIN()
212 BIO_printf(bio_err, "Error parsing URL\n"); in MAIN()
364 BIO_printf(bio_err, in MAIN()
380 BIO_printf(bio_err, in MAIN()
492 BIO_printf(bio_err, in MAIN()
510 BIO_printf(bio_err, in MAIN()
526 BIO_printf(bio_err, in MAIN()
573 BIO_printf (bio_err, "OCSP utility\n"); in MAIN()
574 BIO_printf (bio_err, "Usage ocsp [options]\n"); in MAIN()
575 BIO_printf (bio_err, "where options are\n"); in MAIN()
[all …]
Denc.c90 BIO_printf(bio,"-%-25s",name->name); in show_ciphers()
93 BIO_printf(bio,"\n"); in show_ciphers()
97 BIO_printf(bio," "); in show_ciphers()
160 BIO_printf(bio_err,"%s is an unknown cipher\n",pname); in MAIN()
239 BIO_printf(bio_err,"unable to read key from '%s'\n", in MAIN()
246 BIO_printf(bio_err,"unable to read key from '%s'\n", in MAIN()
260 BIO_printf(bio_err,"zero length password\n"); in MAIN()
296 BIO_printf(bio_err,"unknown option '%s'\n",*argv); in MAIN()
298 BIO_printf(bio_err,"options are\n"); in MAIN()
299 BIO_printf(bio_err,"%-14s input file\n","-in <file>"); in MAIN()
[all …]
Dcms.c313 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()
562 BIO_printf(bio_err, "No signer certificate specified\n"); in MAIN()
574 BIO_printf(bio_err, "No recipient certificate or key specified\n"); in MAIN()
582 BIO_printf(bio_err, "No recipient(s) certificate(s) specified\n"); in MAIN()
593 BIO_printf (bio_err, "Usage cms [options] cert.pem ...\n"); in MAIN()
594 BIO_printf (bio_err, "where options are\n"); in MAIN()
595 BIO_printf (bio_err, "-encrypt encrypt message\n"); in MAIN()
[all …]
Dreq.c239 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()
410 BIO_printf(bio_err," -out arg output file\n"); in MAIN()
411 BIO_printf(bio_err," -text text form of request\n"); in MAIN()
412 BIO_printf(bio_err," -pubkey output public key\n"); in MAIN()
[all …]
Dgenrsa.c123 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()
198BIO_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()
203 BIO_printf(bio_err," -seed\n"); in MAIN()
204 BIO_printf(bio_err," encrypt PEM output with cbc seed\n"); in MAIN()
207 BIO_printf(bio_err," -aes128, -aes192, -aes256\n"); in MAIN()
208 BIO_printf(bio_err," encrypt PEM output with cbc aes\n"); in MAIN()
211 BIO_printf(bio_err," -camellia128, -camellia192, -camellia256\n"); in MAIN()
[all …]
Dsrp.c149 BIO_printf(bio, "%s \"%s\"\n", s, pp[DB_srpid]); in print_entry()
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()
197 BIO_printf(bio,"failed to update srpvfile\n"); in update_index()
198 BIO_printf(bio,"TXT_DB error number %ld\n",db->db->error); in update_index()
207 BIO_printf(bio_err,"variable lookup failed for %s::%s\n",name,tag); in lookup_fail()
225 …VERBOSE BIO_printf(bio,"Validating\n user=\"%s\"\n srp_verifier=\"%s\"\n srp_usersalt=\"%s\"\n g… in srp_verify_user()
226 BIO_printf(bio, "Pass %s\n", password); in srp_verify_user()
230 BIO_printf(bio, "Internal error validating SRP verifier\n"); in srp_verify_user()
255 VERBOSE BIO_printf(bio,"Creating\n user=\"%s\"\n g=\"%s\"\n N=\"%s\"\n",user,g,N); in srp_create_user()
[all …]
Drsautl.c184 BIO_printf(bio_err, "A private key is needed for this operation\n"); in MAIN()
192 BIO_printf(bio_err, "Error getting password\n"); in MAIN()
228 BIO_printf(bio_err, "Error getting RSA key\n"); in MAIN()
236 BIO_printf(bio_err, "Error Reading Input File\n"); in MAIN()
244 BIO_printf(bio_err, "Error Reading Output File\n"); in MAIN()
266 BIO_printf(bio_err, "Error reading input Data\n"); in MAIN()
299 BIO_printf(bio_err, "RSA operation error\n"); in MAIN()
322 BIO_printf(bio_err, "Usage: rsautl [options]\n"); in usage()
323 BIO_printf(bio_err, "-in file input file\n"); in usage()
324 BIO_printf(bio_err, "-out file output file\n"); in usage()
[all …]
Dca.c562 BIO_printf(bio_err,"unknown option %s\n",*argv); in MAIN()
575 BIO_printf(bio_err,"%s",*pp2); in MAIN()
604 BIO_printf(bio_err,"Using configuration from %s\n",configfile); in MAIN()
609 BIO_printf(bio_err,"error loading the config file '%s'\n", in MAIN()
612 BIO_printf(bio_err,"error on line %ld of config file '%s'\n" in MAIN()
681 BIO_printf(bio_err, "Invalid global string mask setting %s\n", f); in MAIN()
698 BIO_printf(bio_err, "DEBUG: unique_subject = \"%s\"\n", p); in MAIN()
706 BIO_printf(bio_err, "DEBUG: unique_subject undefined\n", p); in MAIN()
709 BIO_printf(bio_err, "DEBUG: configured unique_subject is %d\n", in MAIN()
738 BIO_printf(bio_err,"Error verifying serial %s!\n", in MAIN()
[all …]
Dspkac.c168 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()
176 BIO_printf(bio_err," -noout don't print SPKAC\n"); in MAIN()
177 BIO_printf(bio_err," -pubkey output public key\n"); in MAIN()
[all …]
Dasn1pars.c118 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()
201 BIO_printf(bio_err," -out arg output file (output format is always DER\n"); in MAIN()
202 BIO_printf(bio_err," -noout arg don't produce any output\n"); in MAIN()
203 BIO_printf(bio_err," -offset arg offset into file\n"); in MAIN()
204 BIO_printf(bio_err," -length arg length of section in file\n"); in MAIN()
[all …]
Ddhparam.c242 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()
249 BIO_printf(bio_err," -dsaparam read or generate DSA parameters, convert to DH\n"); in MAIN()
251 BIO_printf(bio_err," -check check the DH parameters\n"); in MAIN()
252 BIO_printf(bio_err," -text print a text form of the DH parameters\n"); in MAIN()
253 BIO_printf(bio_err," -C Output C code\n"); in MAIN()
[all …]
Ddsaparam.c206 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()
222 BIO_printf(bio_err," -out arg output file\n"); in MAIN()
223 BIO_printf(bio_err," -text print as text\n"); in MAIN()
224 BIO_printf(bio_err," -C Output C code\n"); in MAIN()
225 BIO_printf(bio_err," -noout no output\n"); in MAIN()
[all …]
/external/openssl/crypto/ecdsa/
Decdsatest.c198 BIO_printf(out, "testing %s: ", OBJ_nid2sn(nid)); in x9_62_test_internal()
204 BIO_printf(out, "."); in x9_62_test_internal()
210 BIO_printf(out, "."); in x9_62_test_internal()
220 BIO_printf(out, "."); in x9_62_test_internal()
225 BIO_printf(out, "."); in x9_62_test_internal()
228 BIO_printf(out, " ok\n"); in x9_62_test_internal()
232 BIO_printf(out, " failed\n"); in x9_62_test_internal()
249 BIO_printf(out, "some tests from X9.62:\n"); in x9_62_tests()
303 BIO_printf(out, "ERROR: unable to get random data\n"); in test_builtin()
309 BIO_printf(out, "\ntesting ECDSA_sign() and ECDSA_verify() " in test_builtin()
[all …]
/external/openssl/crypto/lhash/
Dlh_stats.c182 BIO_printf(out,"num_items = %lu\n",lh->num_items); in lh_stats_bio()
183 BIO_printf(out,"num_nodes = %u\n",lh->num_nodes); in lh_stats_bio()
184 BIO_printf(out,"num_alloc_nodes = %u\n",lh->num_alloc_nodes); in lh_stats_bio()
185 BIO_printf(out,"num_expands = %lu\n",lh->num_expands); in lh_stats_bio()
186 BIO_printf(out,"num_expand_reallocs = %lu\n", in lh_stats_bio()
188 BIO_printf(out,"num_contracts = %lu\n",lh->num_contracts); in lh_stats_bio()
189 BIO_printf(out,"num_contract_reallocs = %lu\n", in lh_stats_bio()
191 BIO_printf(out,"num_hash_calls = %lu\n",lh->num_hash_calls); in lh_stats_bio()
192 BIO_printf(out,"num_comp_calls = %lu\n",lh->num_comp_calls); in lh_stats_bio()
193 BIO_printf(out,"num_insert = %lu\n",lh->num_insert); in lh_stats_bio()
[all …]

1234