/dports/sysutils/fluent-bit/fluent-bit-1.8.11/lib/mbedtls-2.27.0/library/ |
H A D | ssl_tls.c | 273 written_in = ssl->in_msg - ssl->in_buf; 274 iv_offset_in = ssl->in_iv - ssl->in_buf; 324 ssl->in_msg = ssl->in_buf + written_in; 3419 if( ssl->conf->f_set_cache( ssl->conf->p_cache, ssl->session ) != 0 ) 3451 ssl->handshake->calc_finished( ssl, ssl->out_msg + 4, ssl->conf->endpoint ); 3575 ssl->handshake->calc_finished( ssl, buf, ssl->conf->endpoint ^ 1 ); 5980 ssl->conf->f_async_cancel( ssl ); 6526 ssl->session_in = ssl->session; 6527 ssl->session_out = ssl->session; 6549 ssl->transform_in = ssl->transform; [all …]
|
/dports/lang/micropython/axtls-531cab9/ssl/ |
H A D | tls1.c | 202 SSL *ssl; in ssl_ctx_free() local 264 ssl->prev->next = ssl->next; in ssl_free() 269 ssl->next->prev = ssl->prev; in ssl_free() 552 ssl = ssl->next; in ssl_find() 704 ssl->server_mac : ssl->client_mac, in add_hmac_digest() 1143 DISPLAY_STATE(ssl, 1, ssl->bm_data[0], 0); in send_packet() 1184 ssl->cipher_info->encrypt(ssl->encrypt_ctx, ssl->bm_data, in send_packet() 1189 DISPLAY_STATE(ssl, 1, ssl->bm_data[0], 0); in send_packet() 1193 add_packet(ssl, ssl->bm_data, length); in send_packet() 1222 generate_key_block(ssl, ssl->dc->client_random, ssl->dc->server_random, in set_key_block() [all …]
|
H A D | tls1_svr.c | 60 SSL *ssl; in ssl_server_new() local 70 return ssl; in ssl_server_new() 91 ret = process_certificate(ssl, &ssl->x509_ctx); in do_svr_handshake() 133 ssl->version = ssl->client_version = version; in process_client_hello() 159 ssl->session = ssl_session_update(ssl->ssl_ctx->num_sessions, in process_client_hello() 160 ssl->ssl_ctx->ssl_sessions, ssl, id_len ? &buf[offset] : NULL); in process_client_hello() 232 ssl->sig_algs[ssl->num_sig_algs++] = hash_alg; in process_client_hello() 245 ssl->sig_algs[ssl->num_sig_algs++] = SIG_ALG_SHA1; in process_client_hello() 326 memcpy(ssl->session_id, ssl->session->session_id, SSL_SESSION_ID_SIZE); in send_server_hello() 376 uint8_t *buf = &ssl->bm_data[ssl->dc->bm_proc_index]; in process_client_key_xchg() [all …]
|
H A D | tls1_clnt.c | 77 ssl_free(ssl); in ssl_client_new() 90 do_client_connect(ssl); in ssl_client_new() 91 return ssl; in ssl_client_new() 109 ret = process_certificate(ssl, &ssl->x509_ctx); in do_clnt_handshake() 167 ssl->bm_read_index = 0; in do_client_connect() 222 memcpy(&buf[offset], ssl->session_id, ssl->sess_id_size); in send_client_hello() 333 ssl->version = version; in process_server_hello() 350 ssl->ssl_ctx->ssl_sessions, ssl, &buf[offset]); in process_server_hello() 410 DISPLAY_RSA(ssl, ssl->x509_ctx->rsa_ctx); in send_client_key_xchg() 432 uint8_t *buf = &ssl->bm_data[ssl->dc->bm_proc_index]; in process_cert_req() [all …]
|
/dports/lang/gauche/Gauche-0.9.10/ext/tls/axTLS/ssl/ |
H A D | tls1.c | 200 SSL *ssl; in ssl_ctx_free() local 262 ssl->prev->next = ssl->next; in ssl_free() 267 ssl->next->prev = ssl->prev; in ssl_free() 550 ssl = ssl->next; in ssl_find() 702 ssl->server_mac : ssl->client_mac, in add_hmac_digest() 1136 DISPLAY_STATE(ssl, 1, ssl->bm_data[0], 0); in send_packet() 1179 ssl->cipher_info->encrypt(ssl->encrypt_ctx, ssl->bm_data, in send_packet() 1184 DISPLAY_STATE(ssl, 1, ssl->bm_data[0], 0); in send_packet() 1188 add_packet(ssl, ssl->bm_data, length); in send_packet() 1217 generate_key_block(ssl, ssl->dc->client_random, ssl->dc->server_random, in set_key_block() [all …]
|
H A D | tls1_svr.c | 59 SSL *ssl; in ssl_server_new() local 69 return ssl; in ssl_server_new() 90 ret = process_certificate(ssl, &ssl->x509_ctx); in do_svr_handshake() 132 ssl->version = ssl->client_version = version; in process_client_hello() 156 ssl->session = ssl_session_update(ssl->ssl_ctx->num_sessions, in process_client_hello() 157 ssl->ssl_ctx->ssl_sessions, ssl, id_len ? &buf[offset] : NULL); in process_client_hello() 229 ssl->sig_algs[ssl->num_sig_algs++] = hash_alg; in process_client_hello() 242 ssl->sig_algs[ssl->num_sig_algs++] = SIG_ALG_SHA1; in process_client_hello() 322 memcpy(ssl->session_id, ssl->session->session_id, SSL_SESSION_ID_SIZE); in send_server_hello() 371 uint8_t *buf = &ssl->bm_data[ssl->dc->bm_proc_index]; in process_client_key_xchg() [all …]
|
H A D | tls1_clnt.c | 76 ssl_free(ssl); in ssl_client_new() 88 do_client_connect(ssl); in ssl_client_new() 89 return ssl; in ssl_client_new() 107 ret = process_certificate(ssl, &ssl->x509_ctx); in do_clnt_handshake() 165 ssl->bm_read_index = 0; in do_client_connect() 220 memcpy(&buf[offset], ssl->session_id, ssl->sess_id_size); in send_client_hello() 327 ssl->version = version; in process_server_hello() 343 ssl->ssl_ctx->ssl_sessions, ssl, &buf[offset]); in process_server_hello() 402 DISPLAY_RSA(ssl, ssl->x509_ctx->rsa_ctx); in send_client_key_xchg() 424 uint8_t *buf = &ssl->bm_data[ssl->dc->bm_proc_index]; in process_cert_req() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/boringssl/src/ssl/ |
H A D | s3_both.cc | 211 ssl->s3->pending_hs_data->length >= ssl->max_send_fragment && in tls_add_message() 217 ssl->s3->pending_hs_data ? ssl->s3->pending_hs_data->length : 0; in tls_add_message() 245 if (!ssl->s3->pending_hs_data || ssl->s3->pending_hs_data->length == 0) { in tls_flush_pending_hs_data() 254 if (!ssl->quic_method->add_handshake_data(ssl, ssl->s3->write_level, in tls_flush_pending_hs_data() 294 if (!ssl->quic_method->flush_flight(ssl)) { in tls_flush_flight() 326 while (ssl->s3->pending_flight_offset < ssl->s3->pending_flight->length) { in tls_flush_flight() 329 ssl->s3->pending_flight->data + ssl->s3->pending_flight_offset, in tls_flush_flight() 330 ssl->s3->pending_flight->length - ssl->s3->pending_flight_offset); in tls_flush_flight() 543 return ssl->s3->hs_buf && ssl->s3->hs_buf->length > msg_len; in tls_has_unprocessed_handshake_data() 559 if (ssl->server && !ssl->s3->v2_hello_done) { in tls_open_handshake() [all …]
|
H A D | tls13_server.cc | 46 SSL *const ssl = hs->ssl; in resolve_ecdhe_secret() local 100 SSL *const ssl = hs->ssl; in add_new_session_tickets() local 187 SSL *const ssl = hs->ssl; in do_select_parameters() local 245 SSL *const ssl = hs->ssl; in select_session() local 338 SSL *const ssl = hs->ssl; in do_select_session() local 525 SSL *const ssl = hs->ssl; in do_send_hello_retry_request() local 560 SSL *const ssl = hs->ssl; in do_read_second_client_hello() local 637 SSL *const ssl = hs->ssl; in do_send_server_hello() local 760 SSL *const ssl = hs->ssl; in do_send_server_finished() local 777 SSL *const ssl = hs->ssl; in do_send_half_rtt_ticket() local [all …]
|
H A D | handshake_client.cc | 217 SSL *const ssl = hs->ssl; in ssl_write_client_cipher_list() local 284 SSL *const ssl = hs->ssl; in ssl_write_client_hello() local 343 SSL *const ssl = hs->ssl; in parse_supported_versions() local 378 SSL *const ssl = hs->ssl; in do_start_connect() local 444 SSL *const ssl = hs->ssl; in do_enter_early_data() local 510 SSL *const ssl = hs->ssl; in do_read_hello_verify_request() local 554 SSL *const ssl = hs->ssl; in do_read_server_hello() local 804 SSL *const ssl = hs->ssl; in do_read_server_certificate() local 851 SSL *const ssl = hs->ssl; in do_read_certificate_status() local 937 SSL *const ssl = hs->ssl; in do_read_server_key_exchange() local [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/boringssl/src/ssl/ |
H A D | s3_both.cc | 211 ssl->s3->pending_hs_data->length >= ssl->max_send_fragment && in tls_add_message() 217 ssl->s3->pending_hs_data ? ssl->s3->pending_hs_data->length : 0; in tls_add_message() 245 if (!ssl->s3->pending_hs_data || ssl->s3->pending_hs_data->length == 0) { in tls_flush_pending_hs_data() 254 if (!ssl->quic_method->add_handshake_data(ssl, ssl->s3->write_level, in tls_flush_pending_hs_data() 294 if (!ssl->quic_method->flush_flight(ssl)) { in tls_flush_flight() 326 while (ssl->s3->pending_flight_offset < ssl->s3->pending_flight->length) { in tls_flush_flight() 329 ssl->s3->pending_flight->data + ssl->s3->pending_flight_offset, in tls_flush_flight() 330 ssl->s3->pending_flight->length - ssl->s3->pending_flight_offset); in tls_flush_flight() 543 return ssl->s3->hs_buf && ssl->s3->hs_buf->length > msg_len; in tls_has_unprocessed_handshake_data() 559 if (ssl->server && !ssl->s3->v2_hello_done) { in tls_open_handshake() [all …]
|
/dports/net/quiche/quiche-0.9.0/cargo-crates/boring-sys-1.1.1/deps/boringssl/src/ssl/ |
H A D | s3_both.cc | 211 ssl->s3->pending_hs_data->length >= ssl->max_send_fragment && in tls_add_message() 217 ssl->s3->pending_hs_data ? ssl->s3->pending_hs_data->length : 0; in tls_add_message() 245 if (!ssl->s3->pending_hs_data || ssl->s3->pending_hs_data->length == 0) { in tls_flush_pending_hs_data() 254 if (!ssl->quic_method->add_handshake_data(ssl, ssl->s3->write_level, in tls_flush_pending_hs_data() 294 if (!ssl->quic_method->flush_flight(ssl)) { in tls_flush_flight() 326 while (ssl->s3->pending_flight_offset < ssl->s3->pending_flight->length) { in tls_flush_flight() 329 ssl->s3->pending_flight->data + ssl->s3->pending_flight_offset, in tls_flush_flight() 330 ssl->s3->pending_flight->length - ssl->s3->pending_flight_offset); in tls_flush_flight() 543 return ssl->s3->hs_buf && ssl->s3->hs_buf->length > msg_len; in tls_has_unprocessed_handshake_data() 559 if (ssl->server && !ssl->s3->v2_hello_done) { in tls_open_handshake() [all …]
|
/dports/net/quiche/quiche-0.9.0/deps/boringssl/src/ssl/ |
H A D | s3_both.cc | 211 ssl->s3->pending_hs_data->length >= ssl->max_send_fragment && in tls_add_message() 217 ssl->s3->pending_hs_data ? ssl->s3->pending_hs_data->length : 0; in tls_add_message() 245 if (!ssl->s3->pending_hs_data || ssl->s3->pending_hs_data->length == 0) { in tls_flush_pending_hs_data() 254 if (!ssl->quic_method->add_handshake_data(ssl, ssl->s3->write_level, in tls_flush_pending_hs_data() 294 if (!ssl->quic_method->flush_flight(ssl)) { in tls_flush_flight() 326 while (ssl->s3->pending_flight_offset < ssl->s3->pending_flight->length) { in tls_flush_flight() 329 ssl->s3->pending_flight->data + ssl->s3->pending_flight_offset, in tls_flush_flight() 330 ssl->s3->pending_flight->length - ssl->s3->pending_flight_offset); in tls_flush_flight() 543 return ssl->s3->hs_buf && ssl->s3->hs_buf->length > msg_len; in tls_has_unprocessed_handshake_data() 559 if (ssl->server && !ssl->s3->v2_hello_done) { in tls_open_handshake() [all …]
|
/dports/security/boringssl/boringssl-6a71840/ssl/ |
H A D | s3_both.cc | 211 ssl->s3->pending_hs_data->length >= ssl->max_send_fragment && in tls_add_message() 217 ssl->s3->pending_hs_data ? ssl->s3->pending_hs_data->length : 0; in tls_add_message() 245 if (!ssl->s3->pending_hs_data || ssl->s3->pending_hs_data->length == 0) { in tls_flush_pending_hs_data() 254 if (!ssl->quic_method->add_handshake_data(ssl, ssl->s3->write_level, in tls_flush_pending_hs_data() 294 if (!ssl->quic_method->flush_flight(ssl)) { in tls_flush_flight() 326 while (ssl->s3->pending_flight_offset < ssl->s3->pending_flight->length) { in tls_flush_flight() 329 ssl->s3->pending_flight->data + ssl->s3->pending_flight_offset, in tls_flush_flight() 330 ssl->s3->pending_flight->length - ssl->s3->pending_flight_offset); in tls_flush_flight() 543 return ssl->s3->hs_buf && ssl->s3->hs_buf->length > msg_len; in tls_has_unprocessed_handshake_data() 559 if (ssl->server && !ssl->s3->v2_hello_done) { in tls_open_handshake() [all …]
|
/dports/multimedia/kodi/xbmc-19.3-Matrix/lib/libUPnP/Neptune/ThirdParty/axTLS/ssl/ |
H A D | tls1.c | 164 (void)ssl; in DISPLAY_BYTES() 210 SSL *ssl; in ssl_ctx_free() local 279 ssl->prev->next = ssl->next; in ssl_free() 284 ssl->next->prev = ssl->prev; in ssl_free() 596 ssl = ssl->next; in ssl_find() 748 ssl->server_mac : ssl->client_mac, in add_hmac_digest() 1112 DISPLAY_STATE(ssl, 1, ssl->bm_data[0], 0); in send_packet() 1155 ssl->cipher_info->encrypt(ssl->encrypt_ctx, ssl->bm_data, in send_packet() 1160 DISPLAY_STATE(ssl, 1, ssl->bm_data[0], 0); in send_packet() 1164 add_packet(ssl, ssl->bm_data, length); in send_packet() [all …]
|
/dports/devel/pecl-grpc/grpc-1.42.0/third_party/boringssl-with-bazel/src/ssl/ |
H A D | s3_both.cc | 211 ssl->s3->pending_hs_data->length >= ssl->max_send_fragment && in Delete() 217 ssl->s3->pending_hs_data ? ssl->s3->pending_hs_data->length : 0; in Delete() 245 if (!ssl->s3->pending_hs_data || ssl->s3->pending_hs_data->length == 0) { 254 if ((ssl->s3->hs == nullptr || !ssl->s3->hs->hints_requested) && 255 !ssl->quic_method->add_handshake_data(ssl, ssl->s3->write_level, 295 if (!ssl->quic_method->flush_flight(ssl)) { 335 ssl->s3->pending_flight->data + ssl->s3->pending_flight_offset, 336 ssl->s3->pending_flight->length - ssl->s3->pending_flight_offset); 549 return ssl->s3->hs_buf && ssl->s3->hs_buf->length > msg_len; 565 if (ssl->server && !ssl->s3->v2_hello_done) { [all …]
|
/dports/devel/py-grpcio/grpcio-1.43.0/third_party/boringssl-with-bazel/src/ssl/ |
H A D | s3_both.cc | 211 ssl->s3->pending_hs_data->length >= ssl->max_send_fragment && in tls_add_message() 217 ssl->s3->pending_hs_data ? ssl->s3->pending_hs_data->length : 0; in tls_add_message() 245 if (!ssl->s3->pending_hs_data || ssl->s3->pending_hs_data->length == 0) { in tls_flush_pending_hs_data() 254 if ((ssl->s3->hs == nullptr || !ssl->s3->hs->hints_requested) && in tls_flush_pending_hs_data() 255 !ssl->quic_method->add_handshake_data(ssl, ssl->s3->write_level, in tls_flush_pending_hs_data() 295 if (!ssl->quic_method->flush_flight(ssl)) { in tls_flush_flight() 335 ssl->s3->pending_flight->data + ssl->s3->pending_flight_offset, in tls_flush_flight() 336 ssl->s3->pending_flight->length - ssl->s3->pending_flight_offset); in tls_flush_flight() 549 return ssl->s3->hs_buf && ssl->s3->hs_buf->length > msg_len; in tls_has_unprocessed_handshake_data() 565 if (ssl->server && !ssl->s3->v2_hello_done) { in tls_open_handshake() [all …]
|
/dports/devel/libiqxmlrpc/libiqxmlrpc-0.13.5/libiqxmlrpc/ |
H A D | ssl_connection.cc | 11 ssl_ctx( ssl::ctx ) in Connection() 14 throw ssl::not_initialized(); in Connection() 18 if( !ssl ) in Connection() 19 throw ssl::exception(); in Connection() 22 throw ssl::exception(); in Connection() 26 ssl::Connection::~Connection() in ~Connection() 28 SSL_free( ssl ); in ~Connection() 47 int ret = SSL_accept( ssl ); in ssl_accept() 76 SSL_shutdown( ssl ); in shutdown() 122 ssl::Connection( s ), in Reaction_connection() [all …]
|
/dports/security/libressl-static/libressl-3.3.5/tests/ |
H A D | tlsexttest.c | 126 SSL *ssl = NULL; in test_tlsext_alpn_client() local 310 SSL_free(ssl); in test_tlsext_alpn_client() 320 SSL *ssl = NULL; in test_tlsext_alpn_server() local 459 SSL_free(ssl); in test_tlsext_alpn_server() 741 SSL_free(ssl); in test_tlsext_supportedgroups_client() 780 SSL_free(ssl); in test_tlsext_supportedgroups_server() 1037 SSL_free(ssl); in test_tlsext_ecpf_client() 1244 SSL_free(ssl); in test_tlsext_ecpf_server() 1384 SSL_free(ssl); in test_tlsext_ri_client() 1499 SSL_free(ssl); in test_tlsext_ri_server() [all …]
|
/dports/security/libressl/libressl-3.4.3/tests/ |
H A D | tlsexttest.c | 126 SSL *ssl = NULL; in test_tlsext_alpn_client() local 310 SSL_free(ssl); in test_tlsext_alpn_client() 320 SSL *ssl = NULL; in test_tlsext_alpn_server() local 459 SSL_free(ssl); in test_tlsext_alpn_server() 741 SSL_free(ssl); in test_tlsext_supportedgroups_client() 780 SSL_free(ssl); in test_tlsext_supportedgroups_server() 1037 SSL_free(ssl); in test_tlsext_ecpf_client() 1244 SSL_free(ssl); in test_tlsext_ecpf_server() 1384 SSL_free(ssl); in test_tlsext_ri_client() 1499 SSL_free(ssl); in test_tlsext_ri_server() [all …]
|
/dports/www/obhttpd/libressl-3.4.1/tests/ |
H A D | tlsexttest.c | 126 SSL *ssl = NULL; in test_tlsext_alpn_client() local 310 SSL_free(ssl); in test_tlsext_alpn_client() 320 SSL *ssl = NULL; in test_tlsext_alpn_server() local 459 SSL_free(ssl); in test_tlsext_alpn_server() 741 SSL_free(ssl); in test_tlsext_supportedgroups_client() 780 SSL_free(ssl); in test_tlsext_supportedgroups_server() 1037 SSL_free(ssl); in test_tlsext_ecpf_client() 1244 SSL_free(ssl); in test_tlsext_ecpf_server() 1384 SSL_free(ssl); in test_tlsext_ri_client() 1499 SSL_free(ssl); in test_tlsext_ri_server() [all …]
|
/dports/databases/mariadb103-client/mariadb-10.3.34/extra/yassl/src/ |
H A D | handshake.cpp | 304 if (ssl.isTLSv1_1() && ssl.getSecurity().get_parms().cipher_type_== block){ in cipherFinished() 313 hashHandShake(ssl, output, ssl.isTLSv1_1() ? true : false); in cipherFinished() 315 if (ssl.isTLS()) in cipherFinished() 367 if (ssl.isTLS()) in buildMessage() 604 if (ssl.isTLS()) in buildFinished() 725 if (ssl.isTLS()) { in build_certHashes() 897 ck.build(ssl); in sendClientKeyExchange() 919 sk.build(ssl); in sendServerKeyExchange() 1002 sent = ssl.useBuffers().prevSent + ssl.useBuffers().plainSz; in sendData() 1066 if (!ssl.HasData()) in receiveData() [all …]
|
/dports/databases/mariadb103-server/mariadb-10.3.34/extra/yassl/src/ |
H A D | handshake.cpp | 304 if (ssl.isTLSv1_1() && ssl.getSecurity().get_parms().cipher_type_== block){ 313 hashHandShake(ssl, output, ssl.isTLSv1_1() ? true : false); 315 if (ssl.isTLS()) 367 if (ssl.isTLS()) 604 if (ssl.isTLS()) 725 if (ssl.isTLS()) { 897 ck.build(ssl); 919 sk.build(ssl); 1002 sent = ssl.useBuffers().prevSent + ssl.useBuffers().plainSz; 1066 if (!ssl.HasData()) [all …]
|
/dports/databases/mysql55-client/mysql-5.5.62/extra/yassl/src/ |
H A D | handshake.cpp | 304 if (ssl.isTLSv1_1() && ssl.getSecurity().get_parms().cipher_type_== block){ in cipherFinished() 313 hashHandShake(ssl, output, ssl.isTLSv1_1() ? true : false); in cipherFinished() 315 if (ssl.isTLS()) in cipherFinished() 367 if (ssl.isTLS()) in buildMessage() 604 if (ssl.isTLS()) in buildFinished() 725 if (ssl.isTLS()) { in build_certHashes() 886 ck.build(ssl); in sendClientKeyExchange() 908 sk.build(ssl); in sendServerKeyExchange() 991 sent = ssl.useBuffers().prevSent + ssl.useBuffers().plainSz; in sendData() 1055 if (!ssl.HasData()) in receiveData() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/boringssl/ssl/ |
H A D | internal.h | 734 #define SSL_IS_DTLS(ssl) (ssl->method->is_dtls) argument 812 int (*ssl_new)(SSL *ssl); 855 #define SSL_HM_HEADER_LENGTH(ssl) ssl->method->hhlen argument 857 (((uint8_t *)ssl->init_buf->data) + ssl->method->hhlen) 859 ssl->method->set_handshake_header(ssl, htype, len) 860 #define ssl_do_write(ssl) ssl->method->do_write(ssl) argument 1045 int ssl3_new(SSL *ssl); 1046 void ssl3_free(SSL *ssl); 1047 int ssl3_accept(SSL *ssl); 1097 int dtls1_new(SSL *ssl); [all …]
|