Home
last modified time | relevance | path

Searched refs:BUF_MEM (Results 1 – 25 of 55) sorted by relevance

123

/freebsd/crypto/openssl/crypto/buffer/
H A Dbuffer.c21 BUF_MEM *BUF_MEM_new_ex(unsigned long flags) in BUF_MEM_new_ex()
23 BUF_MEM *ret; in BUF_MEM_new_ex()
31 BUF_MEM *BUF_MEM_new(void) in BUF_MEM_new()
33 BUF_MEM *ret; in BUF_MEM_new()
41 void BUF_MEM_free(BUF_MEM *a) in BUF_MEM_free()
56 static char *sec_alloc_realloc(BUF_MEM *str, size_t len) in sec_alloc_realloc()
71 size_t BUF_MEM_grow(BUF_MEM *str, size_t len) in BUF_MEM_grow()
107 size_t BUF_MEM_grow_clean(BUF_MEM *str, size_t len) in BUF_MEM_grow_clean()
/freebsd/crypto/openssl/include/openssl/
H A Dbuffer.h50 BUF_MEM *BUF_MEM_new(void);
51 BUF_MEM *BUF_MEM_new_ex(unsigned long flags);
52 void BUF_MEM_free(BUF_MEM *a);
53 size_t BUF_MEM_grow(BUF_MEM *str, size_t len);
54 size_t BUF_MEM_grow_clean(BUF_MEM *str, size_t len);
H A Dtypes.h103 typedef struct buf_mem_st BUF_MEM; typedef
/freebsd/crypto/openssl/doc/man3/
H A DBIO_s_mem.pod19 BIO_set_mem_buf(BIO *b, BUF_MEM *bm, int c);
20 BIO_get_mem_ptr(BIO *b, BUF_MEM **pp);
29 written to a memory BIO is stored in a BUF_MEM structure which is extended
62 BUF_MEM structure is also freed.
87 BIO_set_mem_buf() sets the internal BUF_MEM structure to B<bm> and sets the
91 BIO_get_mem_ptr() places the underlying BUF_MEM structure in *B<pp>. It is
132 Calling BIO_get_mem_ptr() on read only BIO will return a BUF_MEM that
134 BIO is set to BIO_NOCLOSE, before freeing the BUF_MEM the data pointer
147 Calling BIO_set_close() with BIO_NOCLOSE orphans the BUF_MEM internal to the
177 Extract the BUF_MEM structure from a memory BIO and then free up the BIO:
[all …]
H A DBUF_MEM_new.pod13 BUF_MEM *BUF_MEM_new(void);
15 BUF_MEM *BUF_MEM_new_ex(unsigned long flags);
17 void BUF_MEM_free(BUF_MEM *a);
19 int BUF_MEM_grow(BUF_MEM *str, int len);
20 size_t BUF_MEM_grow_clean(BUF_MEM *str, size_t len);
/freebsd/crypto/openssl/test/
H A Dbio_memleak_test.c20 BUF_MEM bufmem; in test_bio_memleak()
47 BUF_MEM *bufmem = NULL; in test_bio_get_mem()
75 BUF_MEM *bufmem; in test_bio_new_mem_buf()
110 BUF_MEM *bufmem; in test_bio_rdonly_mem_buf()
241 BUF_MEM bufmem; in test_bio_i2d_ASN1_mime()
H A Dpunycode_test.c203 BUF_MEM *in; in test_dotted_overflow()
/freebsd/crypto/openssl/crypto/asn1/
H A Da_d2i_fp.c40 BUF_MEM *b = NULL; in ASN1_d2i_bio()
61 BUF_MEM *b = NULL; in ASN1_item_d2i_bio_ex()
109 int asn1_d2i_read_bio(BIO *in, BUF_MEM **pb) in asn1_d2i_read_bio()
111 BUF_MEM *b; in asn1_d2i_read_bio()
H A Dd2i_param.c51 BUF_MEM *b = NULL; in d2i_KeyParams_bio()
H A Dtasn_dec.c32 static int asn1_collect(BUF_MEM *buf, const unsigned char **in, long len,
35 static int collect_data(BUF_MEM *buf, const unsigned char **p, long plen);
734 BUF_MEM buf = { 0, NULL, 0, 0 }; in asn1_d2i_ex_primitive()
1073 static int asn1_collect(BUF_MEM *buf, const unsigned char **in, long len, in asn1_collect()
1130 static int collect_data(BUF_MEM *buf, const unsigned char **p, long plen) in collect_data()
/freebsd/crypto/openssl/crypto/bio/
H A Dbss_mem.c85 BUF_MEM *b; in BIO_new_mem_buf()
164 BUF_MEM *b = bb->buf; in mem_buf_free()
195 BUF_MEM *bm = bbm->readp; in mem_read()
247 BUF_MEM *bm, *bo; /* bio_mem, bio_other */ in mem_ctrl()
347 BUF_MEM *bm = bbm->readp; in mem_gets()
/freebsd/crypto/openssl/providers/implementations/storemgmt/
H A Dfile_store_any2obj.c93 const char *data_type, BUF_MEM *mem, in any2obj_decode_final()
133 BUF_MEM *mem = NULL; in der2obj_decode()
160 BUF_MEM *mem = NULL; in msblob2obj_decode()
230 BUF_MEM *mem = NULL; in pvk2obj_decode()
/freebsd/crypto/openssl/include/internal/
H A Dasn1.h16 int asn1_d2i_read_bio(BIO *in, BUF_MEM **pb);
H A Dpacket.h649 BUF_MEM *buf;
696 int WPACKET_init_len(WPACKET *pkt, BUF_MEM *buf, size_t lenbytes);
702 int WPACKET_init(WPACKET *pkt, BUF_MEM *buf);
/freebsd/crypto/openssl/apps/
H A Dasn1parse.c70 static int do_generate(char *genstr, const char *genconf, BUF_MEM *buf);
76 BUF_MEM *buf = NULL; in asn1parse_main()
331 static int do_generate(char *genstr, const char *genconf, BUF_MEM *buf) in do_generate()
/freebsd/crypto/openssl/providers/implementations/encode_decode/
H A Dendecoder_common.c89 BUF_MEM *mem = NULL; in ossl_read_der()
H A Ddecode_epki2pki.c89 BUF_MEM *mem = NULL; in epki2pki_decode()
/freebsd/crypto/openssl/crypto/txt_db/
H A Dtxt_db.c29 BUF_MEM *buf = NULL; in TXT_DB_read()
191 BUF_MEM *buf = NULL; in TXT_DB_write()
/freebsd/crypto/openssl/crypto/x509/
H A Dby_dir.c46 BUF_MEM *buffer;
234 BUF_MEM *b = NULL; in get_cert_by_subject_ex()
H A Dx509_obj.c34 BUF_MEM *b = NULL; in X509_NAME_oneline()
/freebsd/crypto/openssl/test/helpers/
H A Dquictestlib.h211 BUF_MEM *old_ext);
/freebsd/crypto/openssl/engines/
H A De_loader_attic.c168 BUF_MEM *blob;
191 BUF_MEM *embedded) in new_EMBEDDED()
448 BUF_MEM *mem = NULL; in try_decode_PKCS8Encrypted()
1166 BUF_MEM *new_mem = NULL; in file_load_try_decode()
1400 BUF_MEM *mem = NULL; in file_read_asn1()
/freebsd/crypto/openssl/crypto/
H A Dpacket.c160 int WPACKET_init_len(WPACKET *pkt, BUF_MEM *buf, size_t lenbytes) in WPACKET_init_len()
174 int WPACKET_init(WPACKET *pkt, BUF_MEM *buf) in WPACKET_init()
/freebsd/crypto/openssl/crypto/dsa/
H A Ddsa_sign.c80 BUF_MEM *buf = NULL; in i2d_DSA_SIG()
/freebsd/crypto/openssl/crypto/encode_decode/
H A Dencoder_lib.c123 BUF_MEM *buf = NULL; in OSSL_ENCODER_to_data()
692 BUF_MEM *buf; in encoder_process()

123