WPA Supplicant / SSL/TLS interface functions for no TLS case. More...
#include "includes.h"
#include "common.h"
#include "tls.h"
Go to the source code of this file.
Functions | |
void * | tls_init (const struct tls_config *conf) |
Initialize TLS library. | |
void | tls_deinit (void *ssl_ctx) |
Deinitialize TLS library. |
WPA Supplicant / SSL/TLS interface functions for no TLS case.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.
Alternatively, this software may be distributed under the terms of BSD license.
See README and COPYING for more details.
Definition in file tls_none.c.
void tls_deinit | ( | void * | tls_ctx | ) |
Deinitialize TLS library.
tls_ctx | TLS context data from tls_init() |
Called once during program shutdown and once for each RSN pre-authentication session. If global library deinitialization is needed (i.e., one that is shared between both authentication types), the TLS library wrapper should maintain a reference counter and do global deinitialization only when moving from 1 to 0 references.
Definition at line 26 of file tls_none.c.
void* tls_init | ( | const struct tls_config * | conf | ) |
Initialize TLS library.
conf | Configuration data for TLS library |
Called once during program startup and once for each RSN pre-authentication session. In other words, there can be two concurrent TLS contexts. If global library initialization is needed (i.e., one that is shared between both authentication types), the TLS library wrapper should maintain a reference counter and do global initialization only when moving from 0 to 1 reference.
Definition at line 21 of file tls_none.c.