VCOM Linux Driver
Advantech Inc.
|
#include <openssl/ssl.h>
#include <openssl/err.h>
Go to the source code of this file.
Data Structures | |
struct | wait_event |
struct | ssl_info |
struct | ssl_pwd_data |
Macros | |
#define | SSL_SEL_PASSWORD_MAX 512 |
#define | invoke_ssl_send (1 << 0) |
#define | invoke_ssl_recv (1 << 1) |
#define | invoke_ssl_connect (1 << 2) |
#define | invoke_ssl_accept (1 << 3) |
Enumerations | |
enum | { SSL_OPS_FAIL = -1 , SSL_OPS_SELECT = -2 } |
Functions | |
ssl_info * | sslinfo_alloc (void) |
void | init_ssl_lib (void) |
SSL_CTX * | initialize_ctx (char *rootCA, char *keyfile, char *password, ssl_pwd_data *buff) |
void | destroy_ctx (SSL_CTX *ctx) |
int | __set_block (int sock) |
int | __set_nonblock (int sock) |
int | ssl_connect_direct (ssl_info *info, int *ssl_errno) |
int | ssl_send_direct (ssl_info *info, void *buf, int len, int *ssl_errno) |
int | ssl_recv_direct (ssl_info *info, void *buf, int len, int *ssl_errno) |
int | ssl_accept_direct (ssl_info *info, int *ssl_errno) |
int | ssl_connect_simple (ssl_info *info, int to_ms, int *ssl_errno) |
int | ssl_accept_simple (ssl_info *info, int to_ms, int *ssl_errno) |
int | ssl_send_simple (ssl_info *info, void *buf, int len, int to_ms, int *ssl_errno) |
int | ssl_recv_simple (ssl_info *info, void *buf, int len, int to_ms, int *ssl_errno) |
int | ssl_connect_simple_tv (ssl_info *info, struct timeval *tv, int *ssl_errno) |
int | ssl_connect_accept_tv (ssl_info *info, struct timeval *tv, int *ssl_errno) |
int | ssl_send_simple_tv (ssl_info *info, void *buf, int len, struct timeval *tv, int *ssl_errno) |
int | ssl_recv_simple_tv (ssl_info *info, void *buf, int len, struct timeval *tv, int *ssl_errno) |
int | ssl_set_fds (ssl_info *info, int maxfd, fd_set *rfds, fd_set *wfds) |
int | ssl_errno_str (ssl_info *info, int ssl_errno, char *buf, int buflen) |
int | ssl_handle_fds (ssl_info *info, fd_set *rfds, fd_set *wfds) |
#define invoke_ssl_accept (1 << 3) |
#define invoke_ssl_connect (1 << 2) |
#define invoke_ssl_recv (1 << 1) |
#define invoke_ssl_send (1 << 0) |
#define SSL_SEL_PASSWORD_MAX 512 |
int __set_block | ( | int | sock | ) |
int __set_nonblock | ( | int | sock | ) |
void destroy_ctx | ( | SSL_CTX * | ctx | ) |
void init_ssl_lib | ( | void | ) |
SSL_CTX * initialize_ctx | ( | char * | rootCA, |
char * | keyfile, | ||
char * | password, | ||
ssl_pwd_data * | buff ) |
int ssl_accept_direct | ( | ssl_info * | info, |
int * | ssl_errno ) |
int ssl_accept_simple | ( | ssl_info * | info, |
int | to_ms, | ||
int * | ssl_errno ) |
int ssl_connect_accept_tv | ( | ssl_info * | info, |
struct timeval * | tv, | ||
int * | ssl_errno ) |
int ssl_connect_direct | ( | ssl_info * | info, |
int * | ssl_errno ) |
int ssl_connect_simple | ( | ssl_info * | info, |
int | to_ms, | ||
int * | ssl_errno ) |
int ssl_connect_simple_tv | ( | ssl_info * | info, |
struct timeval * | tv, | ||
int * | ssl_errno ) |
int ssl_errno_str | ( | ssl_info * | info, |
int | ssl_errno, | ||
char * | buf, | ||
int | buflen ) |
int ssl_handle_fds | ( | ssl_info * | info, |
fd_set * | rfds, | ||
fd_set * | wfds ) |
int ssl_recv_direct | ( | ssl_info * | info, |
void * | buf, | ||
int | len, | ||
int * | ssl_errno ) |
int ssl_recv_simple | ( | ssl_info * | info, |
void * | buf, | ||
int | len, | ||
int | to_ms, | ||
int * | ssl_errno ) |
int ssl_recv_simple_tv | ( | ssl_info * | info, |
void * | buf, | ||
int | len, | ||
struct timeval * | tv, | ||
int * | ssl_errno ) |
int ssl_send_direct | ( | ssl_info * | info, |
void * | buf, | ||
int | len, | ||
int * | ssl_errno ) |
int ssl_send_simple | ( | ssl_info * | info, |
void * | buf, | ||
int | len, | ||
int | to_ms, | ||
int * | ssl_errno ) |
int ssl_send_simple_tv | ( | ssl_info * | info, |
void * | buf, | ||
int | len, | ||
struct timeval * | tv, | ||
int * | ssl_errno ) |
int ssl_set_fds | ( | ssl_info * | info, |
int | maxfd, | ||
fd_set * | rfds, | ||
fd_set * | wfds ) |
ssl_info * sslinfo_alloc | ( | void | ) |