/freebsd-13-stable/crypto/openssl/include/internal/ |
H A D | bio.h | 18 int (*bwrite) (BIO *, const char *, size_t, size_t *); 19 int (*bwrite_old) (BIO *, const char *, int); 20 int (*bread) (BIO *, char *, size_t, size_t *); 21 int (*bread_old) (BIO *, char *, int); 22 int (*bputs) (BIO *, const char *); 23 int (*bgets) (BIO *, char *, int); 24 long (*ctrl) (BIO *, int, long, void *); 25 int (*create) (BIO *); 26 int (*destroy) (BIO *); 27 long (*callback_ctrl) (BIO *, in [all...] |
/freebsd-13-stable/crypto/openssl/crypto/bio/ |
H A D | bss_null.c | 15 static int null_write(BIO *h, const char *buf, int num); 16 static int null_read(BIO *h, char *buf, int size); 17 static int null_puts(BIO *h, const char *str); 18 static int null_gets(BIO *h, char *str, int size); 19 static long null_ctrl(BIO *h, int cmd, long arg1, void *arg2); 42 static int null_read(BIO *b, char *out, int outl) 47 static int null_write(BIO *b, const char *in, int inl) 52 static long null_ctrl(BIO *b, int cmd, long num, void *ptr) 77 static int null_gets(BIO *bp, char *buf, int size) 82 static int null_puts(BIO *b [all...] |
H A D | bio_meth.c | 58 int (*BIO_meth_get_write(const BIO_METHOD *biom)) (BIO *, const char *, int) 63 int (*BIO_meth_get_write_ex(const BIO_METHOD *biom)) (BIO *, const char *, size_t, 70 int bwrite_conv(BIO *bio, const char *data, size_t datal, size_t *written) 90 int (*bwrite) (BIO *, const char *, int)) 98 int (*bwrite) (BIO *, const char *, size_t, size_t *)) 105 int (*BIO_meth_get_read(const BIO_METHOD *biom)) (BIO *, char *, int) 110 int (*BIO_meth_get_read_ex(const BIO_METHOD *biom)) (BIO *, char *, size_t, size_t *) 116 int bread_conv(BIO *bio, char *data, size_t datal, size_t *readbytes) 136 int (*bread) (BIO *, char *, int)) 144 int (*bread) (BIO *, cha [all...] |
H A D | bf_null.c | 19 static int nullf_write(BIO *h, const char *buf, int num); 20 static int nullf_read(BIO *h, char *buf, int size); 21 static int nullf_puts(BIO *h, const char *str); 22 static int nullf_gets(BIO *h, char *str, int size); 23 static long nullf_ctrl(BIO *h, int cmd, long arg1, void *arg2); 24 static long nullf_callback_ctrl(BIO *h, int cmd, BIO_info_cb *fp); 47 static int nullf_read(BIO *b, char *out, int outl) 61 static int nullf_write(BIO *b, const char *in, int inl) 75 static long nullf_ctrl(BIO *b, int cmd, long num, void *ptr) 96 static long nullf_callback_ctrl(BIO * [all...] |
H A D | bss_fd.c | 19 BIO *BIO_new_fd(int fd, int close_flag) 47 * another. Neither libcrypto or libssl use this BIO meaning that 51 static int fd_write(BIO *h, const char *buf, int num); 52 static int fd_read(BIO *h, char *buf, int size); 53 static int fd_puts(BIO *h, const char *str); 54 static int fd_gets(BIO *h, char *buf, int size); 55 static long fd_ctrl(BIO *h, int cmd, long arg1, void *arg2); 56 static int fd_new(BIO *h); 57 static int fd_free(BIO *data); 82 BIO *BIO_new_f [all...] |
H A D | bio_lib.c | 31 static long bio_call_callback(BIO *b, int oper, const char *argp, size_t len, 71 BIO *BIO_new(const BIO_METHOD *method) 73 BIO *bio = OPENSSL_zalloc(sizeof(*bio)); 110 int BIO_free(BIO *a) 120 REF_PRINT_COUNT("BIO", a); 143 void BIO_set_data(BIO *a, void *ptr) 148 void *BIO_get_data(BIO *a) 153 void BIO_set_init(BIO *a, int init) 158 int BIO_get_init(BIO *a) 163 void BIO_set_shutdown(BIO * [all...] |
H A D | bf_nbio.c | 20 static int nbiof_write(BIO *h, const char *buf, int num); 21 static int nbiof_read(BIO *h, char *buf, int size); 22 static int nbiof_puts(BIO *h, const char *str); 23 static int nbiof_gets(BIO *h, char *str, int size); 24 static long nbiof_ctrl(BIO *h, int cmd, long arg1, void *arg2); 25 static int nbiof_new(BIO *h); 26 static int nbiof_free(BIO *data); 27 static long nbiof_callback_ctrl(BIO *h, int cmd, BIO_info_cb *fp); 56 static int nbiof_new(BIO *bi) 71 static int nbiof_free(BIO * [all...] |
H A D | bss_log.c | 14 * one-way BIO, it sends all stuff to syslogd (on system that commonly use 78 static int slg_write(BIO *h, const char *buf, int num); 79 static int slg_puts(BIO *h, const char *str); 80 static long slg_ctrl(BIO *h, int cmd, long arg1, void *arg2); 81 static int slg_new(BIO *h); 82 static int slg_free(BIO *data); 83 static void xopenlog(BIO *bp, char *name, int level); 84 static void xsyslog(BIO *bp, int priority, const char *string); 85 static void xcloselog(BIO *bp); 108 static int slg_new(BIO *b [all...] |
H A D | bss_sock.c | 30 static int sock_write(BIO *h, const char *buf, int num); 31 static int sock_read(BIO *h, char *buf, int size); 32 static int sock_puts(BIO *h, const char *str); 33 static long sock_ctrl(BIO *h, int cmd, long arg1, void *arg2); 34 static int sock_new(BIO *h); 35 static int sock_free(BIO *data); 60 BIO *BIO_new_socket(int fd, int close_flag) 62 BIO *ret; 82 static int sock_new(BIO *bi) 91 static int sock_free(BIO * [all...] |
H A D | bss_file.c | 35 static int file_write(BIO *h, const char *buf, int num); 36 static int file_read(BIO *h, char *buf, int size); 37 static int file_puts(BIO *h, const char *str); 38 static int file_gets(BIO *h, char *str, int size); 39 static long file_ctrl(BIO *h, int cmd, long arg1, void *arg2); 40 static int file_new(BIO *h); 41 static int file_free(BIO *data); 59 BIO *BIO_new_file(const char *filename, const char *mode) 61 BIO *ret; 92 BIO *BIO_new_f [all...] |
H A D | bss_mem.c | 15 static int mem_write(BIO *h, const char *buf, int num); 16 static int mem_read(BIO *h, char *buf, int size); 17 static int mem_puts(BIO *h, const char *str); 18 static int mem_gets(BIO *h, char *str, int size); 19 static long mem_ctrl(BIO *h, int cmd, long arg1, void *arg2); 20 static int mem_new(BIO *h); 21 static int secmem_new(BIO *h); 22 static int mem_free(BIO *data); 23 static int mem_buf_free(BIO *data); 24 static int mem_buf_sync(BIO * [all...] |
/freebsd-13-stable/crypto/openssl/crypto/cms/ |
H A D | cms_io.c | 35 CMS_ContentInfo *d2i_CMS_bio(BIO *bp, CMS_ContentInfo **cms) 40 int i2d_CMS_bio(BIO *bp, CMS_ContentInfo *cms) 47 BIO *BIO_new_CMS(BIO *out, CMS_ContentInfo *cms) 55 int i2d_CMS_bio_stream(BIO *out, CMS_ContentInfo *cms, BIO *in, int flags) 61 int PEM_write_bio_CMS_stream(BIO *out, CMS_ContentInfo *cms, BIO *in, 68 int SMIME_write_CMS(BIO *bio, CMS_ContentInfo *cms, BIO *dat [all...] |
/freebsd-13-stable/crypto/openssl/crypto/pkcs7/ |
H A D | bio_pk7.c | 21 BIO *BIO_new_PKCS7(BIO *out, PKCS7 *p7)
|
H A D | pk7_mime.c | 17 int i2d_PKCS7_bio_stream(BIO *out, PKCS7 *p7, BIO *in, int flags) 23 int PEM_write_bio_PKCS7_stream(BIO *out, PKCS7 *p7, BIO *in, int flags) 29 int SMIME_write_PKCS7(BIO *bio, PKCS7 *p7, BIO *data, int flags) 45 PKCS7 *SMIME_read_PKCS7(BIO *bio, BIO **bcont)
|
/freebsd-13-stable/crypto/openssl/include/openssl/ |
H A D | bio.h | 48 # define BIO_TYPE_NBIO_TEST (16|BIO_TYPE_FILTER)/* server proxy BIO */ 50 # define BIO_TYPE_BIO (19|BIO_TYPE_SOURCE_SINK)/* half a BIO pair */ 82 # define BIO_CTRL_DUP 12/* man - extra stuff for 'duped' BIO */ 90 /* dgram BIO stuff */ 91 # define BIO_CTRL_DGRAM_CONNECT 31/* BIO dgram special */ 145 * internal BIO see include/internal/bio.h: 198 void BIO_set_flags(BIO *b, int flags); 199 int BIO_test_flags(const BIO *b, int flags); 200 void BIO_clear_flags(BIO *b, int flags); 225 * condition. After this returns true, BIO *BIO_get_retry_BI [all...] |
H A D | cms.h | 79 BIO *CMS_dataInit(CMS_ContentInfo *cms, BIO *icont); 80 int CMS_dataFinal(CMS_ContentInfo *cms, BIO *bio); 90 CMS_ContentInfo *d2i_CMS_bio(BIO *bp, CMS_ContentInfo **cms); 91 int i2d_CMS_bio(BIO *bp, CMS_ContentInfo *cms); 93 BIO *BIO_new_CMS(BIO *out, CMS_ContentInfo *cms); 94 int i2d_CMS_bio_stream(BIO *out, CMS_ContentInfo *cms, BIO *in, int flags); 95 int PEM_write_bio_CMS_stream(BIO *ou [all...] |
/freebsd-13-stable/crypto/openssl/crypto/evp/ |
H A D | bio_md.c | 23 static int md_write(BIO *h, char const *buf, int num); 24 static int md_read(BIO *h, char *buf, int size); 25 static int md_gets(BIO *h, char *str, int size); 26 static long md_ctrl(BIO *h, int cmd, long arg1, void *arg2); 27 static int md_new(BIO *h); 28 static int md_free(BIO *data); 29 static long md_callback_ctrl(BIO *h, int cmd, BIO_info_cb *fp); 53 static int md_new(BIO *bi) 67 static int md_free(BIO *a) 78 static int md_read(BIO * [all...] |
/freebsd-13-stable/crypto/openssl/apps/ |
H A D | bf_prefix.c | 16 static int prefix_write(BIO *b, const char *out, size_t outl, 18 static int prefix_read(BIO *b, char *buf, size_t size, size_t *numread); 19 static int prefix_puts(BIO *b, const char *str); 20 static int prefix_gets(BIO *b, char *str, int size); 21 static long prefix_ctrl(BIO *b, int cmd, long arg1, void *arg2); 22 static int prefix_create(BIO *b); 23 static int prefix_destroy(BIO *b); 24 static long prefix_callback_ctrl(BIO *b, int cmd, BIO_info_cb *fp); 53 static int prefix_create(BIO *b) 67 static int prefix_destroy(BIO * [all...] |
H A D | s_apps.h | 20 unsigned char *context, int naccept, BIO *bio_s_out); 27 int ssl_print_sigalgs(BIO *out, SSL *s); 28 int ssl_print_point_formats(BIO *out, SSL *s); 29 int ssl_print_groups(BIO *out, SSL *s, int noshared); 30 int ssl_print_tmp_key(BIO *out, SSL *s); 36 long bio_dump_callback(BIO *bio, int cmd, const char *argp, 66 void print_verify_detail(SSL *s, BIO *bio); 77 void print_ca_names(BIO *bio, SSL *s);
|
/freebsd-13-stable/crypto/openssl/crypto/asn1/ |
H A D | bio_asn1.c | 11 * Experimental ASN1 BIO. When written through the data is converted to an 62 static int asn1_bio_write(BIO *h, const char *buf, int num); 63 static int asn1_bio_read(BIO *h, char *buf, int size); 64 static int asn1_bio_puts(BIO *h, const char *str); 65 static int asn1_bio_gets(BIO *h, char *str, int size); 66 static long asn1_bio_ctrl(BIO *h, int cmd, long arg1, void *arg2); 67 static int asn1_bio_new(BIO *h); 68 static int asn1_bio_free(BIO *data); 69 static long asn1_bio_callback_ctrl(BIO *h, int cmd, BIO_info_cb *fp); 72 static int asn1_bio_flush_ex(BIO * [all...] |
H A D | bio_ndef.c | 17 /* Experimental NDEF ASN1 BIO support routines */ 20 * The usage is quite simple, initialize an ASN1 structure, get a BIO from it 21 * then any data written through the BIO will end up translated to 23 * need to be all held in memory at once. When the BIO is flushed the output 24 * is finalized and any signatures etc written out. The BIO is a 'proper' 25 * BIO and can handle non blocking I/O correctly. The usage is simple. The 29 /* BIO support data stored in the ASN1 BIO ex_arg */ 32 /* ASN1 structure this BIO refers to */ 35 /* Top of the BIO chai [all...] |
/freebsd-13-stable/crypto/openssl/include/crypto/ |
H A D | store.h | 18 * Two functions to read PEM data off an already opened BIO. To be used 22 OSSL_STORE_CTX *ossl_store_attach_pem_bio(BIO *bp, const UI_METHOD *ui_method,
|
/freebsd-13-stable/crypto/openssl/crypto/dsa/ |
H A D | dsa_prn.c | 18 BIO *b; 33 BIO *b; 47 int DSA_print(BIO *bp, const DSA *x, int off) 59 int DSAparams_print(BIO *bp, const DSA *x)
|
/freebsd-13-stable/crypto/openssl/crypto/ts/ |
H A D | ts_lib.c | 19 int TS_ASN1_INTEGER_print_bio(BIO *bio, const ASN1_INTEGER *num) 38 int TS_OBJ_print_bio(BIO *bio, const ASN1_OBJECT *obj) 48 int TS_ext_print_bio(BIO *bio, const STACK_OF(X509_EXTENSION) *extensions) 73 int TS_X509_ALGOR_print_bio(BIO *bio, const X509_ALGOR *alg) 80 int TS_MSG_IMPRINT_print_bio(BIO *bio, TS_MSG_IMPRINT *a)
|
/freebsd-13-stable/crypto/openssl/ssl/ |
H A D | bio_ssl.c | 19 static int ssl_write(BIO *h, const char *buf, size_t size, size_t *written); 20 static int ssl_read(BIO *b, char *buf, size_t size, size_t *readbytes); 21 static int ssl_puts(BIO *h, const char *str); 22 static long ssl_ctrl(BIO *h, int cmd, long arg1, void *arg2); 23 static int ssl_new(BIO *h); 24 static int ssl_free(BIO *data); 25 static long ssl_callback_ctrl(BIO *h, int cmd, BIO_info_cb *fp); 56 static int ssl_new(BIO *bi) 72 static int ssl_free(BIO *a) 92 static int ssl_read(BIO * [all...] |