Home
last modified time | relevance | path

Searched refs:bio (Results 76 – 100 of 196) sorted by relevance

12345678

/openssl/crypto/cmp/
H A Dcmp_vfy.c30 BIO *bio; in verify_signature() local
36 bio = BIO_new(BIO_s_mem()); /* may be NULL */ in verify_signature()
37 if (bio == NULL) in verify_signature()
64 res = ossl_x509_print_ex_brief(bio, cert, X509_FLAG_NO_EXTENSIONS); in verify_signature()
67 ERR_add_error_mem_bio("\n", bio); in verify_signature()
72 BIO_free(bio); in verify_signature()
/openssl/doc/man3/
H A DBIO_should_retry.pod12 #include <openssl/bio.h>
20 BIO *BIO_get_retry_BIO(BIO *bio, int *reason);
21 int BIO_get_retry_reason(BIO *bio);
22 void BIO_set_retry_reason(BIO *bio, int reason);
131 L<bio(7)>
H A DOSSL_DECODER_from_bio.pod50 To decode an RSA key encoded with PEM from a bio:
68 if (OSSL_DECODER_from_bio(dctx, bio)) {
69 /* pkey is created with the decoded data from the bio */
H A DOSSL_CMP_MSG_get0_header.pod25 OSSL_CMP_MSG *d2i_OSSL_CMP_MSG_bio(BIO *bio, OSSL_CMP_MSG **msg);
26 int i2d_OSSL_CMP_MSG_bio(BIO *bio, const OSSL_CMP_MSG *msg);
96 d2i_OSSL_CMP_MSG_bio() parses an ASN.1-encoded OSSL_CMP_MSG from the BIO I<bio>.
100 to BIO I<bio>.
H A DOSSL_ENCODER_to_bio.pod60 To encode a pkey as PKCS#8 with PEM format into a bio:
77 if (OSSL_ENCODER_to_bio(ectx, bio)) {
78 /* pkey was successfully encoded into the bio */
H A DBIO_find_type.pod9 #include <openssl/bio.h>
27 For a list of the specific types, see the F<< <openssl/bio.h> >> header file.
H A DBIO_f_readbuffer.pod10 #include <openssl/bio.h>
46 L<bio(7)>,
H A DBIO_f_prefix.pod10 #include <openssl/bio.h>
59 L<bio(7)>
H A DBIO_get_data.pod10 #include <openssl/bio.h>
50 L<bio(7)>, L<BIO_meth_new(3)>
H A DSMIME_read_PKCS7.pod11 PKCS7 *SMIME_read_PKCS7_ex(BIO *bio, BIO **bcont, PKCS7 **p7);
21 a memory bio which is written to B<*bcont>, otherwise
H A DPEM_X509_INFO_read_bio_ex.pod18 STACK_OF(X509_INFO) *PEM_X509_INFO_read_bio_ex(BIO *bio,
34 PEM_X509_INFO_read_bio_ex() loads the B<X509_INFO> objects using a bio I<bp>.
H A DBIO_set_callback.pod12 #include <openssl/bio.h>
24 long BIO_debug_callback_ex(BIO *bio, int oper, const char *argp, size_t len,
35 long BIO_debug_callback(BIO *bio, int cmd, const char *argp, int argi,
238 in crypto/bio/bio_cb.c
/openssl/include/openssl/
H A Dcore_dispatch.h164 OSSL_CORE_MAKE_FUNC(int, BIO_read_ex, (OSSL_CORE_BIO *bio, void *data,
166 OSSL_CORE_MAKE_FUNC(int, BIO_write_ex, (OSSL_CORE_BIO *bio, const void *data,
168 OSSL_CORE_MAKE_FUNC(int, BIO_gets, (OSSL_CORE_BIO *bio, char *buf, int size))
169 OSSL_CORE_MAKE_FUNC(int, BIO_puts, (OSSL_CORE_BIO *bio, const char *str))
170 OSSL_CORE_MAKE_FUNC(int, BIO_up_ref, (OSSL_CORE_BIO *bio))
171 OSSL_CORE_MAKE_FUNC(int, BIO_free, (OSSL_CORE_BIO *bio))
172 OSSL_CORE_MAKE_FUNC(int, BIO_vprintf, (OSSL_CORE_BIO *bio, const char *format,
176 OSSL_CORE_MAKE_FUNC(int, BIO_ctrl, (OSSL_CORE_BIO *bio,
H A Dcmp_util.h47 int OSSL_CMP_print_to_bio(BIO *bio, const char *component, const char *file,
/openssl/apps/
H A Denc.c37 BIO *bio; member
163 dec.bio = bio_out; in enc_main()
679 BIO_printf(dec->bio, "-%-25s", name->name); in show_ciphers()
681 BIO_printf(dec->bio, "\n"); in show_ciphers()
684 BIO_printf(dec->bio, " "); in show_ciphers()
H A Ddgst.c34 BIO *bio; member
133 dec.bio = bio_out; in dgst_main()
492 BIO_printf(dec->bio, "-%-25s", name->name); in show_digests()
494 BIO_printf(dec->bio, "\n"); in show_digests()
497 BIO_printf(dec->bio, " "); in show_digests()
H A Dstoreutl.c338 static int indent_printf(int indent, BIO *bio, const char *format, ...) in indent_printf() argument
345 ret = BIO_printf(bio, "%*s", indent, "") + BIO_vprintf(bio, format, args); in indent_printf()
/openssl/
H A Dbuild.info21 include/openssl/bio.h \
47 GENERATE[include/openssl/bio.h]=include/openssl/bio.h.in
/openssl/crypto/bio/
H A Dbio_print.c884 int BIO_printf(BIO *bio, const char *format, ...) in BIO_printf() argument
891 ret = BIO_vprintf(bio, format, args); in BIO_printf()
897 int BIO_vprintf(BIO *bio, const char *format, va_list args) in BIO_vprintf() argument
916 ret = BIO_write(bio, dynbuf, (int)retlen); in BIO_vprintf()
919 ret = BIO_write(bio, hugebuf, (int)retlen); in BIO_vprintf()
/openssl/ssl/
H A Dt1_enc.c171 BIO *bio; in tls1_change_cipher_state() local
395 bio = s->wbio; in tls1_change_cipher_state()
397 bio = s->rbio; in tls1_change_cipher_state()
399 if (!ossl_assert(bio != NULL)) { in tls1_change_cipher_state()
406 if (BIO_flush(bio) <= 0) in tls1_change_cipher_state()
429 if (BIO_set_ktls(bio, &crypto_info, which & SSL3_CC_WRITE)) { in tls1_change_cipher_state()
H A Dtls13_enc.c470 BIO *bio; in tls13_change_cipher_state() local
748 bio = s->wbio; in tls13_change_cipher_state()
750 bio = s->rbio; in tls13_change_cipher_state()
752 if (!ossl_assert(bio != NULL)) { in tls13_change_cipher_state()
759 if (BIO_flush(bio) <= 0) in tls13_change_cipher_state()
776 if (BIO_set_ktls(bio, &crypto_info, which & SSL3_CC_WRITE)) { in tls13_change_cipher_state()
/openssl/test/
H A Dservername_test.c41 static int get_sni_from_client_hello(BIO *bio, char **sni) in get_sni_from_client_hello() argument
55 if (!TEST_long_ge(len = BIO_get_mem_data(bio, (char **)&data), 0) in get_sni_from_client_hello()
H A Dhttp_test.c106 static long http_bio_cb_ex(BIO *bio, int oper, const char *argp, size_t len, in http_bio_cb_ex() argument
109 server_args *args = (server_args *)BIO_get_callback_arg(bio); in http_bio_cb_ex()
112 ret = mock_http_server(bio, args->out, args->version, args->keep_alive, in http_bio_cb_ex()
/openssl/crypto/pem/
H A Dpem_local.h148 IMPLEMENT_PEM_provided_write_to(name, TYPE, type, str, asn1, BIO, bio, write_bio)
150 IMPLEMENT_PEM_provided_write_cb_to(name, TYPE, type, str, asn1, BIO, bio, write_bio)
/openssl/crypto/x509/
H A Dx_all.c76 static ASN1_VALUE *simple_get_asn1(const char *url, BIO *bio, BIO *rbio, in simple_get_asn1() argument
80 bio, rbio, NULL /* cb */ , NULL /* arg */, in simple_get_asn1()
90 X509 *X509_load_http(const char *url, BIO *bio, BIO *rbio, int timeout) in X509_load_http() argument
92 return (X509 *)simple_get_asn1(url, bio, rbio, timeout, in X509_load_http()
126 X509_CRL *X509_CRL_load_http(const char *url, BIO *bio, BIO *rbio, int timeout) in X509_CRL_load_http() argument
128 return (X509_CRL *)simple_get_asn1(url, bio, rbio, timeout, in X509_CRL_load_http()

Completed in 71 milliseconds

12345678