Home
last modified time | relevance | path

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

12

/external/boringssl/src/crypto/x509/
Dt_x509.c118 if (BIO_write(bp, "Certificate:\n", 13) <= 0) in X509_print_ex()
120 if (BIO_write(bp, " Data:\n", 10) <= 0) in X509_print_ex()
130 if (BIO_write(bp, " Serial Number:", 22) <= 0) in X509_print_ex()
169 if (BIO_write(bp, "\n", 1) <= 0) in X509_print_ex()
173 if (BIO_write(bp, " Validity\n", 17) <= 0) in X509_print_ex()
175 if (BIO_write(bp, " Not Before: ", 24) <= 0) in X509_print_ex()
179 if (BIO_write(bp, "\n Not After : ", 25) <= 0) in X509_print_ex()
183 if (BIO_write(bp, "\n", 1) <= 0) in X509_print_ex()
192 if (BIO_write(bp, "\n", 1) <= 0) in X509_print_ex()
196 if (BIO_write(bp, " Subject Public Key Info:\n", 33) <= 0) in X509_print_ex()
[all …]
Dt_req.c98 if (BIO_write(bio, "Certificate Request:\n", 21) <= 0 || in X509_REQ_print_ex()
99 BIO_write(bio, " Data:\n", 10) <= 0) { in X509_REQ_print_ex()
112 BIO_write(bio, "\n", 1) <= 0) { in X509_REQ_print_ex()
117 if (BIO_write(bio, " Subject Public Key Info:\n", 33) <= 0 || in X509_REQ_print_ex()
176 if (BIO_write(bio, " ", 1) != 1) { in X509_REQ_print_ex()
189 if (BIO_write(bio, (char *)bs->data, bs->length) != bs->length) { in X509_REQ_print_ex()
222 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.cc115 BIO_write(bio.get(), kTestMessage, sizeof(kTestMessage))); in TEST()
243 EXPECT_EQ(5, BIO_write(bio1, "12345", 5)); in TEST_P()
250 EXPECT_EQ(10, BIO_write(bio1, "1234567890___", 13)); in TEST_P()
252 EXPECT_EQ(-1, BIO_write(bio1, "z", 1)); in TEST_P()
269 EXPECT_EQ(5, BIO_write(bio1, "12345", 5)); in TEST_P()
271 EXPECT_EQ(5, BIO_write(bio1, "67890___", 8)); in TEST_P()
285 EXPECT_EQ(8, BIO_write(bio1, "abcdefgh", 8)); in TEST_P()
290 EXPECT_EQ(5, BIO_write(bio1, "ijklm___", 8)); in TEST_P()
297 EXPECT_EQ(5, BIO_write(bio1, "12345", 5)); in TEST_P()
298 EXPECT_EQ(5, BIO_write(bio2, "67890", 5)); in TEST_P()
[all …]
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()
Dbio.c162 int BIO_write(BIO *bio, const void *in, int inl) { in BIO_write() function
184 int ret = BIO_write(bio, data_u8, len > INT_MAX ? INT_MAX : (int)len); in BIO_write_all()
195 return BIO_write(bio, in, strlen(in)); in BIO_puts()
419 return BIO_write((BIO *)bio, str, len); in print_bio()
Dprintf.c109 ret = BIO_write(bio, out, out_len); in BIO_printf()
/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_object.c112 return (BIO_write(bp, "NULL", 4)); in i2a_ASN1_OBJECT()
121 return BIO_write(bp, "<INVALID>", 9); in i2a_ASN1_OBJECT()
122 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/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.c536 if ((BIO_write(bp, "-----BEGIN ", 11) != 11) || in PEM_write_bio()
537 (BIO_write(bp, name, nlen) != nlen) || in PEM_write_bio()
538 (BIO_write(bp, "-----\n", 6) != 6)) in PEM_write_bio()
543 if ((BIO_write(bp, header, i) != i) || (BIO_write(bp, "\n", 1) != 1)) in PEM_write_bio()
557 if ((outl) && (BIO_write(bp, (char *)buf, outl) != outl)) in PEM_write_bio()
564 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/crypto/bn_extra/
Dconvert.c343 if (a->neg && BIO_write(bp, "-", 1) != 1) { in BN_print()
347 if (BN_is_zero(a) && BIO_write(bp, "0", 1) != 1) { in BN_print()
356 if (BIO_write(bp, &hextable[v], 1) != 1) { in BN_print()
/external/boringssl/src/ssl/
Dssl_buffer.cc244 int ret = BIO_write(ssl->wbio.get(), buf->data(), buf->size()); in tls_write_buffer_flush()
261 int ret = BIO_write(ssl->wbio.get(), buf->data(), buf->size()); in dtls_write_buffer_flush()
/external/iperf3/src/
Diperf_auth.c115 BIO_write(bio, buffer, length); in Base64Encode()
173 BIO_write(bio, key, key_len); in load_pubkey_from_base64()
/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/honggfuzz/examples/openssl/
Dclient.c542 BIO_write(in, buf, len); in LLVMFuzzerTestOneInput()
Dserver.c580 BIO_write(in, buf, len); in LLVMFuzzerTestOneInput()

12