Home
last modified time | relevance | path

Searched refs:BIO_write (Results 1 – 25 of 80) sorted by relevance

1234

/external/openssl/crypto/asn1/
Dasn1_par.c80 if (BIO_write(bp,p,6) < 6) goto err; in asn1_print_info()
141 if (BIO_write(bp,"Error in encoding\n",18) <= 0) in asn1_parse2()
169 if (BIO_write(bp,"\n",1) <= 0) goto end; in asn1_parse2()
200 if (BIO_write(bp,"\n",1) <= 0) goto end; in asn1_parse2()
214 if (BIO_write(bp,":",1) <= 0) goto end; in asn1_parse2()
216 BIO_write(bp,(const char *)p,(int)len) in asn1_parse2()
225 if (BIO_write(bp,":",1) <= 0) goto end; in asn1_parse2()
230 if (BIO_write(bp,":BAD OBJECT",11) <= 0) in asn1_parse2()
242 if (BIO_write(bp,"Bad boolean\n",12) <= 0) in asn1_parse2()
277 if (BIO_write(bp,":",1) <= 0) in asn1_parse2()
[all …]
Dt_x509.c127 if (BIO_write(bp,"Certificate:\n",13) <= 0) goto err; in X509_print_ex()
128 if (BIO_write(bp," Data:\n",10) <= 0) goto err; in X509_print_ex()
138 if (BIO_write(bp," Serial Number:",22) <= 0) goto err; in X509_print_ex()
187 if (BIO_write(bp,"\n",1) <= 0) goto err; in X509_print_ex()
191 if (BIO_write(bp," Validity\n",17) <= 0) goto err; in X509_print_ex()
192 if (BIO_write(bp," Not Before: ",24) <= 0) goto err; in X509_print_ex()
194 if (BIO_write(bp,"\n Not After : ",25) <= 0) goto err; in X509_print_ex()
196 if (BIO_write(bp,"\n",1) <= 0) goto err; in X509_print_ex()
202 if (BIO_write(bp,"\n",1) <= 0) goto err; in X509_print_ex()
206 if (BIO_write(bp," Subject Public Key Info:\n",33) <= 0) in X509_print_ex()
[all …]
Dt_req.c115 if (BIO_write(bp,"Certificate Request:\n",21) <= 0) goto err; in X509_REQ_print_ex()
116 if (BIO_write(bp," Data:\n",10) <= 0) goto err; in X509_REQ_print_ex()
132 if (BIO_write(bp,"\n",1) <= 0) goto err; in X509_REQ_print_ex()
136 if (BIO_write(bp," Subject Public Key Info:\n",33) <= 0) in X509_REQ_print_ex()
204 if (BIO_write(bp," ",1) != 1) goto err; in X509_REQ_print_ex()
210 if (BIO_write(bp,(char *)bs->data,bs->length) in X509_REQ_print_ex()
246 if (BIO_write(bp,"\n",1) <= 0) goto err; in X509_REQ_print_ex()
Df_int.c74 if (BIO_write(bp, "-", 1) != 1) goto err; in i2a_ASN1_INTEGER()
80 if (BIO_write(bp,"00",2) != 2) goto err; in i2a_ASN1_INTEGER()
89 if (BIO_write(bp,"\\\n",2) != 2) goto err; in i2a_ASN1_INTEGER()
94 if (BIO_write(bp,buf,2) != 2) goto err; in i2a_ASN1_INTEGER()
Df_string.c74 if (BIO_write(bp,"0",1) != 1) goto err; in i2a_ASN1_STRING()
83 if (BIO_write(bp,"\\\n",2) != 2) goto err; in i2a_ASN1_STRING()
88 if (BIO_write(bp,buf,2) != 2) goto err; in i2a_ASN1_STRING()
Df_enum.c76 if (BIO_write(bp,"00",2) != 2) goto err; in i2a_ASN1_ENUMERATED()
85 if (BIO_write(bp,"\\\n",2) != 2) goto err; in i2a_ASN1_ENUMERATED()
90 if (BIO_write(bp,buf,2) != 2) goto err; in i2a_ASN1_ENUMERATED()
Dt_spki.c101 if ((i%18) == 0) BIO_write(out,"\n ",7); in NETSCAPE_SPKI_print()
105 BIO_write(out,"\n",1); in NETSCAPE_SPKI_print()
Da_i2d_fp.c103 i=BIO_write(out,&(b[j]),n); in ASN1_i2d_bio()
151 i=BIO_write(out,&(b[j]),n); in ASN1_item_i2d_bio()
Dasn_mime.c211 BIO_write(out, ",", 1); in asn1_write_micalg()
553 BIO_write(out, linebuf, len); in SMIME_crlf_copy()
563 BIO_write(out, linebuf, len); in SMIME_crlf_copy()
564 if(eol) BIO_write(out, "\r\n", 2); in SMIME_crlf_copy()
598 BIO_write(out, iobuf, len); in SMIME_text()
640 BIO_write(bpart, "\r\n", 2); in multi_split()
643 BIO_write(bpart, linebuf, len); in multi_split()
Da_object.c241 return(BIO_write(bp,"NULL",4)); in i2a_ASN1_OBJECT()
251 return BIO_write(bp, "<INVALID>", 9); in i2a_ASN1_OBJECT()
252 BIO_write(bp,p,i); in i2a_ASN1_OBJECT()
Dbio_asn1.c247 ret = BIO_write(b->next_bio, in asn1_bio_write()
269 ret = BIO_write(b->next_bio, in, wrmax); in asn1_bio_write()
309 ret = BIO_write(b->next_bio, ctx->ex_buf + ctx->ex_pos, in asn1_bio_flush_ex()
Dt_pkey.c111 if (BIO_write(bp,"\n",1) <= 0) return(0); in ASN1_bn_print()
Dt_x509a.c107 BIO_write(out,"\n",1); in X509_CERT_AUX_print()
/external/openssl/crypto/bio/
Dbf_lbuf.c204 BIO_write(b->next_bio, "<*<", 3); in linebuffer_write()
206 i=BIO_write(b->next_bio, in linebuffer_write()
214 BIO_write(b->next_bio, ">*>", 3); in linebuffer_write()
220 BIO_write(b->next_bio, ">*>", 3); in linebuffer_write()
233 BIO_write(b->next_bio, "<*<", 3); in linebuffer_write()
235 i=BIO_write(b->next_bio,in,p - in); in linebuffer_write()
240 BIO_write(b->next_bio, ">*>", 3); in linebuffer_write()
246 BIO_write(b->next_bio, ">*>", 3); in linebuffer_write()
336 r=BIO_write(b->next_bio, in linebuffer_ctrl()
/external/openssl/crypto/x509v3/
Dv3_pku.c89 BIO_write(out, "Not Before: ", 12);
91 if(usage->notAfter) BIO_write(out, ", ", 2);
94 BIO_write(out, "Not After: ", 11);
Dv3_ocsp.c166 if (BIO_write(bp, "\n", 1) <= 0) goto err; in i2r_ocsp_crlid()
172 if (BIO_write(bp, "\n", 1) <= 0) goto err; in i2r_ocsp_crlid()
178 if (BIO_write(bp, "\n", 1) <= 0) goto err; in i2r_ocsp_crlid()
/external/openssl/crypto/ocsp/
Docsp_prn.c144 if (BIO_write(bp,"OCSP Request Data:\n",19) <= 0) goto err; in OCSP_REQUEST_print()
149 if (BIO_write(bp,"\n Requestor Name: ",21) <= 0) in OCSP_REQUEST_print()
153 if (BIO_write(bp,"\n Requestor List:\n",21) <= 0) goto err; in OCSP_REQUEST_print()
267 if (BIO_write(bp,"\n",1) <= 0) goto err; in OCSP_RESPONSE_print()
272 if (BIO_write(bp,"\n",1) <= 0) goto err; in OCSP_RESPONSE_print()
Docsp_ht.c144 if (BIO_write(rctx->mem, ": ", 2) != 2) in OCSP_REQ_CTX_add1_header()
149 if (BIO_write(rctx->mem, "\r\n", 2) != 2) in OCSP_REQ_CTX_add1_header()
281 if (BIO_write(rctx->mem, rctx->iobuf, n) != n) in OCSP_sendreq_nbio()
291 i = BIO_write(rctx->io, in OCSP_sendreq_nbio()
/external/openssl/crypto/pem/
Dpem_lib.c598 if ( (BIO_write(bp,"-----BEGIN ",11) != 11) || in PEM_write_bio()
599 (BIO_write(bp,name,nlen) != nlen) || in PEM_write_bio()
600 (BIO_write(bp,"-----\n",6) != 6)) in PEM_write_bio()
606 if ( (BIO_write(bp,header,i) != i) || in PEM_write_bio()
607 (BIO_write(bp,"\n",1) != 1)) in PEM_write_bio()
623 if ((outl) && (BIO_write(bp,(char *)buf,outl) != outl)) in PEM_write_bio()
630 if ((outl > 0) && (BIO_write(bp,(char *)buf,outl) != outl)) goto err; in PEM_write_bio()
634 if ( (BIO_write(bp,"-----END ",9) != 9) || in PEM_write_bio()
635 (BIO_write(bp,name,nlen) != nlen) || in PEM_write_bio()
636 (BIO_write(bp,"-----\n",6) != 6)) in PEM_write_bio()
/external/openssl/crypto/bn/
Dbn_print.c339 if ((a->neg) && (BIO_write(bp,"-",1) != 1)) goto end; in BN_print()
340 if (BN_is_zero(a) && (BIO_write(bp,"0",1) != 1)) goto end; in BN_print()
349 if (BIO_write(bp,&(Hex[v]),1) != 1) in BN_print()
/external/openssl/crypto/ec/
Deck_prn.c369 if (BIO_write(fp, str, off) <= 0) in print_bin()
382 if (BIO_write(fp, str, off+1+4) <= 0) in print_bin()
388 if (BIO_write(fp,"\n",1) <= 0) in print_bin()
/external/openssl/apps/
Ds_client.c530 BIO_write(bio_c_out, ", ", 2); in next_proto_cb()
531 BIO_write(bio_c_out, &in[i + 1], in[i]); in next_proto_cb()
534 BIO_write(bio_c_out, "\n", 1); in next_proto_cb()
1990 BIO_write(bio,buf,strlen(buf)); in print_stuff()
1991 BIO_write(bio,"\n",1); in print_stuff()
2012 BIO_write(bio,space,15-j%25); in print_stuff()
2015 BIO_write(bio,((i%3)?" ":"\n"),1); in print_stuff()
2019 BIO_write(bio,p,1); in print_stuff()
2024 BIO_write(bio,"\n",1); in print_stuff()
2072 BIO_write(bio, proto, proto_len); in print_stuff()
[all …]
/external/chromium/third_party/libjingle/source/talk/base/
Dopensslidentity.cc182 BIO_write(temp_memory_bio, "\0", 1); in PrintCert()
239 BIO_write(bio, "\0", 1); in ToPEMString()
/external/openssl/crypto/err/
Derr_prn.c107 return BIO_write((BIO *)bp, str, len); in print_bio()
/external/openssl/ssl/
Ds23_pkt.c77 i=BIO_write(s->wbio,&(buf[tot]),num); in ssl23_write_bytes()

1234