Home
last modified time | relevance | path

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

12345

/third_party/openssl/crypto/asn1/
Dasn1_parse.c135 if (BIO_write(bp, "\n", 1) <= 0) in asn1_parse2()
168 if (BIO_write(bp, "\n", 1) <= 0) in asn1_parse2()
179 if (BIO_write(bp, ":", 1) <= 0) in asn1_parse2()
181 if ((len > 0) && BIO_write(bp, (const char *)p, (int)len) in asn1_parse2()
187 if (BIO_write(bp, ":", 1) <= 0) in asn1_parse2()
227 if (BIO_write(bp, ":", 1) <= 0) in asn1_parse2()
229 if (BIO_write(bp, (const char *)opp, os->length) <= 0) in asn1_parse2()
236 if (BIO_write(bp, "[HEX DUMP]:", 11) <= 0) in asn1_parse2()
246 if (BIO_write(bp, "\n", 1) <= 0) in asn1_parse2()
267 if (BIO_write(bp, ":", 1) <= 0) in asn1_parse2()
[all …]
Df_int.c26 if (BIO_write(bp, "-", 1) != 1) in i2a_ASN1_INTEGER()
32 if (BIO_write(bp, "00", 2) != 2) in i2a_ASN1_INTEGER()
38 if (BIO_write(bp, "\\\n", 2) != 2) in i2a_ASN1_INTEGER()
44 if (BIO_write(bp, buf, 2) != 2) in i2a_ASN1_INTEGER()
Df_string.c26 if (BIO_write(bp, "0", 1) != 1) in i2a_ASN1_STRING()
32 if (BIO_write(bp, "\\\n", 2) != 2) in i2a_ASN1_STRING()
38 if (BIO_write(bp, buf, 2) != 2) in i2a_ASN1_STRING()
Dasn_mime.c168 BIO_write(out, ",", 1); in asn1_write_micalg()
530 BIO_write(out, linebuf, len); in SMIME_crlf_copy()
542 BIO_write(out, "\r\n", 2); in SMIME_crlf_copy()
545 BIO_write(out, linebuf, len); in SMIME_crlf_copy()
547 BIO_write(out, "\r\n", 2); in SMIME_crlf_copy()
551 BIO_write(out, "\r\n", 2); in SMIME_crlf_copy()
587 BIO_write(out, iobuf, len); in SMIME_text()
648 BIO_write(bpart, "\r\n", 2); in multi_split()
650 BIO_write(bpart, "\n", 1); in multi_split()
654 BIO_write(bpart, linebuf, len); in multi_split()
Dt_spki.c50 BIO_write(out, "\n ", 7); in NETSCAPE_SPKI_print()
54 BIO_write(out, "\n", 1); in NETSCAPE_SPKI_print()
Da_print.c87 if (BIO_write(bp, buf, n) <= 0) in ASN1_STRING_print()
93 if (BIO_write(bp, buf, n) <= 0) in ASN1_STRING_print()
Da_i2d_fp.c54 i = BIO_write(out, &(b[j]), n); in ASN1_i2d_bio()
99 i = BIO_write(out, &(b[j]), n); in ASN1_item_i2d_bio()
Da_object.c192 return BIO_write(bp, "NULL", 4); in i2a_ASN1_OBJECT()
206 i = BIO_write(bp, "<INVALID>", 9); in i2a_ASN1_OBJECT()
210 BIO_write(bp, p, i); in i2a_ASN1_OBJECT()
/third_party/openssl/crypto/x509/
Dv3_ist.c104 BIO_write(out, "\n", 1); in i2r_issuer_sign_tool()
107 BIO_write(out, ist->signTool->data, ist->signTool->length); in i2r_issuer_sign_tool()
112 BIO_write(out, "\n", 1); in i2r_issuer_sign_tool()
115 BIO_write(out, ist->cATool->data, ist->cATool->length); in i2r_issuer_sign_tool()
120 BIO_write(out, "\n", 1); in i2r_issuer_sign_tool()
123 BIO_write(out, ist->signToolCert->data, ist->signToolCert->length); in i2r_issuer_sign_tool()
128 BIO_write(out, "\n", 1); in i2r_issuer_sign_tool()
131 BIO_write(out, ist->cAToolCert->data, ist->cAToolCert->length); in i2r_issuer_sign_tool()
Dt_x509.c69 if (BIO_write(bp, "Certificate:\n", 13) <= 0) in X509_print_ex()
71 if (BIO_write(bp, " Data:\n", 10) <= 0) in X509_print_ex()
87 if (BIO_write(bp, " Serial Number:", 22) <= 0) in X509_print_ex()
137 if (BIO_write(bp, "\n", 1) <= 0) in X509_print_ex()
141 if (BIO_write(bp, " Validity\n", 17) <= 0) in X509_print_ex()
143 if (BIO_write(bp, " Not Before: ", 24) <= 0) in X509_print_ex()
147 if (BIO_write(bp, "\n Not After : ", 25) <= 0) in X509_print_ex()
151 if (BIO_write(bp, "\n", 1) <= 0) in X509_print_ex()
160 if (BIO_write(bp, "\n", 1) <= 0) in X509_print_ex()
167 if (BIO_write(bp, " Subject Public Key Info:\n", 33) <= 0) in X509_print_ex()
[all …]
Dt_req.c56 if (BIO_write(bp, "Certificate Request:\n", 21) <= 0) in X509_REQ_print_ex()
58 if (BIO_write(bp, " Data:\n", 10) <= 0) in X509_REQ_print_ex()
77 if (BIO_write(bp, "\n", 1) <= 0) in X509_REQ_print_ex()
83 if (BIO_write(bp, " Subject Public Key Info:\n", 33) <= 0) in X509_REQ_print_ex()
140 if (BIO_write(bp, " ", 1) != 1) in X509_REQ_print_ex()
150 if (BIO_write(bp, (char *)bs->data, bs->length) in X509_REQ_print_ex()
190 if (BIO_write(bp, "\n", 1) <= 0) in X509_REQ_print_ex()
Dv3_pku.c42 BIO_write(out, "Not Before: ", 12);
45 BIO_write(out, ", ", 2);
48 BIO_write(out, "Not After: ", 11);
/third_party/openssl/test/
Dbad_dtls_test.c218 BIO_write(rbio, hello_verify, sizeof(hello_verify)); in send_hello_verify()
267 BIO_write(rbio, server_hello, sizeof(server_hello)); in send_server_hello()
268 BIO_write(rbio, change_cipher_spec, sizeof(change_cipher_spec)); in send_server_hello()
342 BIO_write(rbio, &type, 1); in send_record()
343 BIO_write(rbio, ver, 2); in send_record()
344 BIO_write(rbio, epoch, 2); in send_record()
345 BIO_write(rbio, seq, 6); in send_record()
348 BIO_write(rbio, lenbytes, 2); in send_record()
350 BIO_write(rbio, iv, sizeof(iv)); in send_record()
351 BIO_write(rbio, enc, len); in send_record()
/third_party/openssl/crypto/ts/
Dts_rsp_print.c138 BIO_write(bio, "\n", 1); in TS_TST_INFO_print_bio()
142 BIO_write(bio, "\n", 1); in TS_TST_INFO_print_bio()
149 BIO_write(bio, "\n", 1); in TS_TST_INFO_print_bio()
158 BIO_write(bio, "\n", 1); in TS_TST_INFO_print_bio()
169 BIO_write(bio, "\n", 1); in TS_TST_INFO_print_bio()
Dts_lib.c29 result = BIO_write(bio, "0x", 2) > 0; in TS_ASN1_INTEGER_print_bio()
30 result = result && BIO_write(bio, hex, strlen(hex)) > 0; in TS_ASN1_INTEGER_print_bio()
67 BIO_write(bio, "\n", 1); in TS_ext_print_bio()
/third_party/openssl/fuzz/
Dserver.c572 …OPENSSL_assert((size_t)BIO_write(bio_buf, ECDSAPrivateKeyPEM, sizeof(ECDSAPrivateKeyPEM)) == sizeo… in FuzzerTestOneInput()
584 …OPENSSL_assert((size_t)BIO_write(bio_buf, ECDSACertPEM, sizeof(ECDSACertPEM)) == sizeof(ECDSACertP… in FuzzerTestOneInput()
596 …OPENSSL_assert((size_t)BIO_write(bio_buf, DSAPrivateKeyPEM, sizeof(DSAPrivateKeyPEM)) == sizeof(DS… in FuzzerTestOneInput()
608 … OPENSSL_assert((size_t)BIO_write(bio_buf, DSACertPEM, sizeof(DSACertPEM)) == sizeof(DSACertPEM)); in FuzzerTestOneInput()
626 OPENSSL_assert((size_t)BIO_write(in, buf, len) == len); in FuzzerTestOneInput()
/third_party/openssl/crypto/bn/
Dbn_print.c36 if ((a->neg) && BIO_write(bp, "-", 1) != 1) in BN_print()
38 if (BN_is_zero(a) && BIO_write(bp, "0", 1) != 1) in BN_print()
45 if (BIO_write(bp, &Hex[v], 1) != 1) in BN_print()
/third_party/openssl/crypto/ocsp/
Docsp_prn.c96 if (BIO_write(bp, "OCSP Request Data:\n", 19) <= 0) in OCSP_REQUEST_print()
102 if (BIO_write(bp, "\n Requestor Name: ", 21) <= 0) in OCSP_REQUEST_print()
106 if (BIO_write(bp, "\n Requestor List:\n", 21) <= 0) in OCSP_REQUEST_print()
222 if (BIO_write(bp, "\n", 1) <= 0) in OCSP_RESPONSE_print()
228 if (BIO_write(bp, "\n", 1) <= 0) in OCSP_RESPONSE_print()
Dv3_ocsp.c119 if (BIO_write(bp, "\n", 1) <= 0) in i2r_ocsp_crlid()
127 if (BIO_write(bp, "\n", 1) <= 0) in i2r_ocsp_crlid()
135 if (BIO_write(bp, "\n", 1) <= 0) in i2r_ocsp_crlid()
/third_party/node/src/
Dnode_crypto_common.cc501 BIO_write(out.get(), ", ", 2); in SafeX509ExtPrint()
506 BIO_write(out.get(), "DNS:", 4); in SafeX509ExtPrint()
507 BIO_write(out.get(), name->data, name->length); in SafeX509ExtPrint()
571 BIO_write(out.get(), name, length); in PrintAltName()
576 BIO_write(out.get(), "\"", 1); in PrintAltName()
583 BIO_write(out.get(), "\\\\", 2); in PrintAltName()
585 BIO_write(out.get(), "\\\"", 2); in PrintAltName()
593 BIO_write(out.get(), &c, 1); in PrintAltName()
599 BIO_write(out.get(), u, sizeof(u)); in PrintAltName()
602 BIO_write(out.get(), "\"", 1); in PrintAltName()
[all …]
/third_party/openssl/crypto/pem/
Dpem_lib.c625 if ((BIO_write(bp, "-----BEGIN ", 11) != 11) || in PEM_write_bio()
626 (BIO_write(bp, name, nlen) != nlen) || in PEM_write_bio()
627 (BIO_write(bp, "-----\n", 6) != 6)) in PEM_write_bio()
632 if ((BIO_write(bp, header, i) != i) || (BIO_write(bp, "\n", 1) != 1)) in PEM_write_bio()
647 if ((outl) && (BIO_write(bp, (char *)buf, outl) != outl)) in PEM_write_bio()
654 if ((outl > 0) && (BIO_write(bp, (char *)buf, outl) != outl)) in PEM_write_bio()
656 if ((BIO_write(bp, "-----END ", 9) != 9) || in PEM_write_bio()
657 (BIO_write(bp, name, nlen) != nlen) || in PEM_write_bio()
658 (BIO_write(bp, "-----\n", 6) != 6)) in PEM_write_bio()
/third_party/openssl/crypto/ec/
Deck_prn.c237 if (BIO_write(fp, str, off) <= 0) in print_bin()
250 if (BIO_write(fp, str, off + 1 + 4) <= 0) in print_bin()
257 if (BIO_write(fp, "\n", 1) <= 0) in print_bin()
/third_party/openssl/crypto/bio/
Dbf_lbuf.c156 i = BIO_write(b->next_bio, ctx->obuf, ctx->obuf_len); in linebuffer_write()
176 i = BIO_write(b->next_bio, in, p - in); in linebuffer_write()
271 r = BIO_write(b->next_bio, ctx->obuf, ctx->obuf_len); in linebuffer_ctrl()
/third_party/openssl/doc/man3/
DBIO_read.pod5 BIO_read_ex, BIO_write_ex, BIO_read, BIO_write,
19 int BIO_write(BIO *b, const void *data, int dlen);
53 BIO_write() attempts to write I<len> bytes from I<buf> to BIO I<b>.
64 BIO_write() returns -2 if the "write" operation is not implemented by the BIO
/third_party/openssl/crypto/err/
Derr_prn.c155 if (BIO_write(bio, "", 1) <= 0) in ERR_add_error_mem_bio()
168 return BIO_write((BIO *)bp, str, len); in print_bio()

12345