Home
last modified time | relevance | path

Searched refs:mem (Results 1 – 25 of 27) sorted by relevance

12

/openssl/providers/implementations/storemgmt/
H A Dfile_store_any2obj.c66 if (mem != NULL) { in any2obj_decode_final()
73 mem->data, mem->length); in any2obj_decode_final()
77 BUF_MEM_free(mem); in any2obj_decode_final()
88 BUF_MEM *mem = NULL; in der2obj_decode() local
99 mem = NULL; in der2obj_decode()
114 BUF_MEM *mem = NULL; in msblob2obj_decode() local
164 mem = NULL; in msblob2obj_decode()
173 BUF_MEM_free(mem); in msblob2obj_decode()
183 BUF_MEM *mem = NULL; in pvk2obj_decode() local
231 mem = NULL; in pvk2obj_decode()
[all …]
/openssl/test/
H A Dbio_base64_test.c67 if (BIO_write(mem, &c, 1) != 1) in memout()
72 if (BIO_write(mem, &c, 1) != 1) in memout()
83 && memout(mem, ' ', llen, pos) == 0) in memoutws()
85 return memout(mem, c, llen, pos); in memoutws()
145 if (pos > 0 && BIO_write(mem, &nl, 1) != 1) in encode()
160 BIO *mem = BIO_new(BIO_s_mem()); in genb64() local
162 if (mem == NULL) in genb64()
170 BIO_free(mem); in genb64()
175 BIO_get_mem_ptr(mem, &bptr); in genb64()
179 (void) BIO_set_close(mem, BIO_NOCLOSE); in genb64()
[all …]
H A Dbio_enc_test.c41 BIO *b, *mem; in do_bio_cipher() local
59 if (!TEST_ptr(mem)) in do_bio_cipher()
61 BIO_push(b, mem); in do_bio_cipher()
75 if (!TEST_ptr(mem)) in do_bio_cipher()
77 BIO_push(b, mem); in do_bio_cipher()
114 if (!TEST_ptr(mem)) in do_bio_cipher()
116 BIO_push(b, mem); in do_bio_cipher()
139 if (!TEST_ptr(mem)) in do_bio_cipher()
141 BIO_push(b, mem); in do_bio_cipher()
162 BIO_push(b, mem); in do_bio_cipher()
[all …]
H A Dhttp_test.c423 BIO *mem = NULL; in test_http_resp_hdr_limit() local
448 mem = OSSL_HTTP_REQ_CTX_exchange(rctx); in test_http_resp_hdr_limit()
455 res = TEST_ptr_null(mem); in test_http_resp_hdr_limit()
457 res = TEST_ptr(mem); in test_http_resp_hdr_limit()
H A Dtls-provider.c2208 BUF_MEM *mem = NULL; in xor_read_der() local
2210 int ok = (asn1_d2i_read_bio(in, &mem) >= 0); in xor_read_der()
2213 *data = (unsigned char *)mem->data; in xor_read_der()
2214 *len = (long)mem->length; in xor_read_der()
2215 OPENSSL_free(mem); in xor_read_der()
3189 static unsigned int mem[10] = { 0 }; in randomize_tls_alg_id() local
3206 if (mem[i] == id) in randomize_tls_alg_id()
3210 mem[in_mem++] = id; in randomize_tls_alg_id()
H A Dcmp_protect_test.c26 unsigned char *mem; member
46 OPENSSL_free(fixture->mem); in tear_down()
/openssl/providers/implementations/encode_decode/
H A Dendecoder_common.c90 BUF_MEM *mem = NULL; in ossl_read_der() local
96 ok = (asn1_d2i_read_bio(in, &mem) >= 0); in ossl_read_der()
98 *data = (unsigned char *)mem->data; in ossl_read_der()
99 *len = (long)mem->length; in ossl_read_der()
100 OPENSSL_free(mem); in ossl_read_der()
H A Ddecode_epki2pki.c88 BUF_MEM *mem = NULL; in epki2pki_decode() local
101 ok = (asn1_d2i_read_bio(in, &mem) >= 0); in epki2pki_decode()
108 pder = der = (unsigned char *)mem->data; in epki2pki_decode()
109 der_len = (long)mem->length; in epki2pki_decode()
110 OPENSSL_free(mem); in epki2pki_decode()
/openssl/crypto/http/
H A Dhttp_client.c132 BIO_free(rctx->mem); in OSSL_HTTP_REQ_CTX_free()
148 return rctx->mem; in OSSL_HTTP_REQ_CTX_get0_mem_bio()
183 BIO_free(rctx->mem); in OSSL_HTTP_REQ_CTX_set_request_line()
232 if (rctx->mem == NULL) { in OSSL_HTTP_REQ_CTX_add1_header()
237 if (BIO_puts(rctx->mem, name) <= 0) in OSSL_HTTP_REQ_CTX_add1_header()
242 if (BIO_puts(rctx->mem, value) <= 0) in OSSL_HTTP_REQ_CTX_add1_header()
350 BIO *mem = NULL; in OSSL_HTTP_REQ_CTX_set1_req() local
356 BIO_free(mem); in OSSL_HTTP_REQ_CTX_set1_req()
632 (void)BIO_reset(rctx->mem); in OSSL_HTTP_REQ_CTX_nbio()
681 n = BIO_get_mem_data(rctx->mem, &p); in OSSL_HTTP_REQ_CTX_nbio()
[all …]
/openssl/crypto/ocsp/
H A Docsp_http.c55 BIO *mem; in OCSP_sendreq_bio() local
60 mem = OSSL_HTTP_REQ_CTX_exchange(ctx); in OCSP_sendreq_bio()
63 mem, NULL); in OCSP_sendreq_bio()
/openssl/doc/designs/ddd/
H A DMakefile17 ddd-05-mem-nonblocking \
18 ddd-06-mem-uv
H A DREADME.md114 | [ddd-05-mem-nonblocking](ddd-05-mem-nonblocking.c) | A-BIOm | A non-blocking example based on use…
115 | [ddd-06-mem-uv](ddd-06-mem-uv.c) | A-BIOm | A non-blocking example based on use of a memory buffe…
H A DWINDOWS.md64 - ddd-05-mem-nonblocking: Since the application is in full control of passing
70 - ddd-06-mem-uv: This demo uses a memory BIO and libuv. Since libuv supports
H A DREPORT.md235 ddd-05-mem-nonblocking
273 ddd-06-mem-uv
292 (as for ddd-05-mem-nonblocking);
305 ddd-05-mem-nonblocking);
/openssl/doc/man3/
H A DBIO_s_mem.pod49 true). A datagram mem BIO will never return true from L<BIO_eof(3)>.
80 Calling this macro will fail for datagram mem BIOs.
168 BIO *mem = BIO_new(BIO_s_mem());
170 BIO_puts(mem, "Hello World\n");
175 BIO *mem = BIO_new_mem_buf(data, -1);
181 BIO_get_mem_ptr(mem, &bptr);
182 BIO_set_close(mem, BIO_NOCLOSE); /* So BIO_free() leaves BUF_MEM alone */
183 BIO_free(mem);
193 BIO_set_close(mem, BIO_NOCLOSE); /* So BIO_free orphans BUF_MEM */
H A DBIO_new.pod68 BIO *mem = BIO_new(BIO_s_mem());
/openssl/engines/
H A De_loader_attic.c445 BUF_MEM *mem = NULL; in try_decode_PKCS8Encrypted() local
460 if ((mem = BUF_MEM_new()) == NULL) { in try_decode_PKCS8Encrypted()
477 mem->data = (char *)new_data; in try_decode_PKCS8Encrypted()
478 mem->max = mem->length = (size_t)new_data_len; in try_decode_PKCS8Encrypted()
482 store_info = new_EMBEDDED(PEM_STRING_PKCS8INF, mem); in try_decode_PKCS8Encrypted()
491 BUF_MEM_free(mem); in try_decode_PKCS8Encrypted()
1400 BUF_MEM *mem = NULL; in file_read_asn1() local
1402 if (asn1_d2i_read_bio(bp, &mem) < 0) in file_read_asn1()
1405 *data = (unsigned char *)mem->data; in file_read_asn1()
1406 *len = (long)mem->length; in file_read_asn1()
[all …]
H A De_afalg.txt17 AFALG_R_MEM_ALLOC_FAILED:102:mem alloc failed
/openssl/fuzz/
H A Dfuzz_introspector_exclusion.config8 mem.c
/openssl/apps/
H A Dcmp.c3237 BIO *mem; in print_keyspec() local
3247 mem = BIO_new(BIO_s_mem()); in print_keyspec()
3248 if (mem == NULL) { in print_keyspec()
3252 BIO_printf(mem, "Key %s:\n", desc); in print_keyspec()
3268 BIO_printf(mem, "Key algorithm: "); in print_keyspec()
3269 i2a_ASN1_OBJECT(mem, oid); in print_keyspec()
3271 BIO_printf(mem, "\n"); in print_keyspec()
3273 BIO_printf(mem, " - "); in print_keyspec()
3288 BIO_printf(mem, "End of key %s", desc); in print_keyspec()
3290 len = BIO_get_mem_data(mem, &p); in print_keyspec()
[all …]
/openssl/apps/lib/
H A Dapps.c2028 BIO *mem; in bio_to_mem() local
2032 mem = BIO_new(BIO_s_mem()); in bio_to_mem()
2033 if (mem == NULL) in bio_to_mem()
2042 BIO_free(mem); in bio_to_mem()
2048 BIO_free(mem); in bio_to_mem()
2057 ret = BIO_get_mem_data(mem, (char **)out); in bio_to_mem()
2058 BIO_set_flags(mem, BIO_FLAGS_MEM_RDONLY); in bio_to_mem()
2059 BIO_free(mem); in bio_to_mem()
2612 BIO *mem; in app_http_get_asn1() local
2644 resp = ASN1_item_d2i_bio(it, mem, NULL); in app_http_get_asn1()
[all …]
/openssl/crypto/x509/
H A Dx_all.c119 BIO *mem = OSSL_HTTP_get(url, NULL /* proxy */, NULL /* no_proxy */, in simple_get_asn1() local
124 ASN1_VALUE *res = ASN1_item_d2i_bio(it, mem, NULL); in simple_get_asn1()
126 BIO_free(mem); in simple_get_asn1()
/openssl/doc/man7/
H A Dbio.pod81 BIO *mem = BIO_new(BIO_s_mem());
/openssl/crypto/
H A Dbuild.info106 mem.c mem_sec.c \
/openssl/crypto/err/
H A Dopenssl.txt1012 PKCS7_R_UNABLE_TO_FIND_MEM_BIO:107:unable to find mem bio

Completed in 85 milliseconds

12