/hal_espressif-3.5.0/components/esp_http_server/src/ |
D | httpd_sess.c | 37 struct sock_db *session; member 63 static int enum_function(struct sock_db *session, void *context) in enum_function() argument 65 if ((!session) || (!context)) { in enum_function() 73 session->fd = -1; in enum_function() 74 session->ctx = NULL; in enum_function() 78 found = (session->fd != -1); in enum_function() 82 found = (session->fd < 0); in enum_function() 86 found = (session->fd == ctx->fd); in enum_function() 90 if (session->fd != -1) { in enum_function() 91 FD_SET(session->fd, ctx->fdset); in enum_function() [all …]
|
D | esp_httpd_priv.h | 130 typedef int (*httpd_session_enum_function)(struct sock_db *session, void *context); 199 esp_err_t httpd_sess_process(struct httpd_data *hd, struct sock_db *session); 208 void httpd_sess_delete(struct httpd_data *hd, struct sock_db *session); 258 bool httpd_sess_pending(struct httpd_data *hd, struct sock_db *session); 538 esp_err_t httpd_sess_trigger_close_(httpd_handle_t handle, struct sock_db *session);
|
D | httpd_main.c | 163 static int httpd_process_session(struct sock_db *session, void *context) in httpd_process_session() argument 165 if ((!session) || (!context)) { in httpd_process_session() 169 if (session->fd < 0) { in httpd_process_session() 174 int fd = session->fd; in httpd_process_session() 176 if (FD_ISSET(fd, ctx->fdset) || httpd_sess_pending(ctx->hd, session)) { in httpd_process_session() 178 if (httpd_sess_process(ctx->hd, session) != ESP_OK) { in httpd_process_session() 179 httpd_sess_delete(ctx->hd, session); // Delete session in httpd_process_session()
|
/hal_espressif-3.5.0/components/protocomm/test/ |
D | test_protocomm.c | 93 static esp_err_t prepare_command0(session_t *session, SessionData *req) in prepare_command0() argument 111 in_req->client_pubkey.data = session->client_pubkey; in prepare_command0() 131 static esp_err_t verify_response0(session_t *session, SessionData *resp) in verify_response0() argument 152 uint8_t *cli_pubkey = session->client_pubkey; in verify_response0() 153 uint8_t *dev_pubkey = session->device_pubkey; in verify_response0() 154 memcpy(session->device_pubkey, in->sr0->device_pubkey.data, in->sr0->device_pubkey.len); in verify_response0() 159 ret = mbedtls_mpi_lset(&session->ctx_client.Qp.Z, 1); in verify_response0() 165 flip_endian(session->device_pubkey, PUBLIC_KEY_LEN); in verify_response0() 166 ret = mbedtls_mpi_read_binary(&session->ctx_client.Qp.X, dev_pubkey, PUBLIC_KEY_LEN); in verify_response0() 167 flip_endian(session->device_pubkey, PUBLIC_KEY_LEN); in verify_response0() [all …]
|
/hal_espressif-3.5.0/docs/en/api-reference/protocols/ |
D | icmp_echo.rst | 9 During a ping session, the source host firstly sends out an ICMP echo request packet and wait for a… 11 …ings to users when it got offline. It can be achieved by creating a ping session and sending/parsi… 15 Create a new ping session 18 To create a ping session, you need to fill in the ``esp_ping_config_t`` configuration structure fir… 20 Example method to create a new ping session and register callbacks: 94 Start and Stop ping session 97 … session with the handle returned by ``esp_ping_new_session``. Note that, the ping session won't s… 100 Delete a ping session 103 …session won't be used any more, you can delete it with ``esp_ping_delete_session``. Please make su… 109 …all ``esp_ping_get_profile`` to get different runtime statistics of ping session in the callback f…
|
D | esp_https_server.rst | 21 * "transport context" - both global and session 23 * :cpp:func:`httpd_sess_get_transport_ctx` - returns SSL used for the session 44 The initial session setup can take about two seconds, or more with slower clock speeds or more verb…
|
D | esp_http_server.rst | 11 …close all open connections, remove registered URI handlers and reset all session context data to e… 116 …session) for several transfers, all the while maintaining context specific data for the session. C… 134 /* Create session's context if not already available */
|
/hal_espressif-3.5.0/examples/protocols/http2_request/components/sh2lib/ |
D | sh2lib.c | 51 static ssize_t callback_send(nghttp2_session *session, const uint8_t *data, in callback_send() argument 84 static ssize_t callback_recv(nghttp2_session *session, uint8_t *buf, in callback_recv() argument 132 static int callback_on_frame_send(nghttp2_session *session, in callback_on_frame_send() argument 138 if (nghttp2_session_get_stream_user_data(session, frame->hd.stream_id)) { in callback_on_frame_send() 154 static int callback_on_frame_recv(nghttp2_session *session, in callback_on_frame_recv() argument 162 …sh2lib_frame_data_recv_cb_t data_recv_cb = nghttp2_session_get_stream_user_data(session, frame->hd… in callback_on_frame_recv() 170 static int callback_on_stream_close(nghttp2_session *session, int32_t stream_id, in callback_on_stream_close() argument 175 …sh2lib_frame_data_recv_cb_t data_recv_cb = nghttp2_session_get_stream_user_data(session, stream_id… in callback_on_stream_close() 183 static int callback_on_data_chunk_recv(nghttp2_session *session, uint8_t flags, in callback_on_data_chunk_recv() argument 189 data_recv_cb = nghttp2_session_get_stream_user_data(session, stream_id); in callback_on_data_chunk_recv() [all …]
|
/hal_espressif-3.5.0/components/esptool_py/esptool/espsecure/esp_hsm_sign/ |
D | __init__.py | 55 session = token.open(rw=True, user_pin=config["credentials"]) 57 return session 65 def get_privkey_info(session, config): argument 67 private_key = session.get_key( 79 def get_pubkey(session, config): argument 91 public_key = session.get_key( 166 def close_connection(session): argument 168 session.close()
|
/hal_espressif-3.5.0/examples/protocols/coap_client/main/ |
D | coap_client_example_main.c | 95 message_handler(coap_session_t *session, in message_handler() argument 135 coap_session_t *session, in verify_cn_callback() argument 358 coap_session_t *session = NULL; in coap_example_client() local 404 session = coap_start_psk_session(ctx, dst_addr, &uri); in coap_example_client() 408 session = coap_start_pki_session(ctx, dst_addr, &uri); in coap_example_client() 411 session = coap_new_client_session(ctx, NULL, dst_addr, in coap_example_client() 415 if (!session) { in coap_example_client() 422 COAP_REQUEST_CODE_GET, session); in coap_example_client() 428 coap_session_new_token(session, &tokenlength, token); in coap_example_client() 447 coap_send(session, request); in coap_example_client() [all …]
|
/hal_espressif-3.5.0/components/openssl/library/ |
D | ssl_lib.c | 29 SSL_SESSION *session; in SSL_SESSION_new() local 31 session = ssl_mem_zalloc(sizeof(SSL_SESSION)); in SSL_SESSION_new() 32 if (!session) { in SSL_SESSION_new() 37 session->peer = X509_new(); in SSL_SESSION_new() 38 if (!session->peer) { in SSL_SESSION_new() 43 return session; in SSL_SESSION_new() 46 ssl_mem_free(session); in SSL_SESSION_new() 54 static void SSL_SESSION_free(SSL_SESSION *session) in SSL_SESSION_free() argument 56 X509_free(session->peer); in SSL_SESSION_free() 57 ssl_mem_free(session); in SSL_SESSION_free() [all …]
|
/hal_espressif-3.5.0/examples/protocols/asio/tcp_echo_server/main/ |
D | echo_server.cpp | 10 class session class 11 : public std::enable_shared_from_this<session> 14 session(tcp::socket socket) in session() function in session 75 std::make_shared<session>(std::move(socket))->start(); in do_accept()
|
/hal_espressif-3.5.0/components/esp-tls/ |
D | Kconfig | 41 Enable support for creating server side SSL/TLS session, available for mbedTLS 45 bool "Enable client session tickets" 49 Enable session ticket support as specified in RFC5077. 52 bool "Enable server session tickets" 56 Enable session ticket support as specified in RFC5077 59 int "Server session ticket timeout in seconds" 63 Sets the session ticket timeout used in the tls server.
|
/hal_espressif-3.5.0/examples/protocols/coap_server/main/ |
D | coap_server_example_main.c | 88 coap_session_t *session, in hnd_espressif_get() argument 94 coap_add_data_large_response(resource, session, request, response, in hnd_espressif_get() 103 coap_session_t *session, in hnd_espressif_put() argument 135 coap_session_t *session, in hnd_espressif_delete() argument 152 coap_session_t *session, in verify_cn_callback() argument
|
/hal_espressif-3.5.0/examples/protocols/https_request/ |
D | README.md | 10 session-state information to the client in the form of a ticket and a mechanism to present the tick… 31 Note: This example has client session tickets enabled by default. 34 * In the `Component Config` -> `ESP-TLS` submenu, select the `Enable client session tickets` option. 36 Ensure that the server has the session tickets feature enabled.
|
/hal_espressif-3.5.0/examples/provisioning/legacy/console_prov/ |
D | README.md | 17 * `protocomm` : for protocol based communication and secure session establishment 95 Client->Device msg : prov-session 0 10015a25a201220a20677106cc2f5b2acb5d8da26f0ad443df006daa1cd5bb3… 104 <endpoint name> <session id> <hex message> 118 Client->Device msg : prov-session 0 10015a25a201220a20677106cc2f5b2acb5d8da26f0ad443df006daa1cd5bb3… 120 Client->Device msg : prov-session 0 10015a270802b20122122084ca311e51c904a94f8a249c049f7aed33b39671c… 146 >> prov-session 0 10015a25a201220a20677106cc2f5b2acb5d8da26f0ad443df006daa1cd5bb3d75a8324d81ec5ef970 148 >> prov-session 0 10015a270802b20122122084ca311e51c904a94f8a249c049f7aed33b39671cc11f0b92b15b299ef5…
|
/hal_espressif-3.5.0/components/nghttp/ |
D | nghttp.rst | 22 …**nghttp2_session_want_read**: Returns nonzero value if session wants to receive data from the rem… 24 …**nghttp2_session_want_write**: Returns nonzero value if session wants to send data to the remote … 30 **nghttp2_session_del**: Frees any resources allocated for session
|
/hal_espressif-3.5.0/components/protocomm/proto/ |
D | session.proto | 7 * being used in a protocomm session */ 14 * secure session between Host and Client */
|
D | README.md | 7 * session.proto - Defines the protocomm transacion packets for session establishment which internal…
|
D | CMakeLists.txt | 11 "session.proto")
|
D | sec0.proto | 21 /* Payload structure of session data */
|
/hal_espressif-3.5.0/examples/provisioning/wifi_prov_mgr/main/ |
D | Kconfig.projbuild | 34 prompt "Reset provisioned credentials and state machine after session failure" 36 Enable reseting provisioned credentials and state machine after session failure.
|
/hal_espressif-3.5.0/docs/en/api-guides/jtag-debugging/ |
D | using-debugger.rst | 25 Once installation is complete, configure debugging session following steps below. Please note that … 68 …If you want to update image in the flash automatically before starting new debug session add the f… 103 … use GDB, check :ref:`jtag-debugging-examples-eclipse` example debugging session in section :ref:`… 111 … under :ref:`jtag-debugging-configuring-target`. This is prerequisite to start a debugging session. 115 2. Open a new terminal session and go to directory that contains project for debugging, e.g. 197 …GDB, check :ref:`jtag-debugging-examples-command-line` example debugging session in section :ref:`…
|
/hal_espressif-3.5.0/tools/esp_prov/ |
D | README.md | 18 | prov-session | http://ip:port/prov-session | Security endpoint used for session establishment …
|
/hal_espressif-3.5.0/components/wpa_supplicant/src/crypto/ |
D | tls_mbedtls.c | 910 wpa_hexdump_key(MSG_MSGDUMP, "master", ssl->session->master, TLS_MASTER_SECRET_LEN); in tls_connection_prf() 913 ret = tls_prf_sha384(ssl->session->master, TLS_MASTER_SECRET_LEN, in tls_connection_prf() 916 ret = tls_prf_sha256(ssl->session->master, TLS_MASTER_SECRET_LEN, in tls_connection_prf() 919 ret = tls_prf_sha1_md5(ssl->session->master, TLS_MASTER_SECRET_LEN, in tls_connection_prf()
|