Home
last modified time | relevance | path

Searched refs:BIO_puts (Results 1 – 25 of 49) sorted by relevance

12

/external/openssl/crypto/dh/
Ddhtest.c127 BIO_puts(out, "p value is not prime\n"); in main()
129 BIO_puts(out, "p value is not a safe prime\n"); in main()
131 BIO_puts(out, "unable to check the generator value\n"); in main()
133 BIO_puts(out, "the g value is not a generator\n"); in main()
135 BIO_puts(out,"\np ="); in main()
137 BIO_puts(out,"\ng ="); in main()
139 BIO_puts(out,"\n"); in main()
153 BIO_puts(out,"pri 1="); in main()
155 BIO_puts(out,"\npub 1="); in main()
157 BIO_puts(out,"\n"); in main()
[all …]
/external/openssl/crypto/bn/
Dbntest.c133 BIO_puts(out, "print \"test "); in message()
134 BIO_puts(out, m); in message()
135 BIO_puts(out, "\\n\"\n"); in message()
183 BIO_puts(out,"obase=16\nibase=16\n"); in main()
308 BIO_puts(out,"1\n"); /* make sure the Perl script fed by bc notices in main()
338 BIO_puts(bp," + "); in test_add()
340 BIO_puts(bp," - "); in test_add()
343 BIO_puts(bp,"\n"); in test_add()
391 BIO_puts(bp," - "); in test_sub()
393 BIO_puts(bp," - "); in test_sub()
[all …]
/external/openssl/ssl/
Dssl_txt.c113 if (BIO_puts(bp,"SSL-Session:\n") <= 0) goto err; in SSL_SESSION_print()
150 if (BIO_puts(bp," Session-ID: ") <= 0) goto err; in SSL_SESSION_print()
155 if (BIO_puts(bp,"\n Session-ID-ctx: ") <= 0) goto err; in SSL_SESSION_print()
161 if (BIO_puts(bp,"\n Master-Key: ") <= 0) goto err; in SSL_SESSION_print()
166 if (BIO_puts(bp,"\n Key-Arg : ") <= 0) goto err; in SSL_SESSION_print()
169 if (BIO_puts(bp,"None") <= 0) goto err; in SSL_SESSION_print()
177 if (BIO_puts(bp,"\n Krb5 Principal: ") <= 0) goto err; in SSL_SESSION_print()
180 if (BIO_puts(bp,"None") <= 0) goto err; in SSL_SESSION_print()
189 if (BIO_puts(bp,"\n PSK identity: ") <= 0) goto err; in SSL_SESSION_print()
191 if (BIO_puts(bp,"\n PSK identity hint: ") <= 0) goto err; in SSL_SESSION_print()
[all …]
/external/openssl/crypto/ecdh/
Decdhtest.c146 BIO_puts(out,"Testing key generation with "); in test_ecdh_curve()
147 BIO_puts(out,text); in test_ecdh_curve()
149 BIO_puts(out,"\n"); in test_ecdh_curve()
169 BIO_puts(out," pri 1="); in test_ecdh_curve()
171 BIO_puts(out,"\n pub 1="); in test_ecdh_curve()
173 BIO_puts(out,","); in test_ecdh_curve()
175 BIO_puts(out,"\n"); in test_ecdh_curve()
197 BIO_puts(out," pri 2="); in test_ecdh_curve()
199 BIO_puts(out,"\n pub 2="); in test_ecdh_curve()
201 BIO_puts(out,","); in test_ecdh_curve()
[all …]
/external/openssl/crypto/asn1/
Dt_x509a.c78 if(!first) BIO_puts(out, ", "); in X509_CERT_AUX_print()
82 BIO_puts(out, oidstr); in X509_CERT_AUX_print()
84 BIO_puts(out, "\n"); in X509_CERT_AUX_print()
91 if(!first) BIO_puts(out, ", "); in X509_CERT_AUX_print()
95 BIO_puts(out, oidstr); in X509_CERT_AUX_print()
97 BIO_puts(out, "\n"); in X509_CERT_AUX_print()
Dtasn_prn.c218 if (BIO_puts(out, "<ABSENT>\n") <= 0) in asn1_item_print_ctx()
250 if ((i == 2) && (BIO_puts(out, "\n") <= 0)) in asn1_item_print_ctx()
288 if (BIO_puts(out, " {\n") <= 0) in asn1_item_print_ctx()
293 if (BIO_puts(out, "\n") <= 0) in asn1_item_print_ctx()
379 if ((i > 0) && (BIO_puts(out, "\n") <= 0)) in asn1_template_print_ctx()
428 if (BIO_puts(out, fname) <= 0) in asn1_print_fsname()
440 if (BIO_puts(out, sname) <= 0) in asn1_print_fsname()
469 if (BIO_puts(out, str) <= 0) in asn1_print_boolean_ctx()
481 if (BIO_puts(out, s) <= 0) in asn1_print_integer_ctx()
510 else if (BIO_puts(out, "\n") <= 0) in asn1_print_obstring_ctx()
[all …]
Dt_bitst.c72 if(!first) BIO_puts(out, ", "); in ASN1_BIT_STRING_name_print()
73 BIO_puts(out, bnam->lname); in ASN1_BIT_STRING_name_print()
77 BIO_puts(out, "\n"); in ASN1_BIT_STRING_name_print()
Dt_req.c142 if (BIO_puts(bp, "\n") <= 0) in X509_REQ_print_ex()
205 if (BIO_puts(bp,":") <= 0) goto err; in X509_REQ_print_ex()
213 BIO_puts(bp,"\n"); in X509_REQ_print_ex()
217 BIO_puts(bp,"unable to print attribute\n"); in X509_REQ_print_ex()
Dasn_mime.c222 BIO_puts(out, micstr); in asn1_write_micalg()
232 BIO_puts(out, "sha1"); in asn1_write_micalg()
236 BIO_puts(out, "md5"); in asn1_write_micalg()
240 BIO_puts(out, "sha-256"); in asn1_write_micalg()
244 BIO_puts(out, "sha-384"); in asn1_write_micalg()
248 BIO_puts(out, "sha-512"); in asn1_write_micalg()
252 BIO_puts(out, "gostr3411-94"); in asn1_write_micalg()
261 BIO_puts(out, "unknown"); in asn1_write_micalg()
310 BIO_puts(bio, " micalg=\""); in SMIME_write_ASN1()
Dt_x509.c178 if (BIO_puts(bp, "\n") <= 0) in X509_print_ex()
212 if (BIO_puts(bp, "\n") <= 0) in X509_print_ex()
319 if (BIO_puts(bp," Signature Algorithm: ") <= 0) return 0; in X509_signature_print()
336 else if (BIO_puts(bp, "\n") <= 0) in X509_signature_print()
/external/openssl/apps/
Dgenpkey.c160 BIO_puts(bio_err, "No keytype specified\n"); in MAIN()
165 BIO_puts(bio_err, "parameter setting error\n"); in MAIN()
220 BIO_puts(bio_err, "Error getting password\n"); in MAIN()
251 BIO_puts(bio_err, "Error generating parameters\n"); in MAIN()
260 BIO_puts(bio_err, "Error generating key\n"); in MAIN()
281 BIO_puts(bio_err, "Error writing key\n"); in MAIN()
294 BIO_puts(bio_err, "Error printing key\n"); in MAIN()
323 BIO_puts(err, "Parameters already set!\n"); in init_keygen_file()
353 BIO_puts(err, "Error initializing context\n"); in init_keygen_file()
373 BIO_puts(err, "Algorithm already set!\n"); in init_gen_str()
Dpkeyutl.c145 BIO_puts(bio_err, in MAIN()
211 BIO_puts(bio_err, in MAIN()
217 BIO_puts(bio_err, "parameter setting error\n"); in MAIN()
240 BIO_puts(bio_err, "Signature file specified for non verify\n"); in MAIN()
246 BIO_puts(bio_err, "No signature file specified for verify\n"); in MAIN()
259 BIO_puts(bio_err, in MAIN()
335 BIO_puts(out, "Signature Verification Failure\n"); in MAIN()
337 BIO_puts(out, "Signature Verified Successfully\n"); in MAIN()
520 BIO_puts(err, "-peerkey command before -inkey\n"); in setup_peer()
Dcms.c442 BIO_puts(bio_err, "Illegal -inkey without -signer\n"); in MAIN()
524 BIO_puts(bio_err, "No Signed Receipts Recipients\n"); in MAIN()
530 BIO_puts(bio_err, "Signed receipts only allowed with -sign\n"); in MAIN()
535 BIO_puts(bio_err, "Multiple signers or keys not allowed\n"); in MAIN()
543 BIO_puts(bio_err, "Illegal -inkey without -signer\n"); in MAIN()
994 BIO_puts(bio_err, in MAIN()
1049 BIO_puts(bio_err, in MAIN()
1059 BIO_puts(bio_err, in MAIN()
1069 BIO_puts(bio_err, in MAIN()
1270 BIO_puts(out, " "); in gnames_stack_print()
[all …]
Docsp.c1012 BIO_puts(out, "ERROR: No Status found.\n"); in print_ocsp_summary()
1021 BIO_puts(out, "WARNING: Status times invalid.\n"); in print_ocsp_summary()
1026 BIO_puts(out, "\tThis Update: "); in print_ocsp_summary()
1028 BIO_puts(out, "\n"); in print_ocsp_summary()
1032 BIO_puts(out, "\tNext Update: "); in print_ocsp_summary()
1034 BIO_puts(out, "\n"); in print_ocsp_summary()
1044 BIO_puts(out, "\tRevocation Time: "); in print_ocsp_summary()
1046 BIO_puts(out, "\n"); in print_ocsp_summary()
1295 BIO_puts(err, "Error connecting BIO\n"); in query_responder()
1301 BIO_puts(err, "Can't get connection fd\n"); in query_responder()
[all …]
Ds_server.c799 BIO_puts(err, "cert_status: callback called\n"); in cert_status_cb()
808 BIO_puts(err, "cert_status: can't parse AIA URL\n"); in cert_status_cb()
819 BIO_puts(srctx->err, "cert_status: no AIA and no default responder URL\n"); in cert_status_cb()
835 BIO_puts(err, "cert_status: Can't retrieve issuer certificate.\n"); in cert_status_cb()
862 BIO_puts(err, "cert_status: error querying responder\n"); in cert_status_cb()
871 BIO_puts(err, "cert_status: ocsp response sent:\n"); in cert_status_cb()
2692 BIO_puts(io,"HTTP/1.0 200 ok\r\nContent-type: text/html\r\n\r\n"); in www_body()
2693 BIO_puts(io,"<HTML><BODY BGCOLOR=\"#ffffff\">\n"); in www_body()
2694 BIO_puts(io,"<pre>\n"); in www_body()
2696 BIO_puts(io,"\n"); in www_body()
[all …]
Dapps.c464 BIO_puts(out,"subject="); in dump_cert_text()
465 BIO_puts(out,p); in dump_cert_text()
469 BIO_puts(out,"\nissuer="); in dump_cert_text()
470 BIO_puts(out,p); in dump_cert_text()
471 BIO_puts(out,"\n"); in dump_cert_text()
1409 if(title) BIO_puts(out, title); in print_name()
1416 BIO_puts(out, buf); in print_name()
1417 BIO_puts(out, "\n"); in print_name()
1420 if(mline) BIO_puts(out, "\n"); in print_name()
1422 BIO_puts(out, "\n"); in print_name()
[all …]
Ds_cb.c147 BIO_puts(bio_err, "\n"); in verify_callback()
150 BIO_puts(bio_err, "<no cert>\n"); in verify_callback()
170 BIO_puts(bio_err,"issuer= "); in verify_callback()
173 BIO_puts(bio_err, "\n"); in verify_callback()
Dpkcs7.c274 BIO_puts(out,"\n"); in MAIN()
288 BIO_puts(out,"\n"); in MAIN()
/external/openssl/crypto/rsa/
Drsa_ameth.c307 if (BIO_puts(bp, " (INVALID PSS PARAMETERS)\n") <= 0) in rsa_pss_param_print()
311 if (BIO_puts(bp, "\n") <= 0) in rsa_pss_param_print()
315 if (BIO_puts(bp, "Hash Algorithm: ") <= 0) in rsa_pss_param_print()
323 else if (BIO_puts(bp, "sha1 (default)") <= 0) in rsa_pss_param_print()
326 if (BIO_puts(bp, "\n") <= 0) in rsa_pss_param_print()
332 if (BIO_puts(bp, "Mask Algorithm: ") <= 0) in rsa_pss_param_print()
338 if (BIO_puts(bp, " with ") <= 0) in rsa_pss_param_print()
345 else if (BIO_puts(bp, "INVALID") <= 0) in rsa_pss_param_print()
348 else if (BIO_puts(bp, "mgf1 with sha1 (default)") <= 0) in rsa_pss_param_print()
350 BIO_puts(bp, "\n"); in rsa_pss_param_print()
[all …]
/external/openssl/crypto/x509v3/
Dv3_prn.c78 if(!sk_CONF_VALUE_num(val)) BIO_puts(out, "<EMPTY>\n"); in X509V3_EXT_val_prn()
84 if(!nval->name) BIO_puts(out, nval->value); in X509V3_EXT_val_prn()
85 else if(!nval->value) BIO_puts(out, nval->name); in X509V3_EXT_val_prn()
102 if(ml) BIO_puts(out, "\n"); in X509V3_EXT_val_prn()
Dv3_crld.c259 BIO_puts(out, ", "); in print_reasons()
260 BIO_puts(out, pbn->lname); in print_reasons()
264 BIO_puts(out, "<EMPTY>\n"); in print_reasons()
266 BIO_puts(out, "\n"); in print_reasons()
514 BIO_puts(out, "\n"); in print_gens()
533 BIO_puts(out, "\n"); in print_distpoint()
571 BIO_puts(out, "\n"); in i2r_crldp()
Dv3_addr.c198 BIO_puts(out, ":"); in i2r_address()
200 BIO_puts(out, ":"); in i2r_address()
232 BIO_puts(out, "-"); in i2r_IPAddressOrRanges()
235 BIO_puts(out, "\n"); in i2r_IPAddressOrRanges()
269 BIO_puts(out, " (Unicast)"); in i2r_IPAddrBlocks()
272 BIO_puts(out, " (Multicast)"); in i2r_IPAddrBlocks()
275 BIO_puts(out, " (Unicast/Multicast)"); in i2r_IPAddrBlocks()
278 BIO_puts(out, " (MPLS)"); in i2r_IPAddrBlocks()
281 BIO_puts(out, " (Tunnel)"); in i2r_IPAddrBlocks()
284 BIO_puts(out, " (VPLS)"); in i2r_IPAddrBlocks()
[all …]
Dv3_cpols.c375 BIO_puts(out, "\n"); in i2r_certpol()
406 BIO_puts(out, "\n"); in print_qualifiers()
426 if(i) BIO_puts(out, ", "); in print_notice()
428 BIO_puts(out, tmp); in print_notice()
431 BIO_puts(out, "\n"); in print_notice()
445 BIO_puts(out, "\n"); in X509_POLICY_NODE_print()
Dv3_ncons.c192 BIO_puts(bp, "\n"); in do_i2r_name_constraints()
203 BIO_puts(bp, "IP:"); in print_nc_ipadd()
217 BIO_puts(bp, "/"); in print_nc_ipadd()
219 BIO_puts(bp, ":"); in print_nc_ipadd()
/external/openssl/crypto/ocsp/
Docsp_prn.c194 if (BIO_puts(bp,"OCSP Response Data:\n") <= 0) goto err; in OCSP_RESPONSE_print()
199 if (BIO_puts(bp," Response Type: ") <= 0) in OCSP_RESPONSE_print()
205 BIO_puts(bp," (unknown response type)\n"); in OCSP_RESPONSE_print()
215 if (BIO_puts(bp," Responder Id: ") <= 0) goto err; in OCSP_RESPONSE_print()

12