/dragonfly/crypto/libressl/include/openssl/ |
H A D | bio.h | 285 DECLARE_STACK_OF(BIO) 558 int BIO_free(BIO *a); 559 int BIO_up_ref(BIO *bio); 566 void BIO_vfree(BIO *a); 579 BIO * BIO_push(BIO *b, BIO *append); 580 BIO * BIO_pop(BIO *b); 582 BIO * BIO_find_type(BIO *b, int bio_type); 583 BIO * BIO_next(BIO *b); 584 void BIO_set_next(BIO *b, BIO *next); 585 BIO * BIO_get_retry_BIO(BIO *bio, int *reason); [all …]
|
H A D | cms.h | 131 BIO *CMS_dataInit(CMS_ContentInfo *cms, BIO *icont); 150 BIO *BIO_new_CMS(BIO *out, CMS_ContentInfo *cms); 151 int i2d_CMS_bio_stream(BIO *out, CMS_ContentInfo *cms, BIO *in, int flags); 152 int PEM_write_bio_CMS_stream(BIO *out, CMS_ContentInfo *cms, BIO *in, 154 CMS_ContentInfo *SMIME_read_CMS(BIO *bio, BIO **bcont); 155 int SMIME_write_CMS(BIO *bio, CMS_ContentInfo *cms, BIO *data, int flags); 168 int CMS_digest_verify(CMS_ContentInfo *cms, BIO *dcont, BIO *out, 174 size_t keylen, BIO *dcont, BIO *out, unsigned int flags); 183 X509_STORE *store, BIO *dcont, BIO *out, unsigned int flags); 194 BIO *dcont, BIO *out, unsigned int flags); [all …]
|
H A D | pem.h | 243 int PEM_write_bio_##name(BIO *bp, type *x) \ 249 int PEM_write_bio_##name(BIO *bp, const type *x) \ 324 int PEM_write_bio_##name(BIO *bp, type *x); 327 int PEM_write_bio_##name(BIO *bp, const type *x); 377 int PEM_read_bio(BIO *bp, char **name, char **header, 389 STACK_OF(X509_INFO) * PEM_X509_INFO_read_bio(BIO *bp, 503 int PEM_write_bio_Parameters(BIO *bp, EVP_PKEY *x); 508 EVP_PKEY *b2i_PrivateKey_bio(BIO *in); 509 EVP_PKEY *b2i_PublicKey_bio(BIO *in); 510 int i2b_PrivateKey_bio(BIO *out, EVP_PKEY *pk); [all …]
|
H A D | pkcs7.h | 283 int i2d_PKCS7_bio(BIO *bp, PKCS7 *p7); 284 int i2d_PKCS7_bio_stream(BIO *out, PKCS7 *p7, BIO *in, int flags); 285 int PEM_write_bio_PKCS7_stream(BIO *out, PKCS7 *p7, BIO *in, int flags); 356 BIO *PKCS7_dataInit(PKCS7 *p7, BIO *bio); 357 int PKCS7_dataFinal(PKCS7 *p7, BIO *bio); 358 BIO *PKCS7_dataDecode(PKCS7 *p7, EVP_PKEY *pkey, BIO *in_bio, X509 *pcert); 390 BIO *data, int flags); 398 BIO *indata, BIO *out, int flags); 414 int SMIME_write_PKCS7(BIO *bio, PKCS7 *p7, BIO *data, int flags); 415 PKCS7 *SMIME_read_PKCS7(BIO *bio, BIO **bcont); [all …]
|
/dragonfly/crypto/libressl/crypto/bio/ |
H A D | bio_lib.c | 133 BIO * 615 BIO * 616 BIO_push(BIO *b, BIO *bio) in BIO_push() 618 BIO *lb; in BIO_push() 634 BIO * 655 BIO * 686 BIO * 708 BIO * 717 BIO_set_next(BIO *b, BIO *next) in BIO_set_next() 725 BIO *b; in BIO_free_all() [all …]
|
H A D | bio_meth.c | 58 (*BIO_meth_get_read(const BIO_METHOD *biom))(BIO *, char *, int) in BIO_meth_get_read() 64 BIO_meth_set_read(BIO_METHOD *biom, int (*read)(BIO *, char *, int)) in BIO_meth_set_read() argument 71 (*BIO_meth_get_puts(const BIO_METHOD *biom))(BIO *, const char *) in BIO_meth_get_puts() 77 BIO_meth_set_puts(BIO_METHOD *biom, int (*puts)(BIO *, const char *)) in BIO_meth_set_puts() argument 84 (*BIO_meth_get_gets(const BIO_METHOD *biom))(BIO *, char *, int) in BIO_meth_get_gets() 90 BIO_meth_set_gets(BIO_METHOD *biom, int (*gets)(BIO *, char *, int)) in BIO_meth_set_gets() argument 110 (*BIO_meth_get_create(const BIO_METHOD *biom))(BIO *) in BIO_meth_get_create() 116 BIO_meth_set_create(BIO_METHOD *biom, int (*create)(BIO *)) in BIO_meth_set_create() argument 123 (*BIO_meth_get_destroy(const BIO_METHOD *biom))(BIO *) in BIO_meth_get_destroy() 129 BIO_meth_set_destroy(BIO_METHOD *biom, int (*destroy)(BIO *)) in BIO_meth_set_destroy() argument [all …]
|
H A D | bss_null.c | 68 static int null_read(BIO *h, char *buf, int size); 69 static int null_puts(BIO *h, const char *str); 72 static int null_new(BIO *h); 73 static int null_free(BIO *data); 94 null_new(BIO *bi) in null_new() 103 null_free(BIO *a) in null_free() 111 null_read(BIO *b, char *out, int outl) in null_read() 117 null_write(BIO *b, const char *in, int inl) in null_write() 123 null_ctrl(BIO *b, int cmd, long num, void *ptr) in null_ctrl() 149 null_gets(BIO *bp, char *buf, int size) in null_gets() [all …]
|
H A D | bf_nbio.c | 71 static int nbiof_read(BIO *h, char *buf, int size); 72 static int nbiof_puts(BIO *h, const char *str); 75 static int nbiof_new(BIO *h); 76 static int nbiof_free(BIO *data); 105 nbiof_new(BIO *bi) in nbiof_new() 120 nbiof_free(BIO *a) in nbiof_free() 132 nbiof_read(BIO *b, char *out, int outl) in nbiof_read() 163 nbiof_write(BIO *b, const char *in, int inl) in nbiof_write() 203 nbiof_ctrl(BIO *b, int cmd, long num, void *ptr) in nbiof_ctrl() 241 nbiof_gets(BIO *bp, char *buf, int size) in nbiof_gets() [all …]
|
H A D | bss_fd.c | 72 static int fd_puts(BIO *h, const char *str); 75 static int fd_new(BIO *h); 76 static int fd_free(BIO *data); 97 BIO * 100 BIO *ret; in BIO_new_fd() 109 fd_new(BIO *bi) in fd_new() 119 fd_free(BIO *a) in fd_free() 134 fd_read(BIO *b, char *out, int outl) in fd_read() 151 fd_write(BIO *b, const char *in, int inl) in fd_write() 217 fd_puts(BIO *bp, const char *str) in fd_puts() [all …]
|
H A D | bss_file.c | 100 static int file_new(BIO *h); 101 static int file_free(BIO *data); 115 BIO * 118 BIO *ret; in BIO_new_file() 141 BIO * 144 BIO *ret; in BIO_new_fp() 160 file_new(BIO *bi) in file_new() 170 file_free(BIO *a) in file_free() 186 file_read(BIO *b, char *out, int outl) in file_read() 298 file_gets(BIO *bp, char *buf, int size) in file_gets() [all …]
|
H A D | bss_sock.c | 72 static int sock_puts(BIO *h, const char *str); 74 static int sock_new(BIO *h); 75 static int sock_free(BIO *data); 95 BIO * 98 BIO *ret; in BIO_new_socket() 108 sock_new(BIO *bi) in sock_new() 118 sock_free(BIO *a) in sock_free() 134 sock_read(BIO *b, char *out, int outl) in sock_read() 151 sock_write(BIO *b, const char *in, int inl) in sock_write() 166 sock_ctrl(BIO *b, int cmd, long num, void *ptr) in sock_ctrl() [all …]
|
H A D | bss_acpt.c | 87 BIO *bio_chain; 94 static int acpt_new(BIO *h); 95 static int acpt_free(BIO *data); 123 acpt_new(BIO *bi) in acpt_new() 163 acpt_close_socket(BIO *bio) in acpt_close_socket() 177 acpt_free(BIO *a) in acpt_free() 196 acpt_state(BIO *b, BIO_ACCEPT *c) in acpt_state() 198 BIO *bio = NULL, *dbio; in acpt_state() 361 data->bio_chain = (BIO *)ptr; in acpt_ctrl() 440 BIO * [all …]
|
H A D | bss_conn.c | 102 static int conn_new(BIO *h); 103 static int conn_free(BIO *data); 124 conn_state(BIO *b, BIO_CONNECT *c) in conn_state() 331 conn_new(BIO *bi) in conn_new() 343 conn_close_socket(BIO *bio) in conn_close_socket() 358 conn_free(BIO *a) in conn_free() 427 BIO *dbio; in conn_ctrl() 519 dbio = (BIO *)ptr; in conn_ctrl() 573 conn_puts(BIO *bp, const char *str) in conn_puts() 582 BIO * [all …]
|
H A D | bss_mem.c | 90 static int mem_new(BIO *bio); 91 static int mem_free(BIO *bio); 94 static int mem_puts(BIO *bio, const char *in); 121 BIO * 125 BIO *bio; in BIO_new_mem_buf() 153 mem_new(BIO *bio) in mem_new() 173 mem_free(BIO *bio) in mem_free() 195 mem_read(BIO *bio, char *out, int out_len) in mem_read() 220 mem_write(BIO *bio, const char *in, int in_len) in mem_write() 326 mem_gets(BIO *bio, char *out, int out_len) in mem_gets() [all …]
|
H A D | bio_local.h | 67 int (*bwrite)(BIO *, const char *, int); 68 int (*bread)(BIO *, char *, int); 69 int (*bputs)(BIO *, const char *); 70 int (*bgets)(BIO *, char *, int); 71 long (*ctrl)(BIO *, int, long, void *); 72 int (*create)(BIO *); 73 int (*destroy)(BIO *); 74 long (*callback_ctrl)(BIO *, int, BIO_info_cb *);
|
/dragonfly/crypto/libressl/apps/openssl/ |
H A D | apps.h | 140 extern BIO *bio_err; 170 int dump_cert_text(BIO *out, X509 *x); 171 void print_name(BIO *out, const char *title, X509_NAME *nm, 179 int add_oid_section(BIO *err, CONF *conf); 180 X509 *load_cert(BIO *err, const char *file, int format, 190 X509_STORE *setup_verify(BIO *bp, char *CAfile, char *CApath); 193 OCSP_RESPONSE *process_responder(BIO *err, OCSP_REQUEST *req, 198 int load_config(BIO *err, CONF *cnf); 244 int args_verify(char ***pargs, int *pargc, int *badarg, BIO *err, 246 void policies_print(BIO *out, X509_STORE_CTX *ctx); [all …]
|
/dragonfly/crypto/libressl/crypto/asn1/ |
H A D | bio_asn1.c | 115 static int asn1_bio_read(BIO *h, char *buf, int size); 116 static int asn1_bio_puts(BIO *h, const char *str); 117 static int asn1_bio_gets(BIO *h, char *str, int size); 119 static int asn1_bio_new(BIO *h); 120 static int asn1_bio_free(BIO *data); 149 asn1_bio_new(BIO *b) in asn1_bio_new() 173 asn1_bio_free(BIO *b) in asn1_bio_free() 189 asn1_bio_write(BIO *b, const char *in , int inl) in asn1_bio_write() 327 asn1_bio_read(BIO *b, char *in , int inl) in asn1_bio_read() 335 asn1_bio_puts(BIO *b, const char *str) in asn1_bio_puts() [all …]
|
H A D | bio_ndef.c | 86 BIO *ndef_bio; 88 BIO *out; 95 static int ndef_prefix(BIO *b, unsigned char **pbuf, int *plen, void *parg); 97 static int ndef_suffix(BIO *b, unsigned char **pbuf, int *plen, void *parg); 100 BIO * 101 BIO_new_NDEF(BIO *out, ASN1_VALUE *val, const ASN1_ITEM *it) in BIO_new_NDEF() 104 BIO *asn_bio = NULL; in BIO_new_NDEF() 153 ndef_prefix(BIO *b, unsigned char **pbuf, int *plen, void *parg) in ndef_prefix() 179 ndef_prefix_free(BIO *b, unsigned char **pbuf, int *plen, void *parg) in ndef_prefix_free() 197 ndef_suffix_free(BIO *b, unsigned char **pbuf, int *plen, void *parg) in ndef_suffix_free() [all …]
|
H A D | asn_mime.c | 118 i2d_ASN1_bio_stream(BIO *out, ASN1_VALUE *val, BIO *in, int flags, in i2d_ASN1_bio_stream() 149 B64_write_ASN1(BIO *out, ASN1_VALUE *val, BIO *in, int flags, in B64_write_ASN1() 152 BIO *b64; in B64_write_ASN1() 187 BIO *b64; in b64_read_asn1() 377 BIO *tmpbio; in asn1_output_data() 428 SMIME_read_ASN1(BIO *bio, BIO **bcont, const ASN1_ITEM *it) in SMIME_read_ASN1() 430 BIO *asnin; in SMIME_read_ASN1() 534 SMIME_crlf_copy(BIO *in, BIO *out, int flags) in SMIME_crlf_copy() 536 BIO *bf; in SMIME_crlf_copy() 571 SMIME_text(BIO *in, BIO *out) in SMIME_text() [all …]
|
/dragonfly/crypto/libressl/crypto/cms/ |
H A D | cms_io.c | 83 d2i_CMS_bio(BIO *bp, CMS_ContentInfo **cms) in d2i_CMS_bio() 89 i2d_CMS_bio(BIO *bp, CMS_ContentInfo *cms) in i2d_CMS_bio() 96 PEM_read_bio_CMS(BIO *bp, CMS_ContentInfo **x, pem_password_cb *cb, void *u) in PEM_read_bio_CMS() 110 PEM_write_bio_CMS(BIO *bp, const CMS_ContentInfo *x) in PEM_write_bio_CMS() 123 BIO * 124 BIO_new_CMS(BIO *out, CMS_ContentInfo *cms) in BIO_new_CMS() 132 int i2d_CMS_bio_stream(BIO *out, CMS_ContentInfo *cms, BIO *in, int flags) in i2d_CMS_bio_stream() 139 PEM_write_bio_CMS_stream(BIO *out, CMS_ContentInfo *cms, BIO *in, int flags) in PEM_write_bio_CMS_stream() 146 SMIME_write_CMS(BIO *bio, CMS_ContentInfo *cms, BIO *data, int flags) in SMIME_write_CMS() 162 SMIME_read_CMS(BIO *bio, BIO **bcont) in SMIME_read_CMS()
|
H A D | cms_smime.c | 64 static BIO * 67 BIO *rbio; in cms_get_text_bio() 81 cms_copy_content(BIO *out, BIO *in, unsigned int flags) in cms_copy_content() 85 BIO *tmpout; in cms_copy_content() 141 do_free_upto(BIO *f, BIO *upto) in do_free_upto() 144 BIO *tbio; in do_free_upto() 158 BIO *cont; in CMS_data() 194 BIO *cont; in CMS_digest_verify() 242 BIO *cont; in CMS_EncryptedData_decrypt() 331 BIO *dcont, BIO *out, unsigned int flags) in CMS_verify() [all …]
|
/dragonfly/crypto/libressl/crypto/evp/ |
H A D | bio_md.c | 72 static int md_read(BIO *h, char *buf, int size); 74 static int md_gets(BIO *h, char *str, int size); 76 static int md_new(BIO *h); 77 static int md_free(BIO *data); 99 md_new(BIO *bi) in md_new() 114 md_free(BIO *a) in md_free() 126 md_read(BIO *b, char *out, int outl) in md_read() 152 md_write(BIO *b, const char *in, int inl) in md_write() 180 md_ctrl(BIO *b, int cmd, long num, void *ptr) in md_ctrl() 186 BIO *dbio; in md_ctrl() [all …]
|
/dragonfly/crypto/libressl/crypto/pem/ |
H A D | pem_all.c | 166 PEM_write_bio_X509_REQ(BIO *bp, X509_REQ *x) in PEM_write_bio_X509_REQ() 208 PEM_write_bio_X509_CRL(BIO *bp, X509_CRL *x) in PEM_write_bio_X509_CRL() 236 PEM_write_bio_PKCS7(BIO *bp, PKCS7 *x) in PEM_write_bio_PKCS7() 325 PEM_write_bio_RSAPrivateKey(BIO *bp, RSA *x, in PEM_write_bio_RSAPrivateKey() 383 PEM_write_bio_RSA_PUBKEY(BIO *bp, RSA *x) in PEM_write_bio_RSA_PUBKEY() 438 PEM_write_bio_DSAPrivateKey(BIO *bp, DSA *x, in PEM_write_bio_DSAPrivateKey() 461 PEM_write_bio_DSA_PUBKEY(BIO *bp, DSA *x) in PEM_write_bio_DSA_PUBKEY() 496 PEM_write_bio_DSAparams(BIO *bp, const DSA *x) in PEM_write_bio_DSAparams() 608 PEM_write_bio_EC_PUBKEY(BIO *bp, EC_KEY *x) in PEM_write_bio_EC_PUBKEY() 640 PEM_write_bio_DHparams(BIO *bp, const DH *x) in PEM_write_bio_DHparams() [all …]
|
/dragonfly/crypto/libressl/crypto/x509/ |
H A D | x_all.c | 79 d2i_X509_bio(BIO *bp, X509 **x509) in d2i_X509_bio() 85 i2d_X509_bio(BIO *bp, X509 *x509) in i2d_X509_bio() 109 i2d_X509_CRL_bio(BIO *bp, X509_CRL *crl) in i2d_X509_CRL_bio() 127 d2i_PKCS7_bio(BIO *bp, PKCS7 **p7) in d2i_PKCS7_bio() 133 i2d_PKCS7_bio(BIO *bp, PKCS7 *p7) in i2d_PKCS7_bio() 157 i2d_X509_REQ_bio(BIO *bp, X509_REQ *req) in i2d_X509_REQ_bio() 182 i2d_RSAPrivateKey_bio(BIO *bp, RSA *rsa) in i2d_RSAPrivateKey_bio() 200 d2i_RSAPublicKey_bio(BIO *bp, RSA **rsa) in d2i_RSAPublicKey_bio() 206 i2d_RSAPublicKey_bio(BIO *bp, RSA *rsa) in i2d_RSAPublicKey_bio() 277 d2i_PKCS8_bio(BIO *bp, X509_SIG **p8) in d2i_PKCS8_bio() [all …]
|
/dragonfly/crypto/libressl/ssl/ |
H A D | bio_ssl.c | 76 static int ssl_new(BIO *h); 108 ssl_new(BIO *bi) in ssl_new() 124 ssl_free(BIO *a) in ssl_free() 286 BIO *dbio, *bio; in ssl_ctrl() 427 dbio = (BIO *)ptr; in ssl_ctrl() 500 BIO * 519 BIO * 538 BIO * 541 BIO *ret; in BIO_new_ssl() 563 BIO_ssl_copy_session_id(BIO *t, BIO *f) in BIO_ssl_copy_session_id() [all …]
|