|
oveRTOS C API
Embedded RTOS framework — build system, configuration, and portable C API
|


Go to the source code of this file.
Data Structures | |
| struct | ove_tls_config_t |
| TLS session configuration. More... | |
Functions | |
| int | ove_tls_init (ove_tls_t *tls, ove_tls_storage_t *storage) |
| Initialise a TLS session from caller-supplied storage. | |
| void | ove_tls_deinit (ove_tls_t tls) |
| De-initialise a TLS session (frees internal resources, not storage). | |
| int | ove_tls_handshake (ove_tls_t tls, ove_socket_t sock, const ove_tls_config_t *cfg) |
| Perform the TLS handshake over an established socket. | |
| int | ove_tls_send (ove_tls_t tls, const void *data, size_t len, size_t *sent) |
| Send data over an encrypted TLS session. | |
| int | ove_tls_recv (ove_tls_t tls, void *buf, size_t len, size_t *received) |
| Receive data from an encrypted TLS session. | |
| void | ove_tls_close (ove_tls_t tls) |
| Shut down the TLS session (sends close_notify). | |
| int | ove_tls_create (ove_tls_t *tls) |
| Heap-allocate and initialise a TLS session. | |
| void | ove_tls_destroy (ove_tls_t tls) |
| Destroy a heap-allocated TLS session. | |