Home
last modified time | relevance | path

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

12

/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()
43 void BUF_MEM_free(BUF_MEM *a) in BUF_MEM_free()
58 static char *sec_alloc_realloc(BUF_MEM *str, size_t len) in sec_alloc_realloc()
73 size_t BUF_MEM_grow(BUF_MEM *str, size_t len) in BUF_MEM_grow()
110 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.h51 BUF_MEM *BUF_MEM_new(void);
52 BUF_MEM *BUF_MEM_new_ex(unsigned long flags);
53 void BUF_MEM_free(BUF_MEM *a);
54 size_t BUF_MEM_grow(BUF_MEM *str, size_t len);
55 size_t BUF_MEM_grow_clean(BUF_MEM *str, size_t len);
H A Dtypes.h94 typedef struct buf_mem_st BUF_MEM; typedef
/freebsd/crypto/openssl/doc/man3/
H A DBIO_s_mem.pod18 BIO_set_mem_buf(BIO *b, BUF_MEM *bm, int c);
19 BIO_get_mem_ptr(BIO *b, BUF_MEM **pp);
28 written to a memory BIO is stored in a BUF_MEM structure which is extended
41 BUF_MEM structure is also freed.
65 BIO_set_mem_buf() sets the internal BUF_MEM structure to B<bm> and sets the
69 BIO_get_mem_ptr() places the underlying BUF_MEM structure in *B<pp>. It is
104 Calling BIO_get_mem_ptr() on read only BIO will return a BUF_MEM that
106 BIO is set to BIO_NOCLOSE, before freeing the BUF_MEM the data pointer
119 Calling BIO_set_close() with BIO_NOCLOSE orphans the BUF_MEM internal to the
152 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 Dendecode_test.c248 BUF_MEM *mem_buf = NULL; in encode_EVP_PKEY_prov()
364 BUF_MEM *mem_buf = NULL; in encode_EVP_PKEY_legacy_PEM()
404 BUF_MEM *mem_buf = NULL; in encode_EVP_PKEY_MSBLOB()
449 BUF_MEM *mem_buf = NULL; in encode_EVP_PKEY_PVK()
/freebsd/crypto/openssl/providers/implementations/storemgmt/
H A Dfile_store_any2obj.c57 static int any2obj_decode_final(void *provctx, int objtype, BUF_MEM *mem, in any2obj_decode_final()
88 BUF_MEM *mem = NULL; in der2obj_decode()
114 BUF_MEM *mem = NULL; in msblob2obj_decode()
183 BUF_MEM *mem = NULL; in pvk2obj_decode()
/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.c37 static int asn1_collect(BUF_MEM *buf, const unsigned char **in, long len,
40 static int collect_data(BUF_MEM *buf, const unsigned char **p, long plen);
707 BUF_MEM buf = { 0, NULL, 0, 0 }; in asn1_d2i_ex_primitive()
1040 static int asn1_collect(BUF_MEM *buf, const unsigned char **in, long len, in asn1_collect()
1097 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/apps/
H A Dasn1parse.c59 static int do_generate(char *genstr, const char *genconf, BUF_MEM *buf);
65 BUF_MEM *buf = NULL; in asn1parse_main()
319 static int do_generate(char *genstr, const char *genconf, BUF_MEM *buf) in do_generate()
/freebsd/crypto/openssl/include/internal/
H A Dasn1.h14 int asn1_d2i_read_bio(BIO *in, BUF_MEM **pb);
H A Dpacket.h656 BUF_MEM *buf;
701 int WPACKET_init_len(WPACKET *pkt, BUF_MEM *buf, size_t lenbytes);
707 int WPACKET_init(WPACKET *pkt, BUF_MEM *buf);
/freebsd/crypto/openssl/crypto/txt_db/
H A Dtxt_db.c29 BUF_MEM *buf = NULL; in TXT_DB_read()
192 BUF_MEM *buf = NULL; in TXT_DB_write()
/freebsd/crypto/openssl/providers/implementations/encode_decode/
H A Dendecoder_common.c90 BUF_MEM *mem = NULL; in ossl_read_der()
H A Ddecode_epki2pki.c63 BUF_MEM *mem = NULL; in epki2pki_decode()
/freebsd/crypto/openssl/crypto/x509/
H A Dby_dir.c46 BUF_MEM *buffer;
238 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/crypto/
H A Dpacket.c159 int WPACKET_init_len(WPACKET *pkt, BUF_MEM *buf, size_t lenbytes) in WPACKET_init_len()
173 int WPACKET_init(WPACKET *pkt, BUF_MEM *buf) in WPACKET_init()
/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()
1180 BUF_MEM *new_mem = NULL; in file_load_try_decode()
1414 BUF_MEM *mem = NULL; in file_read_asn1()
/freebsd/crypto/openssl/crypto/encode_decode/
H A Dencoder_lib.c100 BUF_MEM *buf = NULL; in OSSL_ENCODER_to_data()
667 BUF_MEM *buf; in encoder_process()
/freebsd/crypto/openssl/crypto/dsa/
H A Ddsa_sign.c81 BUF_MEM *buf = NULL; in i2d_DSA_SIG()
/freebsd/crypto/openssl/crypto/conf/
H A Dconf_def.c213 BUF_MEM *buff = NULL; in def_load_bio()
655 BUF_MEM *buf; in str_copy()

12