Go to the source code of this file.
|
static u32 | mbedtls_ctx_alloc (void) |
|
static void | mbedtls_ctx_free (tls_ctx_t *ctx) |
|
static tls_ctx_t * | mbedtls_ctx_get (u32 ctx_index) |
|
static tls_ctx_t * | mbedtls_ctx_get_w_thread (u32 ctx_index, u8 thread_index) |
|
static int | tls_init_ctr_seed_drbgs (void) |
|
mbedtls_ctr_drbg_context * | tls_get_ctr_drbg () |
|
static int | tls_net_send (void *ctx_indexp, const unsigned char *buf, size_t len) |
|
static int | tls_net_recv (void *ctx_indexp, unsigned char *buf, size_t len) |
|
static void | mbedtls_debug (void *ctx, int level, const char *file, int line, const char *str) |
|
static int | mbedtls_ctx_init_client (tls_ctx_t *ctx) |
|
static int | mbedtls_start_listen (tls_ctx_t *lctx) |
|
static int | mbedtls_stop_listen (tls_ctx_t *lctx) |
|
static int | mbedtls_ctx_init_server (tls_ctx_t *ctx) |
|
static int | mbedtls_ctx_handshake_rx (tls_ctx_t *ctx) |
|
static int | mbedtls_ctx_write (tls_ctx_t *ctx, session_t *app_session) |
|
static int | mbedtls_ctx_read (tls_ctx_t *ctx, session_t *tls_session) |
|
static u8 | mbedtls_handshake_is_over (tls_ctx_t *ctx) |
|
static int | mbedtls_transport_close (tls_ctx_t *ctx) |
|
static int | mbedtls_app_close (tls_ctx_t *ctx) |
|
int | tls_init_mem (void) |
|
static int | tls_init_ctr_drbgs_and_entropy (u32 num_threads) |
|
int | tls_init_ca_chain (void) |
|
static clib_error_t * | tls_mbedtls_init (vlib_main_t *vm) |
|
| VLIB_PLUGIN_REGISTER () |
|
◆ TLS_USE_OUR_MEM_FUNCS
#define TLS_USE_OUR_MEM_FUNCS 0 |
◆ mbedtls_ctx_t
◆ mbedtls_main_t
◆ mbedtls_app_close()
static int mbedtls_app_close |
( |
tls_ctx_t * |
ctx | ) |
|
|
static |
◆ mbedtls_ctx_alloc()
static u32 mbedtls_ctx_alloc |
( |
void |
| ) |
|
|
static |
◆ mbedtls_ctx_free()
static void mbedtls_ctx_free |
( |
tls_ctx_t * |
ctx | ) |
|
|
static |
◆ mbedtls_ctx_get()
◆ mbedtls_ctx_get_w_thread()
static tls_ctx_t* mbedtls_ctx_get_w_thread |
( |
u32 |
ctx_index, |
|
|
u8 |
thread_index |
|
) |
| |
|
static |
◆ mbedtls_ctx_handshake_rx()
static int mbedtls_ctx_handshake_rx |
( |
tls_ctx_t * |
ctx | ) |
|
|
static |
◆ mbedtls_ctx_init_client()
static int mbedtls_ctx_init_client |
( |
tls_ctx_t * |
ctx | ) |
|
|
static |
◆ mbedtls_ctx_init_server()
static int mbedtls_ctx_init_server |
( |
tls_ctx_t * |
ctx | ) |
|
|
static |
◆ mbedtls_ctx_read()
◆ mbedtls_ctx_write()
◆ mbedtls_debug()
static void mbedtls_debug |
( |
void * |
ctx, |
|
|
int |
level, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
str |
|
) |
| |
|
static |
◆ mbedtls_handshake_is_over()
◆ mbedtls_start_listen()
static int mbedtls_start_listen |
( |
tls_ctx_t * |
lctx | ) |
|
|
static |
◆ mbedtls_stop_listen()
static int mbedtls_stop_listen |
( |
tls_ctx_t * |
lctx | ) |
|
|
static |
◆ mbedtls_transport_close()
static int mbedtls_transport_close |
( |
tls_ctx_t * |
ctx | ) |
|
|
static |
◆ tls_get_ctr_drbg()
mbedtls_ctr_drbg_context* tls_get_ctr_drbg |
( |
| ) |
|
◆ tls_init_ca_chain()
int tls_init_ca_chain |
( |
void |
| ) |
|
◆ tls_init_ctr_drbgs_and_entropy()
static int tls_init_ctr_drbgs_and_entropy |
( |
u32 |
num_threads | ) |
|
|
static |
◆ tls_init_ctr_seed_drbgs()
static int tls_init_ctr_seed_drbgs |
( |
void |
| ) |
|
|
static |
◆ tls_init_mem()
int tls_init_mem |
( |
void |
| ) |
|
◆ tls_mbedtls_init()
◆ tls_net_recv()
static int tls_net_recv |
( |
void * |
ctx_indexp, |
|
|
unsigned char * |
buf, |
|
|
size_t |
len |
|
) |
| |
|
static |
◆ tls_net_send()
static int tls_net_send |
( |
void * |
ctx_indexp, |
|
|
const unsigned char * |
buf, |
|
|
size_t |
len |
|
) |
| |
|
static |
◆ VLIB_PLUGIN_REGISTER()
◆ mbedtls_engine
Initial value:= {
}
static void mbedtls_ctx_free(tls_ctx_t *ctx)
static u32 mbedtls_ctx_alloc(void)
static tls_ctx_t * mbedtls_ctx_get_w_thread(u32 ctx_index, u8 thread_index)
static u8 mbedtls_handshake_is_over(tls_ctx_t *ctx)
static int mbedtls_transport_close(tls_ctx_t *ctx)
static int mbedtls_start_listen(tls_ctx_t *lctx)
static int mbedtls_ctx_write(tls_ctx_t *ctx, session_t *app_session)
static int mbedtls_ctx_init_client(tls_ctx_t *ctx)
static int mbedtls_ctx_read(tls_ctx_t *ctx, session_t *tls_session)
static int mbedtls_app_close(tls_ctx_t *ctx)
static int mbedtls_ctx_init_server(tls_ctx_t *ctx)
static int mbedtls_stop_listen(tls_ctx_t *lctx)
static tls_ctx_t * mbedtls_ctx_get(u32 ctx_index)
Definition at line 559 of file tls_mbedtls.c.
◆ mbedtls_main