Home
last modified time | relevance | path

Searched refs:local (Results 1 – 25 of 104) sorted by relevance

12345

/openssl/test/
H A Dthreadpool_test.c61 uint32_t local; in test_thread_native() local
66 local = 1; in test_thread_native()
67 t = ossl_crypto_thread_native_start(test_thread_native_fn, &local, 1); in test_thread_native()
82 if (!TEST_int_eq(retval, 1) || !TEST_int_eq(local, 2)) in test_thread_native()
99 uint32_t local[3] = { 0 }; in test_thread_internal() local
137 t[0] = ossl_crypto_thread_start(NULL, test_thread_native_fn, &local[0]); in test_thread_internal()
150 t[0] = ossl_crypto_thread_start(NULL, test_thread_native_fn, &local[0]); in test_thread_internal()
166 local[0] = i + 1; in test_thread_internal()
183 if (!TEST_int_eq(retval[0], i + 1) || !TEST_int_eq(local[0], i + 2)) in test_thread_internal()
200 local[i] = i + 1; in test_thread_internal()
[all …]
H A Dcontext_internal_test.c18 OSSL_LIB_CTX *local = OSSL_LIB_CTX_new(); in test_set0_default() local
23 || !TEST_ptr(local) in test_set0_default()
28 if (!TEST_ptr(prev = OSSL_LIB_CTX_set0_default(local)) in test_set0_default()
33 if (!TEST_ptr_eq(local, OSSL_LIB_CTX_set0_default(NULL))) in test_set0_default()
42 || !TEST_ptr_eq(local, prev)) in test_set0_default()
47 OSSL_LIB_CTX_free(local); in test_set0_default()
H A Dbio_dgram_test.c240 tx_msg[0].local = NULL; in test_bio_dgram_impl()
246 tx_msg[1].local = NULL; in test_bio_dgram_impl()
259 tx_msg[0].local = addr1; in test_bio_dgram_impl()
261 tx_msg[1].local = addr1; in test_bio_dgram_impl()
271 tx_msg[0].local = NULL; in test_bio_dgram_impl()
272 tx_msg[1].local = NULL; in test_bio_dgram_impl()
285 rx_msg[0].local = addr4; in test_bio_dgram_impl()
322 rx_msg[0].local = NULL; in test_bio_dgram_impl()
323 rx_msg[1].local = NULL; in test_bio_dgram_impl()
433 int af, local; member
[all …]
H A DREADME-external.md11 This python test suite runs cryptographic tests with a local OpenSSL build as
38 tests against the local OpenSSL build.
72 tests against the local OpenSSL build.
95 local OpenSSL build.
124 This builds and runs pkcs11-provider tests against the local OpenSSL build.
H A Dthreadstest.c153 int local; in rwwriter1_fn() local
157 CRYPTO_atomic_add(&rwwriter1_done, 1, &local, atomiclock); in rwwriter1_fn()
162 int local; in rwwriter2_fn() local
166 CRYPTO_atomic_add(&rwwriter2_done, 1, &local, atomiclock); in rwwriter2_fn()
349 int local; in writer1_fn() local
353 CRYPTO_atomic_add(&writer1_done, 1, &local, atomiclock); in writer1_fn()
358 int local; in writer2_fn() local
362 CRYPTO_atomic_add(&writer2_done, 1, &local, atomiclock); in writer2_fn()
/openssl/crypto/
H A Dinitthread.c94 init_get_thread_local(CRYPTO_THREAD_LOCAL *local, int alloc, int keep) in init_get_thread_local() argument
96 THREAD_EVENT_HANDLER **hands = CRYPTO_THREAD_get_local(local); in init_get_thread_local()
104 if (!CRYPTO_THREAD_set_local(local, hands)) { in init_get_thread_local()
111 CRYPTO_THREAD_set_local(local, NULL); in init_get_thread_local()
118 CRYPTO_THREAD_set_local(local, NULL); in init_get_thread_local()
312 CRYPTO_THREAD_LOCAL *local in ossl_ctx_thread_stop() local
315 if (local == NULL) in ossl_ctx_thread_stop()
317 hands = init_get_thread_local(local, 0, 0); in ossl_ctx_thread_stop()
380 CRYPTO_THREAD_LOCAL *local in ossl_init_thread_start() local
389 CRYPTO_THREAD_LOCAL *local = &destructor_key.value; in ossl_init_thread_start() local
[all …]
/openssl/doc/man3/
H A DBIO_sendmmsg.pod16 BIO_ADDR *peer, *local;
79 I<local> may not be available on all platforms; on these platforms, these
80 functions always fail if I<local> is non-NULL.
82 If I<local> is specified and local address support is enabled, but the operating
89 before local address support was enabled for a receiving socket. These are
116 whether local address support is enabled. To enable local address support, call
118 local address support is not available for the platform.
123 local addresses.
158 The I<local> field was set to a non-NULL value, but local address support is not
204 BIO_dgram_set_local_addr_enable() returns 1 if local address support was
[all …]
H A DSSL_inject_net_dgram.pod14 const BIO_ADDR *local);
27 I<peer> and I<local> are optional values pointing to B<BIO_ADDR> structures
28 describing the remote and local UDP endpoint addresses for the packet. Though
H A DASN1_STRING_TABLE_add.pod29 local ASN1 string table based on the I<nid> along with other parameters.
38 on I<nid>. It will search the local table first, then the standard one.
H A DRAND_get0_primary.pod27 The I<public> and I<private> DRBG are thread-local instances, which are used
55 they are thread-local. Note however, that changes to these two instances
H A DOSSL_ERR_STATE_save.pod21 local error state to a preallocated error state structure.
38 effect.) If there is no marked ERR in the thread local error state, all ERR
/openssl/crypto/bio/
H A Dbss_dgram.c1123 local->s_in.sin_addr = in extract_local()
1207 if (local->s_in.sin_port != 0 in pack_local()
1242 *info = local->s_in.sin_addr; in pack_local()
1245 if (local->s_in.sin_port != 0 in pack_local()
1277 if (local->s_in6.sin6_port != 0 in pack_local()
1415 if (msg->local != NULL) { in dgram_sendmmsg()
1447 if (msg[0].local != NULL) { in dgram_sendmmsg()
1478 if (msg[0].local != NULL) { in dgram_sendmmsg()
1643 if (msg->local != NULL) in dgram_recvmmsg()
1693 if (msg[0].local != NULL) in dgram_recvmmsg()
[all …]
H A Dbss_dgram_pair.c875 BIO_ADDR *local, BIO_ADDR *peer, in dgram_pair_read_actual() argument
902 if (local != NULL && b->local_addr_enable == 0) in dgram_pair_read_actual()
949 if (local != NULL) in dgram_pair_read_actual()
950 *local = hdr.dst_addr; in dgram_pair_read_actual()
1069 m->local, m->peer, 1); in dgram_pair_recvmmsg()
1201 const BIO_ADDR *local, const BIO_ADDR *peer, in dgram_pair_write_actual() argument
1221 if (local != NULL && b->local_addr_enable == 0) in dgram_pair_write_actual()
1233 hdr.src_addr = (local != NULL ? *local : zero_addr); in dgram_pair_write_actual()
1306 m->local, m->peer, 1); in dgram_pair_sendmmsg()
/openssl/doc/designs/quic-design/
H A Dconnection-id-cache.md4 The connection ID cache is responsible for managing connection IDs, both local
31 For local connection IDs, we need to be able to:
46 There will be one global set of local connection IDs, `QUIC_ROUTE_TABLE`,
58 * For MVP, the local connection ID cache need only have one element.
72 It is likely that operations on local and remote connection IDs can be
178 * Allocate and free a local connection ID cache
192 * Remove a local connection and all associated cached IDs
198 * Lookup a local connection by ID.
206 * Retire local connection IDs up to and including the one specified by the
230 QUIC_CONN_ID local;
[all …]
H A Derror-handling.md14 The error stacks are thread-local. Libssl API calls from separate threads
29 The error stack access is not under a lock (because it is thread-local).
80 are copied to the thread local error stack. They are always kept on
/openssl/ssl/quic/
H A Dquic_demux.c278 msg[i].local = &urxe->local; in demux_recv()
280 BIO_ADDR_clear(&urxe->local); in demux_recv()
410 const BIO_ADDR *local) in ossl_quic_demux_inject() argument
435 if (local != NULL) in ossl_quic_demux_inject()
436 urxe->local = *local; in ossl_quic_demux_inject()
438 BIO_ADDR_clear(&urxe->local); in ossl_quic_demux_inject()
H A Dquic_record_tx.c34 BIO_ADDR peer, local; member
819 || !addr_eq(&qtx->cons->local, pkt->local)) { in ossl_qtx_write_pkt()
850 if (pkt->local != NULL) in ossl_qtx_write_pkt()
851 txe->local = *pkt->local; in ossl_qtx_write_pkt()
853 BIO_ADDR_clear(&txe->local); in ossl_qtx_write_pkt()
926 msg->local in txe_to_msg()
927 = BIO_ADDR_family(&txe->local) != AF_UNSPEC ? &txe->local : NULL; in txe_to_msg()
H A Dquic_record_rx.c56 BIO_ADDR peer, local; member
436 rxe->pkt.local = NULL; in qrx_recycle_rxe()
872 rxe->local = urxe->local; in qrx_process_pkt()
1057 rxe->local = urxe->local; in qrx_process_pkt()
1235 rxe->pkt.local in ossl_qrx_read_pkt()
1236 = BIO_ADDR_family(&rxe->local) != AF_UNSPEC ? &rxe->local : NULL; in ossl_qrx_read_pkt()
/openssl/test/quic-openssl-docker/
H A DREADME.md13 Please see instructions there for running local interop testing
23 will pick up the container from your local registry rather than downloading it
/openssl/include/internal/
H A Dquic_demux.h120 BIO_ADDR peer, local; member
295 const BIO_ADDR *local);
/openssl/doc/man7/
H A Dproperty.pod128 A context based property query that applies to all fetch operations and a local
130 Where both the context and local queries include a clause with the same name,
131 the local clause overrides the context clause.
133 It is possible for a local property query to remove a clause in the context
139 operations being performed, the local property query can include the
141 Note that the local property query could not use "fips=no" because that would
/openssl/
H A DNOTES-UNIX.md23 libraries, such as `/lib`, `/usr/lib` or possibly `/usr/local/lib`. If
61 $ ./Configure --prefix=/usr/local/ssl --openssldir=/usr/local/ssl \
89 $ ./Configure --prefix=/usr/local/ssl --openssldir=/usr/local/ssl \
H A DNOTES-NONSTOP.md86 * For 1.1 `--prefix=/usr/local-ssl1.1 --openssldir=/usr/local-ssl1.1/ssl`
87 * For 1.1 PUT `--prefix=/usr/local-ssl1.1_put --openssldir=/usr/local-ssl1.1_put/ssl`
92 * For 3.0 `--prefix=/usr/local-ssl3.0 --openssldir=/usr/local-ssl3.0/ssl`
190 SYSTEMLIBS="-L/E/cs3/usr/local/lib"
/openssl/doc/internal/man3/
H A Dossl_init_thread_deregister.pod31 thread local variable and then register a stop handler. When the thread is
33 clean up the value stored in the thread local variable.
/openssl/test/helpers/
H A Dnoisydgrambio.c479 BIO_ADDR_free(data->msg.local); in data_free()
493 data->msg.local = BIO_ADDR_new(); in noisy_dgram_new()
496 || data->msg.local == NULL) { in noisy_dgram_new()

Completed in 89 milliseconds

12345