/openssl/test/ |
H A D | membio_test.c | 40 if (!TEST_int_eq(BIO_write(bio, msg1, sizeof(msg1)), sizeof(msg1))) in test_dgram() 42 if (!TEST_int_eq(BIO_write(bio, msg2, sizeof(msg2)), sizeof(msg2))) in test_dgram() 44 if (!TEST_int_eq(BIO_write(bio, msg3, sizeof(msg3)), sizeof(msg3))) in test_dgram() 46 if (!TEST_int_eq(BIO_write(bio, msg4, sizeof(msg4)), sizeof(msg4))) in test_dgram() 61 if (!TEST_int_eq(BIO_write(bio, msg1, sizeof(msg1)), sizeof(msg1))) in test_dgram() 63 if (!TEST_int_eq(BIO_write(bio, msg2, sizeof(msg2)), sizeof(msg2))) in test_dgram() 68 if (!TEST_int_eq(BIO_write(bio, msg3, sizeof(msg3)), sizeof(msg3))) in test_dgram() 80 if (!TEST_int_eq(BIO_write(bio, msg1, sizeof(msg1)), sizeof(msg1))) in test_dgram() 82 if (!TEST_int_eq(BIO_write(bio, msg2, sizeof(msg2)), sizeof(msg2))) in test_dgram() 96 if (!TEST_int_eq(BIO_write(bio, NULL, 0), 0) in test_dgram()
|
H A D | bio_base64_test.c | 67 if (BIO_write(mem, &c, 1) != 1) in memout() 72 if (BIO_write(mem, &c, 1) != 1) in memout() 105 return BIO_write(mem, encoded, elen) == elen; in encode() 145 if (pos > 0 && BIO_write(mem, &nl, 1) != 1) in encode() 165 if ((*prefix && (BIO_write(mem, prefix, preflen) != preflen in genb64() 166 || BIO_write(mem, &newline, 1) != 1)) in genb64() 168 || (*suffix && (BIO_write(mem, suffix, sufflen) != sufflen in genb64() 169 || BIO_write(mem, &newline, 1) != 1))) { in genb64() 242 BIO_write(bio, encoded, n1); in test_bio_base64_run() 253 BIO_write(bio, encoded + n1, elen - n1); in test_bio_base64_run()
|
H A D | bad_dtls_test.c | 218 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()
|
/openssl/crypto/asn1/ |
H A D | asn1_parse.c | 135 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() 187 if (BIO_write(bp, ":", 1) <= 0) in asn1_parse2() 227 if (BIO_write(bp, ":", 1) <= 0) in asn1_parse2() 267 if (BIO_write(bp, ":", 1) <= 0) in asn1_parse2() 270 if (BIO_write(bp, "-", 1) <= 0) in asn1_parse2() 293 if (BIO_write(bp, ":", 1) <= 0) in asn1_parse2() 296 if (BIO_write(bp, "-", 1) <= 0) in asn1_parse2() 315 if (BIO_write(bp, "\n", 1) <= 0) in asn1_parse2() [all …]
|
H A D | f_int.c | 25 if (BIO_write(bp, "-", 1) != 1) in i2a_ASN1_INTEGER() 31 if (BIO_write(bp, "00", 2) != 2) in i2a_ASN1_INTEGER() 37 if (BIO_write(bp, "\\\n", 2) != 2) in i2a_ASN1_INTEGER() 42 if (BIO_write(bp, buf, 2) != 2) in i2a_ASN1_INTEGER()
|
H A D | f_string.c | 25 if (BIO_write(bp, "0", 1) != 1) in i2a_ASN1_STRING() 31 if (BIO_write(bp, "\\\n", 2) != 2) in i2a_ASN1_STRING() 36 if (BIO_write(bp, buf, 2) != 2) in i2a_ASN1_STRING()
|
H A D | t_spki.c | 50 BIO_write(out, "\n ", 7); in NETSCAPE_SPKI_print() 54 BIO_write(out, "\n", 1); in NETSCAPE_SPKI_print()
|
H A D | a_print.c | 87 if (BIO_write(bp, buf, n) <= 0) in ASN1_STRING_print() 93 if (BIO_write(bp, buf, n) <= 0) in ASN1_STRING_print()
|
H A D | asn_mime.c | 168 BIO_write(out, ",", 1); in asn1_write_micalg() 539 BIO_write(out, linebuf, len); in SMIME_crlf_copy() 551 BIO_write(out, "\r\n", 2); in SMIME_crlf_copy() 554 BIO_write(out, linebuf, len); in SMIME_crlf_copy() 556 BIO_write(out, "\r\n", 2); in SMIME_crlf_copy() 560 BIO_write(out, "\r\n", 2); in SMIME_crlf_copy() 599 BIO_write(out, iobuf, len); in SMIME_text() 660 BIO_write(bpart, "\r\n", 2); in multi_split() 662 BIO_write(bpart, "\n", 1); in multi_split() 666 BIO_write(bpart, linebuf, len); in multi_split()
|
H A D | a_i2d_fp.c | 52 i = BIO_write(out, &(b[j]), n); in ASN1_i2d_bio() 97 i = BIO_write(out, &(b[j]), n); in ASN1_item_i2d_bio()
|
/openssl/crypto/x509/ |
H A D | v3_ist.c | 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()
|
H A D | t_acert.c | 57 if (BIO_write(bp, (char *)bs->data, bs->length) != bs->length) in print_attribute() 122 if (BIO_write(bp, "\n", 1) <= 0) in X509_ACERT_print_ex() 145 if (BIO_write(bp, "\n", 1) <= 0) in X509_ACERT_print_ex() 163 if (BIO_write(bp, "\n", 1) <= 0) in X509_ACERT_print_ex() 181 if (BIO_write(bp, "\n", 1) <= 0) in X509_ACERT_print_ex() 199 if (BIO_write(bp, "\n", 1) <= 0) in X509_ACERT_print_ex() 214 if (BIO_write(bp, "\n", 1) <= 0) in X509_ACERT_print_ex() 260 if (BIO_write(bp, "\n", 1) <= 0) in X509_ACERT_print_ex()
|
H A D | t_req.c | 56 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()
|
H A D | t_x509.c | 71 if (BIO_write(bp, "Certificate:\n", 13) <= 0) in X509_print_ex() 73 if (BIO_write(bp, " Data:\n", 10) <= 0) in X509_print_ex() 89 if (BIO_write(bp, " Serial Number:", 22) <= 0) in X509_print_ex() 112 if (BIO_write(bp, "\n", 1) <= 0) in X509_print_ex() 116 if (BIO_write(bp, " Validity\n", 17) <= 0) in X509_print_ex() 126 if (BIO_write(bp, "\n", 1) <= 0) in X509_print_ex() 135 if (BIO_write(bp, "\n", 1) <= 0) in X509_print_ex() 273 if (i > 0 && BIO_write(bp, "\n", 1) <= 0) in X509_signature_dump() 281 if (BIO_write(bp, "\n", 1) != 1) in X509_signature_dump() 309 if (BIO_write(bp, "\n", 1) != 1) in X509_signature_print() [all …]
|
H A D | v3_pku.c | 42 BIO_write(out, "Not Before: ", 12); 45 BIO_write(out, ", ", 2); 48 BIO_write(out, "Not After: ", 11);
|
/openssl/fuzz/ |
H A D | pem.c | 34 OPENSSL_assert((size_t)BIO_write(in, buf + 1, len - 1) == len - 1); in FuzzerTestOneInput() 37 BIO_write(in, name, strlen(name)); in FuzzerTestOneInput() 38 BIO_write(in, header, strlen(header)); in FuzzerTestOneInput() 39 BIO_write(in, data, outlen); in FuzzerTestOneInput()
|
H A D | dtlsserver.c | 629 …OPENSSL_assert((size_t)BIO_write(bio_buf, RSAPrivateKeyPEM, sizeof(RSAPrivateKeyPEM)) == sizeof(RS… in FuzzerTestOneInput() 642 …OPENSSL_assert((size_t)BIO_write(bio_buf, RSACertificatePEM, sizeof(RSACertificatePEM)) == sizeof(… in FuzzerTestOneInput() 654 …OPENSSL_assert((size_t)BIO_write(bio_buf, ECDSAPrivateKeyPEM, sizeof(ECDSAPrivateKeyPEM)) == sizeo… in FuzzerTestOneInput() 666 …OPENSSL_assert((size_t)BIO_write(bio_buf, ECDSACertPEM, sizeof(ECDSACertPEM)) == sizeof(ECDSACertP… in FuzzerTestOneInput() 678 …OPENSSL_assert((size_t)BIO_write(bio_buf, DSAPrivateKeyPEM, sizeof(DSAPrivateKeyPEM)) == sizeof(DS… in FuzzerTestOneInput() 690 … OPENSSL_assert((size_t)BIO_write(bio_buf, DSACertPEM, sizeof(DSACertPEM)) == sizeof(DSACertPEM)); in FuzzerTestOneInput() 705 OPENSSL_assert((size_t)BIO_write(in, buf, len) == len); in FuzzerTestOneInput()
|
H A D | server.c | 572 …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()
|
/openssl/crypto/ts/ |
H A D | ts_rsp_print.c | 138 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()
|
H A D | ts_lib.c | 29 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()
|
/openssl/crypto/bn/ |
H A D | bn_print.c | 36 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()
|
/openssl/crypto/ocsp/ |
H A D | ocsp_prn.c | 98 if (BIO_write(bp, "OCSP Request Data:\n", 19) <= 0) in OCSP_REQUEST_print() 104 if (BIO_write(bp, "\n Requestor Name: ", 21) <= 0) in OCSP_REQUEST_print() 108 if (BIO_write(bp, "\n Requestor List:\n", 21) <= 0) in OCSP_REQUEST_print() 224 if (BIO_write(bp, "\n", 1) <= 0) in OCSP_RESPONSE_print() 230 if (BIO_write(bp, "\n", 1) <= 0) in OCSP_RESPONSE_print()
|
H A D | v3_ocsp.c | 119 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()
|
/openssl/crypto/pem/ |
H A D | pem_lib.c | 627 if ((BIO_write(bp, "-----BEGIN ", 11) != 11) || in PEM_write_bio() 628 (BIO_write(bp, name, nlen) != nlen) || in PEM_write_bio() 629 (BIO_write(bp, "-----\n", 6) != 6)) { in PEM_write_bio() 636 if ((BIO_write(bp, header, i) != i) || (BIO_write(bp, "\n", 1) != 1)) { in PEM_write_bio() 653 if ((outl) && (BIO_write(bp, (char *)buf, outl) != outl)) { in PEM_write_bio() 662 if ((outl > 0) && (BIO_write(bp, (char *)buf, outl) != outl)) { in PEM_write_bio() 666 if ((BIO_write(bp, "-----END ", 9) != 9) || in PEM_write_bio() 667 (BIO_write(bp, name, nlen) != nlen) || in PEM_write_bio() 668 (BIO_write(bp, "-----\n", 6) != 6)) { in PEM_write_bio()
|
/openssl/crypto/ec/ |
H A D | eck_prn.c | 237 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()
|