Home
last modified time | relevance | path

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

12

/ssl/statem/
A DREADME.md12 - Simplify transitions and bring the logic together in a single location
15 - Receive a message first and then work out whether that is a valid
22 event of NBIO events; handling the common flow of steps for reading a
23 message and the common flow of steps for writing a message etc
28 The message flow state machine is divided into a reading sub-state machine and a
29 writing sub-state machine. See the source comments in statem.c for a more
/ssl/quic/
A Dquic_txp.c1430 struct archetype_data a; in txp_should_try_staging() local
1440 if (!a.bypass_cc && cc_limit == 0) in txp_should_try_staging()
1479 if (a.allow_force_ack_eliciting) { in txp_should_try_staging()
1501 if (a.allow_force_ack_eliciting in txp_should_try_staging()
1511 if (a.allow_conn_fc in txp_should_try_staging()
1936 if (a->allow_ack in txp_generate_pre_token()
2727 if (a.allow_conn_fc in txp_generate_for_el()
2751 if (a.allow_conn_fc in txp_generate_for_el()
2777 if (a.allow_conn_fc in txp_generate_for_el()
2883 if (a.allow_crypto) in txp_generate_for_el()
[all …]
A Dquic_cfq.c84 static int compare(const QUIC_CFQ_ITEM_EX *a, const QUIC_CFQ_ITEM_EX *b) in compare() argument
86 if (a->pn_space < b->pn_space) in compare()
88 else if (a->pn_space > b->pn_space) in compare()
91 if (a->priority > b->priority) in compare()
93 else if (a->priority < b->priority) in compare()
148 int (*cmp)(const QUIC_CFQ_ITEM_EX *a, in list_insert_sorted() argument
A Dquic_srtm.c74 static int items_fwd_cmp(const SRTM_ITEM *a, const SRTM_ITEM *b) in items_fwd_cmp() argument
76 return a->opaque != b->opaque; in items_fwd_cmp()
91 static int items_rev_cmp(const SRTM_ITEM *a, const SRTM_ITEM *b) in items_rev_cmp() argument
97 return memcmp(a->srt_blinded, b->srt_blinded, sizeof(a->srt_blinded)); in items_rev_cmp()
A Dquic_wire.c139 size_t a, b, c; in ossl_quic_wire_get_encoded_frame_len_crypto_hdr() local
141 a = ossl_quic_vlint_encode_len(OSSL_QUIC_FRAME_TYPE_CRYPTO); in ossl_quic_wire_get_encoded_frame_len_crypto_hdr()
144 if (a == 0 || b == 0 || c == 0) in ossl_quic_wire_get_encoded_frame_len_crypto_hdr()
147 return a + b + c; in ossl_quic_wire_get_encoded_frame_len_crypto_hdr()
205 size_t a, b, c, d; in ossl_quic_wire_get_encoded_frame_len_stream_hdr() local
207 a = ossl_quic_vlint_encode_len(OSSL_QUIC_FRAME_TYPE_STREAM); in ossl_quic_wire_get_encoded_frame_len_stream_hdr()
209 if (a == 0 || b == 0) in ossl_quic_wire_get_encoded_frame_len_stream_hdr()
228 return a + b + c + d; in ossl_quic_wire_get_encoded_frame_len_stream_hdr()
A Duint_set.c105 static int uint_range_overlaps(const UINT_RANGE *a, in uint_range_overlaps() argument
108 return u64_min(a->end, b->end) in uint_range_overlaps()
109 >= u64_max(a->start, b->start); in uint_range_overlaps()
A Dquic_record_tx.c786 static int addr_eq(const BIO_ADDR *a, const BIO_ADDR *b) in addr_eq() argument
788 return ((a == NULL || BIO_ADDR_family(a) == AF_UNSPEC) in addr_eq()
790 || (a != NULL && b != NULL && memcmp(a, b, sizeof(*a)) == 0); in addr_eq()
A Dquic_lcidm.c88 static int lcid_comp(const QUIC_LCID *a, const QUIC_LCID *b) in lcid_comp() argument
90 return !ossl_quic_conn_id_eq(&a->cid, &b->cid); in lcid_comp()
98 static int lcidm_conn_comp(const QUIC_LCIDM_CONN *a, const QUIC_LCIDM_CONN *b) in lcidm_conn_comp() argument
100 return a->opaque != b->opaque; in lcidm_conn_comp()
A Dquic_channel.c1336 static uint64_t min_u64_ignore_0(uint64_t a, uint64_t b) in min_u64_ignore_0() argument
1338 if (a == 0) in min_u64_ignore_0()
1341 return a; in min_u64_ignore_0()
1343 return a < b ? a : b; in min_u64_ignore_0()
2330 if (BIO_ADDR_family(a) != BIO_ADDR_family(b)) in bio_addr_eq()
2333 switch (BIO_ADDR_family(a)) { in bio_addr_eq()
2335 return !memcmp(&a->s_in.sin_addr, in bio_addr_eq()
2337 sizeof(a->s_in.sin_addr)) in bio_addr_eq()
2338 && a->s_in.sin_port == b->s_in.sin_port; in bio_addr_eq()
2341 return !memcmp(&a->s_in6.sin6_addr, in bio_addr_eq()
[all …]
A Dquic_rcidm.c272 static int rcid_cmp(const RCID *a, const RCID *b) in rcid_cmp() argument
274 if (a->seq_num < b->seq_num) in rcid_cmp()
276 if (a->seq_num > b->seq_num) in rcid_cmp()
A Dquic_txpim.c186 static int compare(const void *a, const void *b) in compare() argument
188 const QUIC_TXPIM_CHUNK *ac = a, *bc = b; in compare()
A Dquic_stream_map.c82 static int cmp_stream(const QUIC_STREAM *a, const QUIC_STREAM *b) in cmp_stream() argument
84 if (a->id < b->id) in cmp_stream()
86 if (a->id > b->id) in cmp_stream()
A Dquic_ackm.c67 static int tx_pkt_info_compare(const OSSL_ACKM_TX_PKT *a, in tx_pkt_info_compare() argument
70 if (a->pkt_num < b->pkt_num) in tx_pkt_info_compare()
72 if (a->pkt_num > b->pkt_num) in tx_pkt_info_compare()
A Dquic_impl.c4766 static int quic_token_cmp(const QUIC_TOKEN *a, const QUIC_TOKEN *b) in quic_token_cmp() argument
4768 if (a->hashkey_len != b->hashkey_len) in quic_token_cmp()
4770 return memcmp(a->hashkey, b->hashkey, a->hashkey_len); in quic_token_cmp()
/ssl/
A Dssl_asn1.c257 SSL_SESSION *d2i_SSL_SESSION(SSL_SESSION **a, const unsigned char **pp, in d2i_SSL_SESSION() argument
260 return d2i_SSL_SESSION_ex(a, pp, length, NULL, NULL); in d2i_SSL_SESSION()
262 SSL_SESSION *d2i_SSL_SESSION_ex(SSL_SESSION **a, const unsigned char **pp, in d2i_SSL_SESSION_ex() argument
277 if (a == NULL || *a == NULL) { in d2i_SSL_SESSION_ex()
282 ret = *a; in d2i_SSL_SESSION_ex()
423 if ((a != NULL) && (*a == NULL)) in d2i_SSL_SESSION_ex()
424 *a = ret; in d2i_SSL_SESSION_ex()
430 if ((a == NULL) || (*a != ret)) in d2i_SSL_SESSION_ex()
A Dtls_srp.c44 BN_free(ctx->srp_ctx.a); in ssl_ctx_srp_ctx_free_intern()
72 BN_free(s->srp_ctx.a); in ssl_srp_ctx_free_intern()
124 ((ctx->srp_ctx.a != NULL) && in ssl_srp_ctx_init_intern()
125 ((s->srp_ctx.a = BN_dup(ctx->srp_ctx.a)) == NULL)) || in ssl_srp_ctx_init_intern()
154 BN_free(s->srp_ctx.a); in ssl_srp_ctx_init_intern()
387 s->srp_ctx.a, u, in srp_generate_client_master_secret()
455 s->srp_ctx.a = BN_bin2bn(rnd, sizeof(rnd), s->srp_ctx.a); in ssl_srp_calc_a_param_intern()
458 if (!(s->srp_ctx.A = SRP_Calc_A(s->srp_ctx.a, s->srp_ctx.N, s->srp_ctx.g))) in ssl_srp_calc_a_param_intern()
A Dssl_lib.c3264 if (a->id > b->id) in ssl_cipher_id_cmp()
3266 if (a->id < b->id) in ssl_cipher_id_cmp()
3894 memcpy(tmp_storage, a->session_id, a->session_id_length); in ssl_session_hash()
3919 return memcmp(a->session_id, b->session_id, a->session_id_length); in ssl_session_cmp()
4387 if (a == NULL) in SSL_CTX_free()
4400 a->do_sslkeylog = 0; in SSL_CTX_free()
4420 CRYPTO_free_ex_data(CRYPTO_EX_INDEX_SSL_CTX, a, &a->ex_data); in SSL_CTX_free()
4429 ssl_cert_free(a->cert); in SSL_CTX_free()
4433 a->comp_methods = NULL; in SSL_CTX_free()
4490 OPENSSL_free(a->propq); in SSL_CTX_free()
[all …]
A Dssl_cert_comp.c45 int ossl_comp_has_alg(int a) in ossl_comp_has_alg() argument
49 if ((a == 0 || a == TLSEXT_comp_cert_brotli) && BIO_f_brotli() != NULL) in ossl_comp_has_alg()
51 if ((a == 0 || a == TLSEXT_comp_cert_zstd) && BIO_f_zstd() != NULL) in ossl_comp_has_alg()
53 if ((a == 0 || a == TLSEXT_comp_cert_zlib) && BIO_f_zlib() != NULL) in ossl_comp_has_alg()
A Dbio_ssl.c76 static int ssl_free(BIO *a) in ssl_free() argument
80 if (a == NULL) in ssl_free()
82 bs = BIO_get_data(a); in ssl_free()
83 if (BIO_get_shutdown(a)) { in ssl_free()
86 if (BIO_get_init(a)) in ssl_free()
88 BIO_clear_flags(a, ~0); /* Clear all flags */ in ssl_free()
89 BIO_set_init(a, 0); in ssl_free()
A Dssl_cert.c36 # define S_ISDIR(a) (((a) & S_IFMT) == S_IFDIR) argument
738 static int xname_cmp(const X509_NAME *a, const X509_NAME *b) in xname_cmp() argument
746 alen = i2d_X509_NAME((X509_NAME *)a, &abuf); in xname_cmp()
762 static int xname_sk_cmp(const X509_NAME *const *a, const X509_NAME *const *b) in xname_sk_cmp() argument
764 return xname_cmp(*a, *b); in xname_sk_cmp()
767 static unsigned long xname_hash(const X509_NAME *a) in xname_hash() argument
770 return X509_NAME_hash_ex((X509_NAME *)a, NULL, NULL, NULL); in xname_hash()
1082 int (*oldcmp) (const X509_NAME *const *a, const X509_NAME *const *b) in SSL_add_store_cert_subjects_to_stack()
A Dssl_ciph.c619 #define ITEM_SEP(a) \ argument
620 (((a) == ':') || ((a) == ' ') || ((a) == ';') || ((a) == ','))
A Dt1_lib.c933 static void free_wrapper(TLS_GROUP_IX *a) in DEFINE_STACK_OF()
935 OPENSSL_free(a); in DEFINE_STACK_OF()
938 static int tls_group_ix_cmp(const TLS_GROUP_IX *const *a, in tls_group_ix_cmp() argument
941 int idcmpab = (*a)->grp->group_id < (*b)->grp->group_id; in tls_group_ix_cmp()
942 int idcmpba = (*b)->grp->group_id < (*a)->grp->group_id; in tls_group_ix_cmp()
943 int ixcmpab = (*a)->ix < (*b)->ix; in tls_group_ix_cmp()
944 int ixcmpba = (*b)->ix < (*a)->ix; in tls_group_ix_cmp()
A Dssl_sess.c39 __owur static ossl_inline int timeoutcmp(SSL_SESSION *a, SSL_SESSION *b) in timeoutcmp() argument
41 return ossl_time_compare(a->calc_timeout, b->calc_timeout); in timeoutcmp()
A Dssl_local.h583 BIGNUM *a, *b, *v; member
2553 __owur int ssl_cipher_id_cmp(const SSL_CIPHER *a, const SSL_CIPHER *b);
3082 int ossl_comp_has_alg(int a);
/ssl/record/methods/
A Dbuild.info16 SOURCE[../../../providers/libdefault.a ../../../providers/libfips.a]=ssl3_cbc.c
22 SOURCE[../../../providers/libcommon.a]=tls_pad.c

Completed in 101 milliseconds

12