Home
last modified time | relevance | path

Searched refs:alloc (Results 1 – 20 of 20) sorted by relevance

/openssl/include/internal/
H A Dring_buf.h50 r->alloc = 0; in OSSL_SAFE_MATH_UNSIGNED()
62 r->alloc = 0; in ring_buf_destroy()
95 l = r->alloc - idx; in ring_buf_write_at()
132 l = r->alloc - idx; in ring_buf_push()
156 *max_len = r->alloc - idx; in ring_buf_get_ptr()
183 if (r->alloc == 0) { in ring_buf_get_buf_at()
191 if (l > r->alloc - idx) in ring_buf_get_buf_at()
192 l = r->alloc - idx; in ring_buf_get_buf_at()
216 if (l > r->alloc - idx) { in ring_buf_cpop_range()
218 l -= r->alloc - idx; in ring_buf_cpop_range()
[all …]
H A Djson_enc.h26 size_t alloc, cur; member
/openssl/crypto/rsa/
H A Drsa_acvp_test_params.c19 OSSL_PARAM *d, *alloc = NULL; in ossl_rsa_acvp_test_gen_params_new() local
38 alloc = OPENSSL_zalloc(sizeof(settable)); in ossl_rsa_acvp_test_gen_params_new()
39 if (alloc == NULL) in ossl_rsa_acvp_test_gen_params_new()
42 d = alloc; in ossl_rsa_acvp_test_gen_params_new()
56 ossl_rsa_acvp_test_gen_params_free(alloc); in ossl_rsa_acvp_test_gen_params_new()
57 alloc = NULL; in ossl_rsa_acvp_test_gen_params_new()
61 *dst = alloc; in ossl_rsa_acvp_test_gen_params_new()
/openssl/crypto/
H A Dparams_dup.c23 OSSL_PARAM_ALIGNED_BLOCK *alloc; /* The allocated buffer */ member
39 out->alloc = is_secure ? OPENSSL_secure_zalloc(sz) : OPENSSL_zalloc(sz); in ossl_param_buf_alloc()
40 if (out->alloc == NULL) in ossl_param_buf_alloc()
43 out->cur = out->alloc + extra_blocks; in ossl_param_buf_alloc()
126 OPENSSL_free(buf[OSSL_PARAM_BUF_PUBLIC].alloc); in OSSL_PARAM_dup()
130 dst = (OSSL_PARAM *)buf[OSSL_PARAM_BUF_PUBLIC].alloc; in OSSL_PARAM_dup()
133 ossl_param_set_secure_block(last, buf[OSSL_PARAM_BUF_SECURE].alloc, in OSSL_PARAM_dup()
H A Dinitthread.c94 init_get_thread_local(CRYPTO_THREAD_LOCAL *local, int alloc, int keep) in init_get_thread_local() argument
98 if (alloc) { in init_get_thread_local()
H A Dparam_build.c52 size_t size, size_t alloc, int type, in param_push() argument
62 pd->alloc_blocks = ossl_param_bytes_to_blocks(alloc); in param_push()
H A Dia64cpuid.S67 { .mib; alloc r2=ar.pfs,0,96,0,96
189 { .mib; alloc r2=ar.pfs,3,5,0,8
H A Dsparccpuid.S576 .section ".init",#alloc,#execinstr
/openssl/ssl/quic/
H A Djson_enc.c22 static int wbuf_init(struct json_write_buf *wbuf, BIO *bio, size_t alloc) in wbuf_init() argument
24 wbuf->buf = OPENSSL_malloc(alloc); in wbuf_init()
29 wbuf->alloc = alloc; in wbuf_init()
38 wbuf->alloc = 0; in wbuf_cleanup()
55 return wbuf->alloc - wbuf->cur; in wbuf_avail()
H A Dquic_sstream.c364 return qss->ring_buf.alloc; in ossl_quic_sstream_get_buffer_size()
/openssl/test/
H A Dwpackettest.c22 static const unsigned char alloc[] = { 0x02, 0xfe, 0xff }; variable
135 || !TEST_mem_eq(sbuf, written, alloc, sizeof(alloc))) in test_WPACKET_init()
343 || !TEST_mem_eq(buf->data, written, alloc, sizeof(alloc))) in test_WPACKET_allocate_bytes()
370 || !TEST_mem_eq(buf->data, written, alloc, sizeof(alloc))) in test_WPACKET_memcpy()
/openssl/crypto/dh/
H A Ddh_key.c417 int alloc) in ossl_dh_key2buf() argument
432 if (pbuf_out != NULL && (alloc || *pbuf_out != NULL)) { in ossl_dh_key2buf()
433 if (!alloc) { in ossl_dh_key2buf()
450 if (alloc) in ossl_dh_key2buf()
/openssl/engines/
H A De_afalg.txt17 AFALG_R_MEM_ALLOC_FAILED:102:mem alloc failed
/openssl/crypto/bn/asm/
H A Dia64.S184 { .mii; alloc r2=ar.pfs,4,12,0,16
237 { .mii; alloc r2=ar.pfs,4,12,0,16
410 { .mmi; alloc r2=ar.pfs,4,4,0,8
478 { .mii; alloc r2=ar.pfs,3,0,0,0
558 { .mii; alloc r2=ar.pfs,2,1,0,0
563 { .mii; alloc r2=ar.pfs,2,1,0,0
629 { .mii; alloc r2=ar.pfs,3,0,0,0
634 { .mii; alloc r2=ar.pfs,3,0,0,0
1191 { .mii; alloc r2=ar.pfs,2,1,0,0
1223 { .mii; alloc r2=ar.pfs,3,0,0,0
[all …]
H A Dsparcv8.S35 .section ".text",#alloc,#execinstr
H A Dsparcv8plus.S165 .section ".text",#alloc,#execinstr
/openssl/include/crypto/
H A Ddh.h51 int alloc);
/openssl/crypto/poly1305/asm/
H A Dpoly1305-ia64.S44 { .mmi; alloc r2=ar.pfs,2,0,0,0
118 { .mii; alloc r2=ar.pfs,4,1,0,0
285 { .mmi; alloc r2=ar.pfs,3,0,0,0
/openssl/crypto/aes/asm/
H A Daes-ia64.S99 { .mmi; alloc r16=ar.pfs,12,0,0,8
289 { .mmi; alloc pfssave=ar.pfs,3,1,12,0
476 { .mmi; alloc r16=ar.pfs,12,0,0,8
666 { .mmi; alloc pfssave=ar.pfs,3,1,12,0
/openssl/include/openssl/
H A Dasn1.h.in758 /* ASN1 alloc/free macros for when a type is only used internally */

Completed in 59 milliseconds