Home
last modified time | relevance | path

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

/hal_espressif-latest/components/mbedtls/port/dynamic/
Desp_mbedtls_dynamic_impl.c145 struct esp_mbedtls_ssl_buf *esp_buf; in esp_mbedtls_alloc_tx_buf() local
152 esp_buf = mbedtls_calloc(1, SSL_BUF_HEAD_OFFSET_SIZE + len); in esp_mbedtls_alloc_tx_buf()
153 if (!esp_buf) { in esp_mbedtls_alloc_tx_buf()
158 ESP_LOGV(TAG, "add out buffer %d bytes @ %p", len, esp_buf->buf); in esp_mbedtls_alloc_tx_buf()
160 esp_mbedtls_init_ssl_buf(esp_buf, len); in esp_mbedtls_alloc_tx_buf()
168 init_tx_buffer(ssl, esp_buf->buf); in esp_mbedtls_alloc_tx_buf()
206 struct esp_mbedtls_ssl_buf *esp_buf; in esp_mbedtls_reset_add_rx_buffer() local
213 esp_buf = mbedtls_calloc(1, SSL_BUF_HEAD_OFFSET_SIZE + MBEDTLS_SSL_IN_BUFFER_LEN); in esp_mbedtls_reset_add_rx_buffer()
214 if (!esp_buf) { in esp_mbedtls_reset_add_rx_buffer()
219 ESP_LOGV(TAG, "add in buffer %d bytes @ %p", MBEDTLS_SSL_IN_BUFFER_LEN, esp_buf->buf); in esp_mbedtls_reset_add_rx_buffer()
[all …]