|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Forward declaration of the pool slot type. More...
#include <ra8_tls.h>
Data Fields | |
| ra8_tls_session_cfg_t | cfg |
| Cached caller configuration. | |
| bool | in_use |
| Slot allocated. | |
| mbedtls_ssl_context | ssl |
| Mbed TLS SSL context. | |
| mbedtls_ssl_config | config |
| Mbed TLS SSL configuration block. | |
| mbedtls_x509_crt | ca |
| Parsed trust anchor (if cfg.ca_pem). | |
Forward declaration of the pool slot type.
Concrete pool slot backing one ra8_tls_session_t.
Defined inside ra8_tls.c; callers only ever see the typed pointer. The pool entry holds the mbedtls_ssl_context, mbedtls_ssl_config and BIO bookkeeping for a single session.
One slot per concurrent session. in_use doubles as the bitmap bit; the array index is the slot index [0, k_ra8_tls_max_sessions).
| mbedtls_x509_crt ra8_tls_session_handle::ca |
Parsed trust anchor (if cfg.ca_pem).
Endif.
Definition at line 87 of file ra8_tls.c.
Referenced by internal_apply_verify_cfg(), internal_pool_reset(), internal_session_mbedtls_setup(), and ra8_tls_session_close().
| ra8_tls_session_cfg_t ra8_tls_session_handle::cfg |
Cached caller configuration.
Definition at line 82 of file ra8_tls.c.
Referenced by internal_apply_verify_cfg(), internal_session_mbedtls_setup(), internal_session_validate_args(), ra8_tls_handshake(), ra8_tls_recv(), ra8_tls_send(), and ra8_tls_session_open().
| mbedtls_ssl_config ra8_tls_session_handle::config |
Mbed TLS SSL configuration block.
Definition at line 86 of file ra8_tls.c.
Referenced by internal_apply_verify_cfg(), internal_pool_reset(), internal_session_mbedtls_setup(), and ra8_tls_session_close().
| bool ra8_tls_session_handle::in_use |
Slot allocated.
Definition at line 83 of file ra8_tls.c.
Referenced by internal_handle_valid(), internal_pool_acquire(), internal_pool_reset(), and ra8_tls_session_open().
| mbedtls_ssl_context ra8_tls_session_handle::ssl |
Mbed TLS SSL context.
Definition at line 85 of file ra8_tls.c.
Referenced by internal_pool_reset(), internal_session_mbedtls_setup(), ra8_tls_get_cipher_suite(), ra8_tls_get_verify_result(), ra8_tls_handshake(), ra8_tls_recv(), ra8_tls_send(), and ra8_tls_session_close().