Home
last modified time | relevance | path

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

1234

/external/rust/crates/quiche/deps/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()
/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.c76 if (BIO_write(bp, "\n", 1) <= 0 || in OPENSSL_DECLARE_ERROR_REASON()
85 if (BIO_write(bp, "\n", 1) != 1) { in OPENSSL_DECLARE_ERROR_REASON()
/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()
/external/rust/crates/quiche/deps/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()
/external/rust/crates/quiche/deps/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/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/rust/crates/quiche/deps/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);
/external/rust/crates/quiche/deps/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/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/rust/crates/quiche/deps/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/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()

1234