The FreeRADIUS server
$Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
EAP-SIM/EAP-AKA Private crypto functions. More...
#include <sys/types.h>
#include <freeradius-devel/util/token.h>
Go to the source code of this file.
Functions | |
EVP_CIPHER_CTX * | aka_sim_crypto_cipher_ctx (void) |
Allocate and reset a resumable EVP_CIPHER_CTX for each thread. More... | |
void | aka_sim_crypto_cipher_ctx_free (void) |
Explicitly free all thread load cipher ctxs. More... | |
EAP-SIM/EAP-AKA Private crypto functions.
Definition in file crypto_priv.h.
EVP_CIPHER_CTX* aka_sim_crypto_cipher_ctx | ( | void | ) |
Allocate and reset a resumable EVP_CIPHER_CTX for each thread.
No two crypto operations ever occur simultaneously in the same thread, so it's fine to use a single context that persists for all operations.
Definition at line 70 of file crypto.c.