| /freebsd/crypto/openssl/crypto/buffer/ |
| H A D | buffer.c | 21 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 D | buffer.h | 50 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 D | types.h | 103 typedef struct buf_mem_st BUF_MEM; typedef
|
| /freebsd/crypto/openssl/doc/man3/ |
| H A D | BIO_s_mem.pod | 19 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 D | BUF_MEM_new.pod | 13 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 D | bio_memleak_test.c | 20 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 D | punycode_test.c | 203 BUF_MEM *in; in test_dotted_overflow()
|
| /freebsd/crypto/openssl/crypto/asn1/ |
| H A D | a_d2i_fp.c | 40 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 D | d2i_param.c | 51 BUF_MEM *b = NULL; in d2i_KeyParams_bio()
|
| H A D | tasn_dec.c | 32 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 D | bss_mem.c | 85 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 D | file_store_any2obj.c | 93 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 D | asn1.h | 16 int asn1_d2i_read_bio(BIO *in, BUF_MEM **pb);
|
| H A D | packet.h | 649 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 D | asn1parse.c | 70 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 D | endecoder_common.c | 89 BUF_MEM *mem = NULL; in ossl_read_der()
|
| H A D | decode_epki2pki.c | 89 BUF_MEM *mem = NULL; in epki2pki_decode()
|
| /freebsd/crypto/openssl/crypto/txt_db/ |
| H A D | txt_db.c | 29 BUF_MEM *buf = NULL; in TXT_DB_read() 191 BUF_MEM *buf = NULL; in TXT_DB_write()
|
| /freebsd/crypto/openssl/crypto/x509/ |
| H A D | by_dir.c | 46 BUF_MEM *buffer; 234 BUF_MEM *b = NULL; in get_cert_by_subject_ex()
|
| H A D | x509_obj.c | 34 BUF_MEM *b = NULL; in X509_NAME_oneline()
|
| /freebsd/crypto/openssl/test/helpers/ |
| H A D | quictestlib.h | 211 BUF_MEM *old_ext);
|
| /freebsd/crypto/openssl/engines/ |
| H A D | e_loader_attic.c | 168 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 D | packet.c | 160 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 D | dsa_sign.c | 80 BUF_MEM *buf = NULL; in i2d_DSA_SIG()
|
| /freebsd/crypto/openssl/crypto/encode_decode/ |
| H A D | encoder_lib.c | 123 BUF_MEM *buf = NULL; in OSSL_ENCODER_to_data() 692 BUF_MEM *buf; in encoder_process()
|