Home
last modified time | relevance | path

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

/hal_espressif-2.7.6/components/wpa_supplicant/src/utils/
Dbase64.c22 size_t *out_len, const char *table, int add_pad) in base64_gen_encode() argument
78 if (out_len) in base64_gen_encode()
79 *out_len = pos - out; in base64_gen_encode()
85 size_t *out_len, const char *table) in base64_gen_decode() argument
148 *out_len = pos - out; in base64_gen_decode()
165 char * base64_encode(const void *src, size_t len, size_t *out_len) in base64_encode() argument
167 return base64_gen_encode(src, len, out_len, base64_table, 1); in base64_encode()
171 char * base64_url_encode(const void *src, size_t len, size_t *out_len) in base64_url_encode() argument
173 return base64_gen_encode(src, len, out_len, base64_url_table, 0); in base64_url_encode()
187 unsigned char * base64_decode(const char *src, size_t len, size_t *out_len) in base64_decode() argument
[all …]
Dbase64.h12 char * base64_encode(const void *src, size_t len, size_t *out_len);
13 unsigned char * base64_decode(const char *src, size_t len, size_t *out_len);
14 char * base64_url_encode(const void *src, size_t len, size_t *out_len);
15 unsigned char * base64_url_decode(const char *src, size_t len, size_t *out_len);
/hal_espressif-2.7.6/components/wpa_supplicant/src/tls/
Dtlsv1_server.h22 int server_random_first, u8 *out, size_t out_len);
24 const u8 *in_data, size_t in_len, size_t *out_len);
27 u8 *out_data, size_t out_len);
30 u8 *out_data, size_t out_len);
Dtlsv1_client_i.h75 u8 * tls_send_client_hello(struct tlsv1_client *conn, size_t *out_len);
77 u8 description, size_t *out_len);
78 u8 * tlsv1_client_handshake_write(struct tlsv1_client *conn, size_t *out_len,
82 u8 **out_data, size_t *out_len);
Dtlsv1_record.c156 size_t *out_len) in tlsv1_record_send() argument
261 *out_len = pos - buf; in tlsv1_record_send()
284 u8 *out_data, size_t *out_len, u8 *alert) in tlsv1_record_receive() argument
352 if (*out_len < in_len) { in tlsv1_record_receive()
474 *out_len = plen; in tlsv1_record_receive()
477 *out_len = in_len; in tlsv1_record_receive()
481 if (TLS_RECORD_HEADER_LEN + *out_len > 17408) { in tlsv1_record_receive()
483 (unsigned long) (TLS_RECORD_HEADER_LEN + *out_len)); in tlsv1_record_receive()
Dtlsv1_client_write.c46 u8 * tls_send_client_hello(struct tlsv1_client *conn, size_t *out_len) in tls_send_client_hello() argument
54 *out_len = 0; in tls_send_client_hello()
147 out_len) < 0) { in tls_send_client_hello()
764 size_t *out_len) in tls_send_client_key_exchange() argument
769 *out_len = 0; in tls_send_client_key_exchange()
798 *out_len = pos - msg; in tls_send_client_key_exchange()
806 size_t *out_len) in tls_send_change_cipher_spec() argument
810 *out_len = 0; in tls_send_change_cipher_spec()
825 *out_len = pos - msg; in tls_send_change_cipher_spec()
836 u8 * tlsv1_client_handshake_write(struct tlsv1_client *conn, size_t *out_len, in tlsv1_client_handshake_write() argument
[all …]
Dtlsv1_client.h22 int server_random_first, u8 *out, size_t out_len);
25 size_t *out_len, u8 **appl_data,
29 u8 *out_data, size_t out_len);
Dtlsv1_server_write.c666 static u8 * tls_send_server_hello(struct tlsv1_server *conn, size_t *out_len) in tls_send_server_hello() argument
671 *out_len = 0; in tls_send_server_hello()
695 *out_len = pos - msg; in tls_send_server_hello()
711 *out_len = pos - msg; in tls_send_server_hello()
720 size_t *out_len) in tls_send_change_cipher_spec() argument
724 *out_len = 0; in tls_send_change_cipher_spec()
739 *out_len = pos - msg; in tls_send_change_cipher_spec()
748 u8 * tlsv1_server_handshake_write(struct tlsv1_server *conn, size_t *out_len) in tlsv1_server_handshake_write() argument
752 return tls_send_server_hello(conn, out_len); in tlsv1_server_handshake_write()
754 return tls_send_change_cipher_spec(conn, out_len); in tlsv1_server_handshake_write()
[all …]
Dtlsv1_server.c109 size_t *out_len) in tlsv1_server_handshake() argument
166 msg = tlsv1_server_handshake_write(conn, out_len); in tlsv1_server_handshake()
181 out_len); in tlsv1_server_handshake()
202 u8 *out_data, size_t out_len) in tlsv1_server_encrypt() argument
210 out_data, out_len, in_data, in_len, &rlen) < 0) { in tlsv1_server_encrypt()
235 u8 *out_data, size_t out_len) in tlsv1_server_decrypt() argument
245 out_end = out_data + out_len; in tlsv1_server_decrypt()
431 int server_random_first, u8 *out, size_t out_len) in tlsv1_server_prf() argument
450 label, seed, 2 * TLS_RANDOM_LEN, out, out_len); in tlsv1_server_prf()
Dtlsv1_record.h66 size_t *out_len);
69 u8 *out_data, size_t *out_len, u8 *alert);
Dtlsv1_client.c141 size_t *out_len, u8 **appl_data, in tlsv1_client_handshake() argument
156 return tls_send_client_hello(conn, out_len); in tlsv1_client_handshake()
235 msg = tlsv1_client_handshake_write(conn, out_len, no_appl_data); in tlsv1_client_handshake()
246 out_len); in tlsv1_client_handshake()
249 *out_len = 0; in tlsv1_client_handshake()
275 u8 *out_data, size_t out_len) in tlsv1_client_encrypt() argument
283 out_data, out_len, in_data, in_len, &rlen) < 0) { in tlsv1_client_encrypt()
520 int server_random_first, u8 *out, size_t out_len) in tlsv1_client_prf() argument
539 label, seed, 2 * TLS_RANDOM_LEN, out, out_len); in tlsv1_client_prf()
Dtls_internal.c308 int skip_keyblock, u8 *out, size_t out_len) in tls_connection_prf() argument
318 tmp_out = os_malloc(skip + out_len); in tls_connection_prf()
327 out, out_len); in tls_connection_prf()
334 out, out_len); in tls_connection_prf()
338 os_memcpy(out, _out + skip, out_len); in tls_connection_prf()
345 const char *label, u8 *out, size_t out_len) in tls_connection_export_key() argument
347 return tls_connection_prf(tls_ctx, conn, label, 0, 0, out, out_len); in tls_connection_export_key()
Dtlsv1_server_i.h65 u8 * tlsv1_server_handshake_write(struct tlsv1_server *conn, size_t *out_len);
67 u8 description, size_t *out_len);
Dtlsv1_client_read.c943 u8 **out_data, size_t *out_len) in tls_process_application_data() argument
965 *out_len = left; in tls_process_application_data()
974 u8 **out_data, size_t *out_len) in tlsv1_client_process_handshake() argument
1038 out_len)) in tlsv1_client_process_handshake()
Dtls.h312 u8 *out, size_t out_len);
/hal_espressif-2.7.6/examples/peripherals/spi_slave_hd/segment_mode/seg_slave/main/
Dapp_main.c145 static bool get_tx_data(uint8_t *data, uint32_t max_len, uint32_t *out_len) in get_tx_data() argument
148 *out_len = (rand() % (max_len - min_len + 1)) + min_len; in get_tx_data()
149 if (*out_len < (max_len - min_len) / 2) { in get_tx_data()
150 *out_len = 0; in get_tx_data()
154 …snprintf((char *)data, *out_len, "Transaction No.%d from slave, length: %d", s_tx_data_id, *out_le… in get_tx_data()
/hal_espressif-2.7.6/components/driver/test/touch_sensor_test/
Dtouch_scope.c124 unsigned char out_len = datascope_data_generate(channel_num); // Generate n number data. in test_tp_print_to_scope() local
132 for(int i=0; i<out_len; i++) { in test_tp_print_to_scope()
135 return out_len; in test_tp_print_to_scope()
138 return uart_write_bytes(uart_num, (const char *)out_data, out_len); in test_tp_print_to_scope()
/hal_espressif-2.7.6/components/wpa_supplicant/src/crypto/
Dtls_mbedtls.c801 u8 *out, size_t out_len) in tls_connection_prf() argument
829 label, seed, 2 * TLS_RANDOM_LEN, out, out_len); in tls_connection_prf()
832 label, seed, 2 * TLS_RANDOM_LEN, out, out_len); in tls_connection_prf()
835 label, seed, 2 * TLS_RANDOM_LEN, out, out_len); in tls_connection_prf()
841 wpa_hexdump_key(MSG_MSGDUMP, "key", out, out_len); in tls_connection_prf()
847 const char *label, u8 *out, size_t out_len) in tls_connection_export_key() argument
849 return tls_connection_prf(tls_ctx, conn, label, 0, out, out_len); in tls_connection_export_key()
/hal_espressif-2.7.6/components/driver/include/driver/
Dsdio_slave.h158 esp_err_t sdio_slave_recv(sdio_slave_buf_handle_t* handle_ret, uint8_t **out_addr, size_t *out_len,…
/hal_espressif-2.7.6/components/hal/include/hal/
Dspi_slave_hd_hal.h291 …e_hd_hal_get_rx_finished_trans(spi_slave_hd_hal_context_t *hal, void **out_trans, size_t *out_len);
/hal_espressif-2.7.6/components/driver/
Dsdio_slave.c712 esp_err_t sdio_slave_recv(sdio_slave_buf_handle_t* handle_ret, uint8_t **out_addr, size_t *out_len,… in sdio_slave_recv() argument
727 if (out_len) *out_len = desc->hal_desc.length; in sdio_slave_recv()
/hal_espressif-2.7.6/components/esp_hid/src/
Dble_hidh.c63 … uint16_t conn_id, uint16_t handle, esp_gatt_auth_req_t auth_req, uint8_t **out, uint16_t *out_len) in read_char() argument
74 *out_len = s_read_data_len; in read_char()
79 … uint16_t conn_id, uint16_t handle, esp_gatt_auth_req_t auth_req, uint8_t **out, uint16_t *out_len) in read_descr() argument
90 *out_len = s_read_data_len; in read_descr()
/hal_espressif-2.7.6/components/mbedtls/port/dynamic/
Desp_mbedtls_dynamic_impl.c89 ssl->out_len = NULL; in init_tx_buffer()
98 ssl->out_len = ssl->out_buf + 11; in init_tx_buffer()
/hal_espressif-2.7.6/components/hal/
Dspi_slave_hd_hal.c282 …ve_hd_hal_get_rx_finished_trans(spi_slave_hd_hal_context_t *hal, void **out_trans, size_t *out_len) in spi_slave_hd_hal_get_rx_finished_trans() argument
290 *out_len = hal->rx_dma_head->desc.length; in spi_slave_hd_hal_get_rx_finished_trans()
/hal_espressif-2.7.6/components/driver/test/
Dtest_sdio.c343 static void get_master_send_data(int offset, uint8_t** out_start, int* out_len) in get_master_send_data() argument
350 *out_len = TX_BUFFER_SIZE - offset_in_page; in get_master_send_data()