Home
last modified time | relevance | path

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

12

/external/boringssl/src/crypto/x509/
Dt_x509.c119 if (BIO_write(bp,"Certificate:\n",13) <= 0) goto err; in X509_print_ex()
120 if (BIO_write(bp," Data:\n",10) <= 0) goto err; in X509_print_ex()
130 if (BIO_write(bp," Serial Number:",22) <= 0) goto err; in X509_print_ex()
171 if (BIO_write(bp,"\n",1) <= 0) goto err; in X509_print_ex()
175 if (BIO_write(bp," Validity\n",17) <= 0) goto err; in X509_print_ex()
176 if (BIO_write(bp," Not Before: ",24) <= 0) goto err; in X509_print_ex()
178 if (BIO_write(bp,"\n Not After : ",25) <= 0) goto err; in X509_print_ex()
180 if (BIO_write(bp,"\n",1) <= 0) goto err; in X509_print_ex()
186 if (BIO_write(bp,"\n",1) <= 0) goto err; in X509_print_ex()
190 if (BIO_write(bp," Subject Public Key Info:\n",33) <= 0) in X509_print_ex()
[all …]
Dt_req.c100 if (BIO_write(bio, "Certificate Request:\n", 21) <= 0 || in X509_REQ_print_ex()
101 BIO_write(bio, " Data:\n", 10) <= 0) { in X509_REQ_print_ex()
114 BIO_write(bio, "\n", 1) <= 0) { in X509_REQ_print_ex()
119 if (BIO_write(bio, " Subject Public Key Info:\n", 33) <= 0 || in X509_REQ_print_ex()
178 if (BIO_write(bio, " ", 1) != 1) { in X509_REQ_print_ex()
191 if (BIO_write(bio, (char *)bs->data, bs->length) != bs->length) { in X509_REQ_print_ex()
224 if (BIO_write(bio, "\n", 1) <= 0) { in X509_REQ_print_ex()
Dx509.c138 if (BIO_write(bp, "\n", 1) <= 0 || in X509_signature_dump()
147 if (BIO_write(bp, "\n", 1) != 1) { in X509_signature_dump()
/external/boringssl/src/crypto/bio/
Dhexdump.c108 if (BIO_write(ctx->bio, buf, 10) < 0) { in hexdump_write()
128 if (BIO_write(ctx->bio, buf, l) < 0) { in hexdump_write()
137 if (BIO_write(ctx->bio, ctx->right_chars, sizeof(ctx->right_chars)) < 0) { in hexdump_write()
168 if (BIO_write(ctx->bio, buf, l) < 0) { in finish()
175 if (BIO_write(ctx->bio, ctx->right_chars, n_bytes + 2) < 0) { in finish()
Dbuffer.c242 i = BIO_write(b->next_bio, &ctx->obuf[ctx->obuf_off], ctx->obuf_len); in buffer_write()
265 i = BIO_write(b->next_bio, in, inl); in buffer_write()
382 r = BIO_write(b->next_bio, &(ctx->obuf[ctx->obuf_off]), in buffer_ctrl()
Dprintf.c113 ret = BIO_write(bio, out, out_len); in BIO_printf()
/external/tlsdate/src/
Dproxy-bio-unittest.c126 EXPECT_EQ (4, BIO_write (proxy, kTestInput, sizeof (kTestInput))); in TEST_F()
147 EXPECT_EQ (0, BIO_write (proxy, kTestInput, sizeof (kTestInput))); in TEST_F()
197 EXPECT_EQ (4, BIO_write (proxy, kTestInput, sizeof (kTestInput))); in TEST_F()
217 EXPECT_EQ (0, BIO_write (proxy, kTestInput, sizeof (kTestInput))); in TEST_F()
240 EXPECT_EQ (0, BIO_write (proxy, kTestInput, sizeof (kTestInput))); in TEST_F()
262 EXPECT_EQ (4, BIO_write (proxy, kTestInput, sizeof (kTestInput))); in TEST_F()
285 EXPECT_EQ (0, BIO_write (proxy, kTestInput, sizeof (kTestInput))); in TEST_F()
Dproxy-bio.c105 r = BIO_write (b->next_bio, buf, sz); in socks4a_connect()
148 r = BIO_write (b->next_bio, buf, 3); in socks5_connect()
178 r = BIO_write (b->next_bio, buf, sz); in socks5_connect()
256 r = BIO_write (b->next_bio, buf, strlen (buf)); in http_connect()
263 r = BIO_write (b->next_bio, buf, strlen (buf)); in http_connect()
269 r = BIO_write (b->next_bio, buf, strlen (buf)); in http_connect()
310 r = BIO_write (b->next_bio, buf, sz); in proxy_write()
Dproxy-bio-plan9.c114 r = BIO_write(b->next_bio, buf, sz); in socks4a_connect()
161 r = BIO_write(b->next_bio, buf, 3); in socks5_connect()
194 r = BIO_write(b->next_bio, buf, sz); in socks5_connect()
271 r = BIO_write(b->next_bio, buf, strlen(buf)); in http_connect()
278 r = BIO_write(b->next_bio, buf, strlen(buf)); in http_connect()
284 r = BIO_write(b->next_bio, buf, strlen(buf)); in http_connect()
328 r = BIO_write(b->next_bio, buf, sz); in proxy_write()
/external/boringssl/src/crypto/x509v3/
Dv3_pku.c90 BIO_write(out, "Not Before: ", 12);
92 if(usage->notAfter) BIO_write(out, ", ", 2);
95 BIO_write(out, "Not After: ", 11);
/external/boringssl/src/crypto/asn1/
Df_int.c73 if (BIO_write(bp, "-", 1) != 1) goto err; in i2a_ASN1_INTEGER()
79 if (BIO_write(bp,"00",2) != 2) goto err; in i2a_ASN1_INTEGER()
88 if (BIO_write(bp,"\\\n",2) != 2) goto err; in i2a_ASN1_INTEGER()
93 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.c74 if (BIO_write(bp,"00",2) != 2) goto err; in i2a_ASN1_ENUMERATED()
83 if (BIO_write(bp,"\\\n",2) != 2) goto err; in i2a_ASN1_ENUMERATED()
88 if (BIO_write(bp,buf,2) != 2) goto err; in i2a_ASN1_ENUMERATED()
Da_i2d_fp.c98 i=BIO_write(out,&(b[j]),n); in ASN1_i2d_bio()
142 i=BIO_write(out,&(b[j]),n); in ASN1_item_i2d_bio()
Dasn1_par.c81 if (BIO_write(bp,p,6) < 6) goto err; in asn1_print_info()
224 BIO_write(bp,(const char *)p,(int)len) in asn1_parse2()
287 if (BIO_write(bp,(const char *)opp, in asn1_parse2()
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.c248 ret = BIO_write(b->next_bio, in asn1_bio_write()
270 ret = BIO_write(b->next_bio, in, wrmax); in asn1_bio_write()
310 ret = BIO_write(b->next_bio, ctx->ex_buf + ctx->ex_pos, in asn1_bio_flush_ex()
Dt_pkey.c109 if (BIO_write(bp,"\n",1) <= 0) return(0); in ASN1_bn_print()
/external/libchrome/crypto/
Dopenssl_bio_string_unittest.cc31 BIO_write(bio.get(), expected2.data(), expected2.size())); in TEST()
50 BIO_write(bio.get(), expected1.data(), expected1.size())); in TEST()
57 BIO_write(bio.get(), expected2.data(), expected2.size())); in TEST()
/external/libbrillo/brillo/streams/
Dopenssl_stream_bio_unittests.cc89 EXPECT_EQ(10, BIO_write(bio_, buffer, sizeof(buffer))); in TEST_F()
96 EXPECT_EQ(3, BIO_write(bio_, buffer, sizeof(buffer))); in TEST_F()
103 EXPECT_EQ(-1, BIO_write(bio_, buffer, sizeof(buffer))); in TEST_F()
111 EXPECT_EQ(-1, BIO_write(bio_, buffer, sizeof(buffer))); in TEST_F()
/external/boringssl/src/crypto/pem/
Dpem_lib.c563 if ( (BIO_write(bp,"-----BEGIN ",11) != 11) || in PEM_write_bio()
564 (BIO_write(bp,name,nlen) != nlen) || in PEM_write_bio()
565 (BIO_write(bp,"-----\n",6) != 6)) in PEM_write_bio()
571 if ( (BIO_write(bp,header,i) != i) || in PEM_write_bio()
572 (BIO_write(bp,"\n",1) != 1)) in PEM_write_bio()
588 if ((outl) && (BIO_write(bp,(char *)buf,outl) != outl)) in PEM_write_bio()
595 if ((outl > 0) && (BIO_write(bp,(char *)buf,outl) != outl)) goto err; in PEM_write_bio()
599 if ( (BIO_write(bp,"-----END ",9) != 9) || in PEM_write_bio()
600 (BIO_write(bp,name,nlen) != nlen) || in PEM_write_bio()
601 (BIO_write(bp,"-----\n",6) != 6)) in PEM_write_bio()
/external/boringssl/src/ssl/test/
Dpacketed_bio.cc65 int ret = BIO_write(bio->next_bio, header, sizeof(header)); in PacketedWrite()
72 ret = BIO_write(bio->next_bio, in, inl); in PacketedWrite()
120 ret = BIO_write(bio->next_bio, &kOpcodeTimeoutAck, 1); in PacketedRead()
Dasync_bio.cc48 return BIO_write(bio->next_bio, in, inl); in AsyncWrite()
62 int ret = BIO_write(bio->next_bio, in, inl); in AsyncWrite()
/external/boringssl/src/crypto/bn/
Dconvert.c475 if (a->neg && BIO_write(bp, "-", 1) != 1) { in BN_print()
479 if (BN_is_zero(a) && BIO_write(bp, "0", 1) != 1) { in BN_print()
488 if (BIO_write(bp, &hextable[v], 1) != 1) { in BN_print()
/external/boringssl/src/ssl/
Dssl_buffer.c272 int ret = BIO_write(ssl->wbio, buf->buf + buf->offset, buf->len); in tls_write_buffer_flush()
290 int ret = BIO_write(ssl->wbio, buf->buf + buf->offset, buf->len); in dtls_write_buffer_flush()

12