Home
last modified time | relevance | path

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

12

/third_party/openssl/crypto/buffer/
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()
/third_party/openssl/include/openssl/
Dbuffer.h47 BUF_MEM *BUF_MEM_new(void);
48 BUF_MEM *BUF_MEM_new_ex(unsigned long flags);
49 void BUF_MEM_free(BUF_MEM *a);
50 size_t BUF_MEM_grow(BUF_MEM *str, size_t len);
51 size_t BUF_MEM_grow_clean(BUF_MEM *str, size_t len);
Dossl_typ.h87 typedef struct buf_mem_st BUF_MEM; typedef
/third_party/openssl/doc/man3/
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);
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.
63 BIO_set_mem_buf() sets the internal BUF_MEM structure to B<bm> and sets the
67 BIO_get_mem_ptr() places the underlying BUF_MEM structure in *B<pp>. It is
102 Calling BIO_get_mem_ptr() on read only BIO will return a BUF_MEM that
104 BIO is set to BIO_NOCLOSE, before freeing the BUF_MEM the data pointer
146 Extract the BUF_MEM structure from a memory BIO and then free up the BIO:
148 BUF_MEM *bptr;
[all …]
/third_party/openssl/crypto/store/
Dstore_local.h29 BUF_MEM *blob;
60 BUF_MEM *embedded);
61 BUF_MEM *ossl_store_info_get0_EMBEDDED_buffer(OSSL_STORE_INFO *info);
Dstore_lib.c606 BUF_MEM *embedded) in ossl_store_info_new_EMBEDDED()
630 BUF_MEM *ossl_store_info_get0_EMBEDDED_buffer(OSSL_STORE_INFO *info) in ossl_store_info_get0_EMBEDDED_buffer()
Dloader_file.c337 BUF_MEM *mem = NULL; in try_decode_PKCS8Encrypted()
1025 BUF_MEM *new_mem = NULL; in file_load_try_decode()
1171 BUF_MEM *mem = NULL; in file_read_asn1()
/third_party/openssl/test/
Dbio_memleak_test.c22 BUF_MEM bufmem; in test_bio_memleak()
49 BUF_MEM *bufmem = NULL; in test_bio_get_mem()
77 BUF_MEM *bufmem; in test_bio_new_mem_buf()
112 BUF_MEM *bufmem; in test_bio_rdonly_mem_buf()
243 BUF_MEM bufmem; in test_bio_i2d_ASN1_mime()
Dwpackettest.c36 static BUF_MEM *buf;
/third_party/openssl/crypto/asn1/
Da_d2i_fp.c39 BUF_MEM *b = NULL; in ASN1_d2i_bio()
59 BUF_MEM *b = NULL; in ASN1_item_d2i_bio()
94 int asn1_d2i_read_bio(BIO *in, BUF_MEM **pb) in asn1_d2i_read_bio()
96 BUF_MEM *b; in asn1_d2i_read_bio()
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);
668 BUF_MEM buf = { 0, NULL, 0, 0 }; in asn1_d2i_ex_primitive()
1003 static int asn1_collect(BUF_MEM *buf, const unsigned char **in, long len, in asn1_collect()
1060 static int collect_data(BUF_MEM *buf, const unsigned char **p, long plen) in collect_data()
/third_party/openssl/crypto/bio/
Dbss_mem.c89 BUF_MEM *b; in BIO_new_mem_buf()
168 BUF_MEM *b = bb->buf; in mem_buf_free()
198 BUF_MEM *bm = bbm->readp; in mem_read()
250 BUF_MEM *bm; in mem_ctrl()
332 BUF_MEM *bm = bbm->readp; in mem_gets()
/third_party/openssl/apps/
Dasn1pars.c54 static int do_generate(char *genstr, const char *genconf, BUF_MEM *buf);
60 BUF_MEM *buf = NULL; in asn1parse_main()
311 static int do_generate(char *genstr, const char *genconf, BUF_MEM *buf) in do_generate()
/third_party/openssl/ssl/
Dpacket_local.h622 BUF_MEM *buf;
664 int WPACKET_init_len(WPACKET *pkt, BUF_MEM *buf, size_t lenbytes);
670 int WPACKET_init(WPACKET *pkt, BUF_MEM *buf);
Dpacket.c134 int WPACKET_init_len(WPACKET *pkt, BUF_MEM *buf, size_t lenbytes) in WPACKET_init_len()
147 int WPACKET_init(WPACKET *pkt, BUF_MEM *buf) in WPACKET_init()
/third_party/openssl/crypto/txt_db/
Dtxt_db.c30 BUF_MEM *buf = NULL; in TXT_DB_read()
194 BUF_MEM *buf = NULL; in TXT_DB_write()
/third_party/openssl/crypto/x509/
Dby_dir.c37 BUF_MEM *buffer;
222 BUF_MEM *b = NULL; in get_cert_by_subject()
Dx509_obj.c32 BUF_MEM *b = NULL; in X509_NAME_oneline()
/third_party/openssl/include/crypto/
Dasn1.h113 int asn1_d2i_read_bio(BIO *in, BUF_MEM **pb);
Dx509.h36 BUF_MEM *bytes; /* cached encoding: cannot be NULL */
/third_party/openssl/crypto/conf/
Dconf_def.c185 BUF_MEM *buff = NULL; in def_load_bio()
530 BUF_MEM *buf; in str_copy()
/third_party/openssl/ssl/statem/
Dstatem.c300 BUF_MEM *buf = NULL; in state_machine()
/third_party/grpc/src/core/tsi/alts/crypt/
Daes_gcm.cc57 BUF_MEM* mem = nullptr; in aes_gcm_get_openssl_errors()
/third_party/wpa_supplicant/wpa_supplicant-2.9/hs20/client/
Dest.c547 BUF_MEM *ptr; in generate_csr()

12