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.c121 if (BIO_write(bp, "Certificate:\n", 13) <= 0) in X509_print_ex()
123 if (BIO_write(bp, " Data:\n", 10) <= 0) in X509_print_ex()
133 if (BIO_write(bp, " Serial Number:", 22) <= 0) in X509_print_ex()
172 if (BIO_write(bp, "\n", 1) <= 0) in X509_print_ex()
176 if (BIO_write(bp, " Validity\n", 17) <= 0) in X509_print_ex()
178 if (BIO_write(bp, " Not Before: ", 24) <= 0) in X509_print_ex()
182 if (BIO_write(bp, "\n Not After : ", 25) <= 0) in X509_print_ex()
186 if (BIO_write(bp, "\n", 1) <= 0) in X509_print_ex()
195 if (BIO_write(bp, "\n", 1) <= 0) in X509_print_ex()
199 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.c143 if (BIO_write(bp, "\n", 1) <= 0 || in X509_signature_dump()
152 if (BIO_write(bp, "\n", 1) != 1) { in X509_signature_dump()
Dt_x509a.c108 BIO_write(out, "\n", 1); in X509_CERT_AUX_print()
/external/boringssl/src/crypto/bio/
Dbio_test.cc102 BIO_write(bio.get(), kTestMessage, sizeof(kTestMessage))); in TEST()
230 EXPECT_EQ(5, BIO_write(bio1, "12345", 5)); in TEST_P()
237 EXPECT_EQ(10, BIO_write(bio1, "1234567890___", 13)); in TEST_P()
239 EXPECT_EQ(-1, BIO_write(bio1, "z", 1)); in TEST_P()
256 EXPECT_EQ(5, BIO_write(bio1, "12345", 5)); in TEST_P()
258 EXPECT_EQ(5, BIO_write(bio1, "67890___", 8)); in TEST_P()
272 EXPECT_EQ(8, BIO_write(bio1, "abcdefgh", 8)); in TEST_P()
277 EXPECT_EQ(5, BIO_write(bio1, "ijklm___", 8)); in TEST_P()
284 EXPECT_EQ(5, BIO_write(bio1, "12345", 5)); in TEST_P()
285 EXPECT_EQ(5, BIO_write(bio2, "67890", 5)); in TEST_P()
[all …]
Dhexdump.c109 if (BIO_write(ctx->bio, buf, 10) < 0) { in hexdump_write()
129 if (BIO_write(ctx->bio, buf, l) < 0) { in hexdump_write()
138 if (BIO_write(ctx->bio, ctx->right_chars, sizeof(ctx->right_chars)) < 0) { in hexdump_write()
169 if (BIO_write(ctx->bio, buf, l) < 0) { in finish()
176 if (BIO_write(ctx->bio, ctx->right_chars, n_bytes + 2) < 0) { in finish()
Dprintf.c113 ret = BIO_write(bio, out, out_len); in BIO_printf()
Dbio.c185 int BIO_write(BIO *bio, const void *in, int inl) { in BIO_write() function
191 return BIO_write(bio, in, strlen(in)); in BIO_puts()
460 return BIO_write((BIO *)bio, str, len); in print_bio()
/external/boringssl/src/crypto/asn1/
Df_int.c71 if (BIO_write(bp, "-", 1) != 1) in i2a_ASN1_INTEGER()
77 if (BIO_write(bp, "00", 2) != 2) in i2a_ASN1_INTEGER()
83 if (BIO_write(bp, "\\\n", 2) != 2) in i2a_ASN1_INTEGER()
89 if (BIO_write(bp, buf, 2) != 2) in i2a_ASN1_INTEGER()
Df_enum.c73 if (BIO_write(bp, "00", 2) != 2) in i2a_ASN1_ENUMERATED()
79 if (BIO_write(bp, "\\\n", 2) != 2) in i2a_ASN1_ENUMERATED()
85 if (BIO_write(bp, buf, 2) != 2) in i2a_ASN1_ENUMERATED()
Df_string.c71 if (BIO_write(bp, "0", 1) != 1) in i2a_ASN1_STRING()
77 if (BIO_write(bp, "\\\n", 2) != 2) in i2a_ASN1_STRING()
83 if (BIO_write(bp, buf, 2) != 2) in i2a_ASN1_STRING()
Da_i2d_fp.c94 i = BIO_write(out, &(b[j]), n); in ASN1_i2d_bio()
135 i = BIO_write(out, &(b[j]), n); in ASN1_item_i2d_bio()
Da_object.c229 return (BIO_write(bp, "NULL", 4)); in i2a_ASN1_OBJECT()
238 return BIO_write(bp, "<INVALID>", 9); in i2a_ASN1_OBJECT()
239 BIO_write(bp, p, i); in i2a_ASN1_OBJECT()
/external/boringssl/src/crypto/x509v3/
Dv3_pku.c94 BIO_write(out, "Not Before: ", 12);
97 BIO_write(out, ", ", 2);
100 BIO_write(out, "Not After: ", 11);
Dv3_prn.c188 if (BIO_write(bp, "\n", 1) <= 0) in X509V3_extensions_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.c535 if ((BIO_write(bp, "-----BEGIN ", 11) != 11) || in PEM_write_bio()
536 (BIO_write(bp, name, nlen) != nlen) || in PEM_write_bio()
537 (BIO_write(bp, "-----\n", 6) != 6)) in PEM_write_bio()
542 if ((BIO_write(bp, header, i) != i) || (BIO_write(bp, "\n", 1) != 1)) in PEM_write_bio()
556 if ((outl) && (BIO_write(bp, (char *)buf, outl) != outl)) in PEM_write_bio()
563 if ((outl > 0) && (BIO_write(bp, (char *)buf, outl) != outl)) in PEM_write_bio()
568 if ((BIO_write(bp, "-----END ", 9) != 9) || in PEM_write_bio()
569 (BIO_write(bp, name, nlen) != nlen) || in PEM_write_bio()
570 (BIO_write(bp, "-----\n", 6) != 6)) in PEM_write_bio()
/external/boringssl/src/ssl/test/
Dpacketed_bio.cc88 int ret = BIO_write(bio->next_bio, header, sizeof(header)); in PacketedWrite()
95 ret = BIO_write(bio->next_bio, in, inl); in PacketedWrite()
148 ret = BIO_write(bio->next_bio, &kOpcodeTimeoutAck, 1); in PacketedRead()
Dasync_bio.cc51 return BIO_write(bio->next_bio, in, inl); in AsyncWrite()
65 int ret = BIO_write(bio->next_bio, in, inl); in AsyncWrite()
/external/boringssl/src/ssl/
Dssl_buffer.c267 int ret = BIO_write(ssl->wbio, buf->buf + buf->offset, buf->len); in tls_write_buffer_flush()
284 int ret = BIO_write(ssl->wbio, buf->buf + buf->offset, buf->len); in dtls_write_buffer_flush()
/external/boringssl/src/crypto/bn/
Dconvert.c519 if (a->neg && BIO_write(bp, "-", 1) != 1) { in BN_print()
523 if (BN_is_zero(a) && BIO_write(bp, "0", 1) != 1) { in BN_print()
532 if (BIO_write(bp, &hextable[v], 1) != 1) { in BN_print()
/external/webrtc/webrtc/base/
Dopensslidentity.cc199 BIO_write(temp_memory_bio, "\0", 1); in PrintCert()
341 BIO_write(bio, "\0", 1); in ToPEMString()
/external/boringssl/src/decrepit/bio/
Dbase64_bio.c341 i = BIO_write(b->next_bio, &(ctx->buf[ctx->buf_off]), n); in b64_write()
414 i = BIO_write(b->next_bio, &(ctx->buf[ctx->buf_off]), n); in b64_write()
/external/boringssl/src/include/openssl/
Dbio.h121 OPENSSL_EXPORT int BIO_write(BIO *bio, const void *data, int len);

12