/openssl/ssl/quic/ |
H A D | quic_channel.c | 171 if (ch->port == NULL || ch->lcidm == NULL || ch->srtm == NULL) in ch_init() 243 if ((ch->cc_data = ch->cc_method->new(get_time, ch)) == NULL) in ch_init() 246 if ((ch->ackm = ossl_ackm_new(get_time, ch, &ch->statm, in ch_init() 375 ossl_quic_lcidm_cull(ch->lcidm, ch); in ch_cleanup() 376 ossl_quic_srtm_cull(ch->srtm, ch); in ch_cleanup() 382 ch->cc_method->free(ch->cc_data); in ch_cleanup() 1514 if (!ossl_quic_srtm_add(ch->srtm, ch, ch->cur_remote_seq_num, in ch_on_transport_params() 2136 ch->cur_remote_dcid = ch->init_scid = ch->qrx_pkt->hdr->src_conn_id; in ch_rx_handle_packet() 3343 if (!ossl_quic_lcidm_generate_initial(ch->lcidm, ch, &ch->cur_local_cid)) in ossl_quic_channel_on_new_conn() 3375 if (!ossl_quic_lcidm_enrol_odcid(ch->lcidm, ch, &ch->init_dcid)) in ossl_quic_channel_on_new_conn() [all …]
|
H A D | quic_rx_depack.c | 130 ++ch->diag_num_rx_ack; in depack_do_frame_ack() 320 ch->did_crypto_frame = 1; in depack_do_frame_crypto() 644 QUIC_CHANNEL *ch = arg; in update_streams() local 651 QUIC_CHANNEL *ch = arg; in update_streams_bidi() local 661 QUIC_CHANNEL *ch = arg; in update_streams_uni() local 683 ossl_quic_stream_map_visit(&ch->qsm, update_streams, ch); in depack_do_frame_max_data() 755 ossl_quic_stream_map_visit(&ch->qsm, update_streams_bidi, ch); in depack_do_frame_max_streams() 762 ossl_quic_stream_map_visit(&ch->qsm, update_streams_uni, ch); in depack_do_frame_max_streams() 919 if (!ch->is_server) { in depack_do_frame_retire_conn_id() 1401 ch->msg_callback_ssl, ch->msg_callback_arg); in depack_process_frames() [all …]
|
H A D | quic_tserver.c | 35 QUIC_CHANNEL *ch; member 148 qc->ch = srv->ch; in ossl_quic_tserver_new() 158 ossl_quic_channel_free(srv->ch); in ossl_quic_tserver_new() 177 ossl_quic_channel_free(srv->ch); in ossl_quic_tserver_free() 215 if (ossl_quic_channel_is_active(srv->ch)) in ossl_quic_tserver_tick() 223 return ossl_quic_channel_is_active(srv->ch); in ossl_quic_tserver_is_connected() 368 if (!ossl_quic_channel_is_active(srv->ch)) in ossl_quic_tserver_write() 396 if (!ossl_quic_channel_is_active(srv->ch)) in ossl_quic_tserver_conclude() 419 if (!ossl_quic_channel_is_active(srv->ch)) in ossl_quic_tserver_stream_new() 543 if (!ossl_quic_channel_ping(srv->ch)) in ossl_quic_tserver_ping() [all …]
|
H A D | quic_port.c | 268 QUIC_CHANNEL *ch; in ossl_quic_port_set_net_wbio() local 276 OSSL_LIST_FOREACH(ch, ch, &port->channel_list) in ossl_quic_port_set_net_wbio() 309 QUIC_CHANNEL *ch; in port_make_channel() local 325 if (ch == NULL) { in port_make_channel() 332 return ch; in port_make_channel() 342 QUIC_CHANNEL *ch; in ossl_quic_port_create_incoming() local 349 return ch; in ossl_quic_port_create_incoming() 364 QUIC_CHANNEL *ch; in ossl_quic_port_subtick() local 376 OSSL_LIST_FOREACH(ch, ch, &port->channel_list) { in ossl_quic_port_subtick() 587 QUIC_CHANNEL *ch; in ossl_quic_port_raise_net_error() local [all …]
|
H A D | quic_thread_assist.c | 23 CRYPTO_MUTEX *m = ossl_quic_channel_get_mutex(qta->ch); in assist_thread_main() 28 rtor = ossl_quic_channel_get_reactor(qta->ch); in assist_thread_main() 72 QUIC_CHANNEL *ch, in ossl_quic_thread_assist_init_start() argument 76 CRYPTO_MUTEX *mutex = ossl_quic_channel_get_mutex(ch); in ossl_quic_thread_assist_init_start() 81 qta->ch = ch; in ossl_quic_thread_assist_init_start() 114 CRYPTO_MUTEX *m = ossl_quic_channel_get_mutex(qta->ch); in ossl_quic_thread_assist_wait_stopped() 143 qta->ch = NULL; in ossl_quic_thread_assist_cleanup()
|
H A D | quic_impl.c | 64 assert(qc->ch != NULL); in block_until_pred() 72 rtor = ossl_quic_channel_get_reactor(qc->ch); in block_until_pred() 551 ossl_quic_channel_free(ctx.qc->ch); in ossl_quic_free() 1200 qsm = ossl_quic_channel_get_qsm(qc->ch); in qc_shutdown_flush_init() 1229 return ossl_quic_channel_is_term_any(qc->ch) in quic_shutdown_flush_wait() 1236 return ossl_quic_channel_is_term_any(qc->ch); in quic_shutdown_peer_wait() 1317 ossl_quic_channel_local_close(ctx.qc->ch, in ossl_quic_conn_shutdown() 1489 assert(qc->ch != NULL); in configure_channel() 1525 if (qc->ch == NULL) { in create_channel() 1551 if (!ossl_quic_channel_start(qc->ch)) { in ensure_channel_started() [all …]
|
H A D | quic_port_local.h | 28 DECLARE_LIST_OF(ch, QUIC_CHANNEL); 63 OSSL_LIST(ch) channel_list;
|
H A D | json_enc.c | 313 static void json_write_char(OSSL_JSON_ENC *json, char ch) in json_write_char() argument 319 if (!wbuf_write_char(&json->wbuf, ch)) in json_write_char() 406 static void composite_begin(OSSL_JSON_ENC *json, int type, char ch) in composite_begin() argument 412 json_write_char(json, ch); in composite_begin() 421 static void composite_end(OSSL_JSON_ENC *json, int type, char ch) in composite_end() argument 448 json_write_char(json, ch); in composite_end()
|
H A D | quic_channel_local.h | 37 OSSL_LIST_MEMBER(ch, struct quic_channel_st);
|
H A D | quic_local.h | 151 QUIC_CHANNEL *ch; member
|
/openssl/include/internal/ |
H A D | quic_channel.h | 181 void ossl_quic_channel_free(QUIC_CHANNEL *ch); 184 int ossl_quic_channel_set_mutator(QUIC_CHANNEL *ch, 205 int ossl_quic_channel_start(QUIC_CHANNEL *ch); 262 int ossl_quic_channel_net_error(QUIC_CHANNEL *ch); 270 void ossl_quic_channel_on_new_conn_id(QUIC_CHANNEL *ch, 283 void ossl_quic_channel_raise_net_error(QUIC_CHANNEL *ch); 322 int ossl_quic_channel_is_closing(const QUIC_CHANNEL *ch); 324 int ossl_quic_channel_is_active(const QUIC_CHANNEL *ch); 332 SSL *ossl_quic_channel_get0_ssl(QUIC_CHANNEL *ch); 402 int ossl_quic_channel_trigger_txku(QUIC_CHANNEL *ch); [all …]
|
H A D | quic_thread_assist.h | 46 QUIC_CHANNEL *ch; member 61 QUIC_CHANNEL *ch,
|
/openssl/crypto/bio/ |
H A D | bio_print.c | 92 char ch; in _dopr() local 108 ch = *format++; in _dopr() 116 if (ch == '%') in _dopr() 121 ch = *format++; in _dopr() 124 switch (ch) { in _dopr() 127 ch = *format++; in _dopr() 162 if (ch == '.') { in _dopr() 182 switch (ch) { in _dopr() 214 switch (ch) { in _dopr() 263 ch == 'o' ? 8 : (ch == 'u' ? 10 : 16), in _dopr() [all …]
|
H A D | bio_dump.c | 35 unsigned char ch; in BIO_dump_indent_cb() local 55 ch = *(s + i * dump_width + j) & 0xff; in BIO_dump_indent_cb() 56 BIO_snprintf(buf + n, 4, "%02x%c", ch, in BIO_dump_indent_cb() 70 ch = *(s + i * dump_width + j) & 0xff; in BIO_dump_indent_cb() 72 buf[n++] = ((ch >= ' ') && (ch <= '~')) ? ch : '.'; in BIO_dump_indent_cb() 74 buf[n++] = ((ch >= os_toascii[' ']) && (ch <= os_toascii['~'])) in BIO_dump_indent_cb() 75 ? os_toebcdic[ch] in BIO_dump_indent_cb()
|
/openssl/ssl/ |
H A D | ssl_ciph.c | 974 char ch; in ssl_cipher_process_rulestr() local 979 ch = *l; in ssl_cipher_process_rulestr() 981 if (ch == '\0') in ssl_cipher_process_rulestr() 983 if (ch == '-') { in ssl_cipher_process_rulestr() 999 if (ITEM_SEP(ch)) { in ssl_cipher_process_rulestr() 1012 ch = *l; in ssl_cipher_process_rulestr() 1016 while (((ch >= 'A') && (ch <= 'Z')) || in ssl_cipher_process_rulestr() 1017 ((ch >= '0') && (ch <= '9')) || in ssl_cipher_process_rulestr() 1018 ((ch >= 'a') && (ch <= 'z')) || in ssl_cipher_process_rulestr() 1019 (ch == '-') || (ch == '_') || (ch == '.') || (ch == '=')) in ssl_cipher_process_rulestr() [all …]
|
/openssl/test/ |
H A D | errtest.c | 24 # define IS_HEX(ch) ((ch >= '0' && ch <='9') || (ch >= 'A' && ch <='F')) argument
|
H A D | threadstest.c | 1132 uint8_t ch = 0; in test_bio_dgram_pair_worker() local 1137 if (!TEST_int_eq(RAND_bytes_ex(multi_libctx, &ch, 1, 64), 1)) in test_bio_dgram_pair_worker() 1147 if (ch & 2) in test_bio_dgram_pair_worker() 1148 r = BIO_sendmmsg(ch & 1 ? multi_bio2 : multi_bio1, &msg, in test_bio_dgram_pair_worker() 1151 r = BIO_recvmmsg(ch & 1 ? multi_bio2 : multi_bio1, &msg, in test_bio_dgram_pair_worker()
|
H A D | quic_multistream_test.c | 410 QUIC_CHANNEL *ch = ossl_quic_conn_get_channel(h->c_conn); in override_key_update() local 426 QUIC_CHANNEL *ch = ossl_quic_conn_get_channel(h->c_conn); in check_key_update_ge() local 427 int64_t txke = (int64_t)ossl_quic_channel_get_tx_key_epoch(ch); in check_key_update_ge() 428 int64_t rxke = (int64_t)ossl_quic_channel_get_rx_key_epoch(ch); in check_key_update_ge() 447 QUIC_CHANNEL *ch = ossl_quic_conn_get_channel(h->c_conn); in check_key_update_lt() local 448 uint64_t txke = ossl_quic_channel_get_tx_key_epoch(ch); in check_key_update_lt() 3422 QUIC_CHANNEL *ch = ossl_quic_tserver_get_channel(h->s_priv); in script_39_inject_plain() local 3445 ossl_quic_channel_get_diag_local_cid(ch, &new_cid); in script_39_inject_plain() 3811 h->scratch0 = ossl_quic_channel_get_diag_num_rx_ack(ch); in force_ping() 3824 count = ossl_quic_channel_get_diag_num_rx_ack(ch); in wait_incoming_acks_increased() [all …]
|
/openssl/crypto/ |
H A D | o_str.c | 209 unsigned char ch, cl; in hexstr2buf_sep() local 215 ch = *p++; in hexstr2buf_sep() 217 if (ch == sep && sep != CH_ZERO) in hexstr2buf_sep() 225 chi = OPENSSL_hexchar2int(ch); in hexstr2buf_sep()
|
H A D | packet.c | 443 int WPACKET_memset(WPACKET *pkt, int ch, size_t len) in WPACKET_memset() argument 454 memset(dest, ch, len); in WPACKET_memset()
|
/openssl/crypto/srp/ |
H A D | srp_vfy.c | 312 static SRP_gN_cache *SRP_gN_new_init(const char *ch) in SRP_gN_new_init() argument 321 len = t_fromb64(tmp, sizeof(tmp), ch); in SRP_gN_new_init() 325 if ((newgN->b64_bn = OPENSSL_strdup(ch)) == NULL) in SRP_gN_new_init() 362 static BIGNUM *SRP_gN_place_bn(STACK_OF(SRP_gN_cache) *gN_cache, char *ch) in SRP_gN_place_bn() argument 371 if (strcmp(cache->b64_bn, ch) == 0) in SRP_gN_place_bn() 375 SRP_gN_cache *newgN = SRP_gN_new_init(ch); in SRP_gN_place_bn()
|
/openssl/apps/ |
H A D | rehash.c | 200 unsigned char ch; in handle_symlink() local 205 ch = filename[i]; in handle_symlink() 206 if (!isxdigit(ch)) in handle_symlink() 209 hash += OPENSSL_hexchar2int(ch); in handle_symlink()
|
/openssl/test/certs/ |
H A D | root-key.pem | 20 ch/bqz8HhmODUKO7YuSfsddA75xYilRI/2lnLP+j2cLM1Tkn6LvklNNzv6GqfIge
|
/openssl/apps/lib/ |
H A D | s_cb.c | 1395 X509_STORE *vfy = NULL, *ch = NULL; in ssl_load_stores() local 1415 ch = X509_STORE_new(); in ssl_load_stores() 1416 if (ch == NULL) in ssl_load_stores() 1418 if (chCAfile != NULL && !X509_STORE_load_file(ch, chCAfile)) in ssl_load_stores() 1420 if (chCApath != NULL && !X509_STORE_load_path(ch, chCApath)) in ssl_load_stores() 1422 if (chCAstore != NULL && !X509_STORE_load_store(ch, chCAstore)) in ssl_load_stores() 1424 if (SSL_CTX_set1_chain_cert_store(ctx, ch) == 0) in ssl_load_stores() 1430 X509_STORE_free(ch); in ssl_load_stores()
|
/openssl/test/recipes/04-test_pem_reading_data/ |
H A D | dsa-threecolumn.pem | 287 7ch
|