Go to the source code of this file.
|
static u32 | openssl_ctx_alloc (void) |
|
static void | openssl_ctx_free (tls_ctx_t *ctx) |
|
tls_ctx_t * | openssl_ctx_get (u32 ctx_index) |
|
tls_ctx_t * | openssl_ctx_get_w_thread (u32 ctx_index, u8 thread_index) |
|
static u32 | openssl_listen_ctx_alloc (void) |
|
static void | openssl_listen_ctx_free (openssl_listen_ctx_t *lctx) |
|
openssl_listen_ctx_t * | openssl_lctx_get (u32 lctx_index) |
|
static int | openssl_read_from_bio_into_fifo (svm_fifo_t *f, BIO *bio, u32 enq_max) |
|
static int | openssl_read_from_ssl_into_fifo (svm_fifo_t *f, SSL *ssl) |
|
static int | openssl_write_from_fifo_into_bio (svm_fifo_t *f, BIO *bio, u32 len) |
|
static int | openssl_write_from_fifo_into_ssl (svm_fifo_t *f, SSL *ssl, u32 len) |
|
static int | openssl_try_handshake_read (openssl_ctx_t *oc, session_t *tls_session) |
|
static int | openssl_try_handshake_write (openssl_ctx_t *oc, session_t *tls_session) |
|
static void | openssl_handle_handshake_failure (tls_ctx_t *ctx) |
|
int | openssl_ctx_handshake_rx (tls_ctx_t *ctx, session_t *tls_session) |
|
static void | openssl_confirm_app_close (tls_ctx_t *ctx) |
|
static int | openssl_ctx_write (tls_ctx_t *ctx, session_t *app_session, transport_send_params_t *sp) |
|
static int | openssl_ctx_read (tls_ctx_t *ctx, session_t *tls_session) |
|
static int | openssl_ctx_init_client (tls_ctx_t *ctx) |
|
static int | openssl_start_listen (tls_ctx_t *lctx) |
|
static int | openssl_stop_listen (tls_ctx_t *lctx) |
|
static int | openssl_ctx_init_server (tls_ctx_t *ctx) |
|
static u8 | openssl_handshake_is_over (tls_ctx_t *ctx) |
|
static int | openssl_transport_close (tls_ctx_t *ctx) |
|
static int | openssl_app_close (tls_ctx_t *ctx) |
|
int | tls_init_ca_chain (void) |
|
int | tls_openssl_set_ciphers (char *ciphers) |
|
static clib_error_t * | tls_openssl_init (vlib_main_t *vm) |
|
| VLIB_PLUGIN_REGISTER () |
|
◆ MAX_CRYPTO_LEN
#define MAX_CRYPTO_LEN 64 |
◆ openssl_app_close()
static int openssl_app_close |
( |
tls_ctx_t * |
ctx | ) |
|
|
static |
◆ openssl_confirm_app_close()
static void openssl_confirm_app_close |
( |
tls_ctx_t * |
ctx | ) |
|
|
static |
◆ openssl_ctx_alloc()
static u32 openssl_ctx_alloc |
( |
void |
| ) |
|
|
static |
◆ openssl_ctx_free()
static void openssl_ctx_free |
( |
tls_ctx_t * |
ctx | ) |
|
|
static |
◆ openssl_ctx_get()
◆ openssl_ctx_get_w_thread()
tls_ctx_t* openssl_ctx_get_w_thread |
( |
u32 |
ctx_index, |
|
|
u8 |
thread_index |
|
) |
| |
◆ openssl_ctx_handshake_rx()
◆ openssl_ctx_init_client()
static int openssl_ctx_init_client |
( |
tls_ctx_t * |
ctx | ) |
|
|
static |
◆ openssl_ctx_init_server()
static int openssl_ctx_init_server |
( |
tls_ctx_t * |
ctx | ) |
|
|
static |
◆ openssl_ctx_read()
◆ openssl_ctx_write()
◆ openssl_handle_handshake_failure()
static void openssl_handle_handshake_failure |
( |
tls_ctx_t * |
ctx | ) |
|
|
static |
◆ openssl_handshake_is_over()
◆ openssl_lctx_get()
◆ openssl_listen_ctx_alloc()
static u32 openssl_listen_ctx_alloc |
( |
void |
| ) |
|
|
static |
◆ openssl_listen_ctx_free()
◆ openssl_read_from_bio_into_fifo()
static int openssl_read_from_bio_into_fifo |
( |
svm_fifo_t * |
f, |
|
|
BIO * |
bio, |
|
|
u32 |
enq_max |
|
) |
| |
|
static |
◆ openssl_read_from_ssl_into_fifo()
static int openssl_read_from_ssl_into_fifo |
( |
svm_fifo_t * |
f, |
|
|
SSL * |
ssl |
|
) |
| |
|
static |
◆ openssl_start_listen()
static int openssl_start_listen |
( |
tls_ctx_t * |
lctx | ) |
|
|
static |
◆ openssl_stop_listen()
static int openssl_stop_listen |
( |
tls_ctx_t * |
lctx | ) |
|
|
static |
◆ openssl_transport_close()
static int openssl_transport_close |
( |
tls_ctx_t * |
ctx | ) |
|
|
static |
◆ openssl_try_handshake_read()
◆ openssl_try_handshake_write()
◆ openssl_write_from_fifo_into_bio()
static int openssl_write_from_fifo_into_bio |
( |
svm_fifo_t * |
f, |
|
|
BIO * |
bio, |
|
|
u32 |
len |
|
) |
| |
|
static |
◆ openssl_write_from_fifo_into_ssl()
static int openssl_write_from_fifo_into_ssl |
( |
svm_fifo_t * |
f, |
|
|
SSL * |
ssl, |
|
|
u32 |
len |
|
) |
| |
|
static |
◆ tls_init_ca_chain()
int tls_init_ca_chain |
( |
void |
| ) |
|
◆ tls_openssl_init()
◆ tls_openssl_set_ciphers()
int tls_openssl_set_ciphers |
( |
char * |
ciphers | ) |
|
◆ VLIB_PLUGIN_REGISTER()
◆ openssl_engine
Initial value:= {
}
static int openssl_transport_close(tls_ctx_t *ctx)
static u8 openssl_handshake_is_over(tls_ctx_t *ctx)
static u32 openssl_ctx_alloc(void)
static void openssl_ctx_free(tls_ctx_t *ctx)
static int openssl_stop_listen(tls_ctx_t *lctx)
tls_ctx_t * openssl_ctx_get(u32 ctx_index)
static int openssl_ctx_init_client(tls_ctx_t *ctx)
static int openssl_app_close(tls_ctx_t *ctx)
static int openssl_ctx_read(tls_ctx_t *ctx, session_t *tls_session)
static int openssl_ctx_write(tls_ctx_t *ctx, session_t *app_session, transport_send_params_t *sp)
tls_ctx_t * openssl_ctx_get_w_thread(u32 ctx_index, u8 thread_index)
static int openssl_ctx_init_server(tls_ctx_t *ctx)
static int openssl_start_listen(tls_ctx_t *lctx)
Definition at line 847 of file tls_openssl.c.
◆ openssl_main