Function silc_ske_alloc
SYNOPSIS
SilcSKE silc_ske_alloc(SilcRng rng, void *context);
DESCRIPTION
Allocates the SKE session context and returns it. The `rng' is
the random number generator the SKE is going to use when it needs
random number generation during the SKE session. The `context' is
user context that the libary will not touch. The application can
access that context with the ske->user_context if needed. The
application is responsible of freeing the `context'. After the
SKE session context is allocated application must call the
silc_ske_set_callbacks.
|