Home
last modified time | relevance | path

Searched refs:prev (Results 1 – 25 of 38) sorted by relevance

12

/openssl/include/internal/
H A Dlist.h57 type *next, *prev; \
109 ->ossl_list_ ## name.prev == elem); \
115 assert(elem->ossl_list_ ## name.prev == NULL \
116 || elem->ossl_list_ ## name.prev \
118 return elem->ossl_list_ ## name.prev; \
128 list->omega = elem->ossl_list_ ## name.prev; \
129 if (elem->ossl_list_ ## name.prev != NULL) \
130 elem->ossl_list_ ## name.prev->ossl_list_ ## name.next = \
133 elem->ossl_list_ ## name.next->ossl_list_ ## name.prev = \
134 elem->ossl_list_ ## name.prev; \
[all …]
H A Drecordmethod.h141 BIO *prev,
/openssl/crypto/async/
H A Dasync_wait.c140 struct fd_lookup_st *curr, *prev; in ASYNC_WAIT_CTX_clear_fd() local
143 prev = NULL; in ASYNC_WAIT_CTX_clear_fd()
147 prev = curr; in ASYNC_WAIT_CTX_clear_fd()
157 prev->next = curr->next; in ASYNC_WAIT_CTX_clear_fd()
177 prev = curr; in ASYNC_WAIT_CTX_clear_fd()
220 struct fd_lookup_st *curr, *prev = NULL; in async_wait_ctx_reset_counts() local
229 if (prev == NULL) in async_wait_ctx_reset_counts()
232 prev->next = curr->next; in async_wait_ctx_reset_counts()
234 if (prev == NULL) in async_wait_ctx_reset_counts()
237 curr = prev->next; in async_wait_ctx_reset_counts()
[all …]
/openssl/test/
H A Dpkey_meth_test.c25 int prev = -1; in test_asn1_meths() local
33 if (pkey_id < prev) in test_asn1_meths()
35 prev = pkey_id; in test_asn1_meths()
58 int prev = -1; in test_pkey_meths() local
66 if (pkey_id < prev) in test_pkey_meths()
68 prev = pkey_id; in test_pkey_meths()
H A Dcontext_internal_test.c19 OSSL_LIB_CTX *prev; in test_set0_default() local
28 if (!TEST_ptr(prev = OSSL_LIB_CTX_set0_default(local)) in test_set0_default()
29 || !TEST_ptr_eq(global, prev)) in test_set0_default()
41 if (!TEST_ptr(prev = OSSL_LIB_CTX_set0_default(global)) in test_set0_default()
42 || !TEST_ptr_eq(local, prev)) in test_set0_default()
H A Dx509_internal_test.c32 int prev = -1, good = 1; in test_standard_exts() local
37 if ((*tmp)->ext_nid < prev) in test_standard_exts()
39 prev = (*tmp)->ext_nid; in test_standard_exts()
/openssl/ssl/quic/
H A Dquic_cfq.c104 l->tail = n->prev; in list_remove()
105 if (n->prev != NULL) in list_remove()
108 n->next->prev = n->prev; in list_remove()
109 n->prev = n->next = NULL; in list_remove()
115 n->prev = NULL; in list_insert_head()
118 n->next->prev = n; in list_insert_head()
125 n->prev = l->tail; in list_insert_tail()
128 if (n->prev != NULL) in list_insert_tail()
129 n->prev->next = n; in list_insert_tail()
138 n->prev = ref; in list_insert_after()
[all …]
H A Dquic_txpim.c17 QUIC_TXPIM_PKT_EX *prev, *next; member
73 l->tail = n->prev; in list_remove()
74 if (n->prev != NULL) in list_remove()
75 n->prev->next = n->next; in list_remove()
77 n->next->prev = n->prev; in list_remove()
78 n->prev = n->next = NULL; in list_remove()
83 n->prev = l->tail; in list_insert_tail()
86 if (n->prev != NULL) in list_insert_tail()
87 n->prev->next = n; in list_insert_tail()
H A Dquic_stream_map.c26 assert(n->prev == NULL && n->next == NULL in list_insert_tail()
27 && l->prev != NULL && l->next != NULL); in list_insert_tail()
29 n->prev = l->prev; in list_insert_tail()
30 n->prev->next = n; in list_insert_tail()
31 l->prev = n; in list_insert_tail()
38 assert(n->prev != NULL && n->next != NULL in list_remove()
39 && n->prev != n && n->next != n); in list_remove()
41 n->prev->next = n->next; in list_remove()
42 n->next->prev = n->prev; in list_remove()
43 n->next = n->prev = NULL; in list_remove()
[all …]
H A Dquic_sf_list.c15 struct stream_frame_st *prev, *next; member
71 new_frame->prev = fl->tail; in append_frame()
142 next_frame->prev = drop_frame->prev; in ossl_sframe_list_insert()
160 next_frame->prev = new_frame; in ossl_sframe_list_insert()
166 new_frame->prev = prev_frame; in ossl_sframe_list_insert()
242 sf->prev = NULL; in ossl_sframe_list_drop_frames()
320 sf->next->prev = prev_frame; in ossl_sframe_list_move_data()
H A Dquic_srtm.c189 SRTM_ITEM key, *item = NULL, *prev = NULL; in srtm_find() local
197 for (; item != NULL; prev = item, item = item->next_by_seq_num) in srtm_find()
210 *prev_p = prev; in srtm_find()
381 SRTM_ITEM *item, *prev = NULL; in ossl_quic_srtm_remove() local
386 if ((item = srtm_find(srtm, opaque, seq_num, NULL, &prev)) == NULL) in ossl_quic_srtm_remove()
391 if (prev == NULL) { in ossl_quic_srtm_remove()
404 prev->next_by_seq_num = item->next_by_seq_num; in ossl_quic_srtm_remove()
H A Dquic_demux.c175 QUIC_URXE *e2, *prev; in demux_resize_urxe() local
181 prev = ossl_list_urxe_prev(e); in demux_resize_urxe()
187 if (prev == NULL) in demux_resize_urxe()
190 ossl_list_urxe_insert_after(&demux->urx_free, prev, e); in demux_resize_urxe()
195 if (prev == NULL) in demux_resize_urxe()
198 ossl_list_urxe_insert_after(&demux->urx_free, prev, e2); in demux_resize_urxe()
/openssl/dev/release-aux/
H A Dfix-title.pl3 BEGIN { my $prev }
4 ($_ = $prev) =~ s|^( *)(.*)$|"$1" . '=' x length($2)|e
6 $prev = $_;
/openssl/crypto/
H A Dinitthread.c326 THREAD_EVENT_HANDLER *curr, *prev = NULL, *tmp; in init_thread_stop() local
347 prev = curr; in init_thread_stop()
352 if (prev == NULL) in init_thread_stop()
355 prev->next = curr->next; in init_thread_stop()
441 THREAD_EVENT_HANDLER *curr = NULL, *prev = NULL, *tmp; in init_thread_deregister() local
451 if (prev != NULL) in init_thread_deregister()
452 prev->next = curr->next; in init_thread_deregister()
460 prev = curr; in init_thread_deregister()
/openssl/ssl/
H A Dssl_sess.c170 dest->prev = NULL; in ssl_session_dup_intern()
1277 ctx->session_cache_tail = s->prev; in SSL_SESSION_list_remove()
1287 s->next->prev = s->prev; in SSL_SESSION_list_remove()
1288 s->prev->next = s->next; in SSL_SESSION_list_remove()
1291 s->prev = s->next = NULL; in SSL_SESSION_list_remove()
1314 s->next->prev = s; in SSL_SESSION_list_add()
1319 s->prev = ctx->session_cache_tail; in SSL_SESSION_list_add()
1320 s->prev->next = s; in SSL_SESSION_list_add()
1332 s->prev = next->prev; in SSL_SESSION_list_add()
1333 next->prev->next = s; in SSL_SESSION_list_add()
[all …]
H A Dssl_ciph.c616 if (curr->prev != NULL) in ll_append_tail()
619 curr->next->prev = curr->prev; in ll_append_tail()
621 curr->prev = *tail; in ll_append_tail()
632 *tail = curr->prev; in ll_append_head()
634 curr->next->prev = curr->prev; in ll_append_head()
635 if (curr->prev != NULL) in ll_append_head()
637 (*head)->prev = curr; in ll_append_head()
639 curr->prev = NULL; in ll_append_head()
693 co_list[0].prev = NULL; in ssl_cipher_collect_ciphers()
904 curr->next->prev = curr->prev; in ssl_cipher_apply_rule()
[all …]
/openssl/crypto/engine/
H A Deng_list.c101 e->prev = NULL; in engine_list_add()
110 e->prev = engine_list_tail; in engine_list_add()
137 e->next->prev = e->prev; in engine_list_remove()
138 if (e->prev) in engine_list_remove()
139 e->prev->next = e->next; in engine_list_remove()
144 engine_list_tail = e->prev; in engine_list_remove()
320 ret = e->prev; in ENGINE_get_prev()
H A Deng_local.h149 struct engine_st *prev; member
/openssl/crypto/aes/
H A Daes_ige.c196 unsigned char prev[AES_BLOCK_SIZE]; in AES_bi_ige_encrypt() local
220 memcpy(prev, in, AES_BLOCK_SIZE); in AES_bi_ige_encrypt()
221 iv2 = prev; in AES_bi_ige_encrypt()
255 memcpy(prev, tmp, AES_BLOCK_SIZE); in AES_bi_ige_encrypt()
256 iv2 = prev; in AES_bi_ige_encrypt()
H A Daes_core.c603 uni prev; in KeyExpansion() local
610 prev.d = w[n-1]; in KeyExpansion()
612 temp = prev.w[1]; in KeyExpansion()
621 prev.d = w[i-n]; in KeyExpansion()
622 prev.w[0] ^= temp; in KeyExpansion()
623 prev.w[1] ^= prev.w[0]; in KeyExpansion()
624 w[i] = prev.d; in KeyExpansion()
/openssl/crypto/asn1/
H A Da_strex.c427 int i, prev = -1, orflags, cnt; in do_name_ex() local
494 if (prev != -1) { in do_name_ex()
495 if (prev == X509_NAME_ENTRY_set(ent)) { in do_name_ex()
508 prev = X509_NAME_ENTRY_set(ent); in do_name_ex()
/openssl/crypto/bn/
H A Dbn_ctx.c28 struct bignum_pool_item *prev, *next; member
328 item->prev = p->tail; in BN_POOL_get()
360 p->current = p->current->prev; in BN_POOL_release()
/openssl/doc/designs/ddd/
H A Dddd-06-mem-uv.c45 struct upper_write_op_st *prev, *next; member
259 op->prev = conn->pending_upper_write_tail; in enqueue_upper_write_op()
260 if (op->prev) in enqueue_upper_write_op()
261 op->prev->next = op; in enqueue_upper_write_op()
278 conn->pending_upper_write_head->prev = NULL; in dequeue_upper_write_op()
/openssl/providers/implementations/kdfs/
H A Dhkdf.c573 unsigned char prev[EVP_MAX_MD_SIZE]; in HKDF_Expand() local
604 if (!HMAC_Update(hmac, prev, dig_len)) in HKDF_Expand()
614 if (!HMAC_Final(hmac, prev, NULL)) in HKDF_Expand()
621 memcpy(okm + done_len, prev, copy_len); in HKDF_Expand()
628 OPENSSL_cleanse(prev, sizeof(prev)); in HKDF_Expand()
/openssl/ssl/record/methods/
H A Dtls_common.c396 BIO *bio = rl->prev != NULL ? rl->prev : rl->bio; in tls_default_read_n()
411 if (rl->prev != NULL) { in tls_default_read_n()
416 BIO_free(rl->prev); in tls_default_read_n()
417 rl->prev = NULL; in tls_default_read_n()
1254 const EVP_MD *md, COMP_METHOD *comp, BIO *prev, in tls_int_new_record_layer() argument
1332 if (prev != NULL && !BIO_up_ref(prev)) in tls_int_new_record_layer()
1334 rl->prev = prev; in tls_int_new_record_layer()
1394 const EVP_MD *kdfdigest, BIO *prev, BIO *transport, in tls_new_record_layer() argument
1403 ciph, taglen, md, comp, prev, in tls_new_record_layer()
1446 BIO_free(rl->prev); in tls_int_free()

Completed in 57 milliseconds

12