/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() 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 D | buffer.h | 51 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 D | types.h | 94 typedef struct buf_mem_st BUF_MEM; typedef
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | BIO_s_mem.pod | 18 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 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 | endecode_test.c | 248 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 D | file_store_any2obj.c | 57 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 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 | 37 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 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/apps/ |
H A D | asn1parse.c | 59 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 D | asn1.h | 14 int asn1_d2i_read_bio(BIO *in, BUF_MEM **pb);
|
H A D | packet.h | 656 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 D | txt_db.c | 29 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 D | endecoder_common.c | 90 BUF_MEM *mem = NULL; in ossl_read_der()
|
H A D | decode_epki2pki.c | 63 BUF_MEM *mem = NULL; in epki2pki_decode()
|
/freebsd/crypto/openssl/crypto/x509/ |
H A D | by_dir.c | 46 BUF_MEM *buffer; 238 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/crypto/ |
H A D | packet.c | 159 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 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() 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 D | encoder_lib.c | 100 BUF_MEM *buf = NULL; in OSSL_ENCODER_to_data() 667 BUF_MEM *buf; in encoder_process()
|
/freebsd/crypto/openssl/crypto/dsa/ |
H A D | dsa_sign.c | 81 BUF_MEM *buf = NULL; in i2d_DSA_SIG()
|
/freebsd/crypto/openssl/crypto/conf/ |
H A D | conf_def.c | 213 BUF_MEM *buff = NULL; in def_load_bio() 655 BUF_MEM *buf; in str_copy()
|