Function silc_ske_initiator_start
SYNOPSIS
SilcSKEStatus silc_ske_initiator_start(SilcSKE ske, SilcRng rng,
SilcSocketConnection sock,
SilcSKEStartPayload
*start_payload);
DESCRIPTION
Starts the SILC Key Exchange protocol for initiator. The connection
to the responder end must be established before calling this function
and the connecting socket must be sent as argument. This function
creates the Key Exchange Start Payload which includes all our
configured security properties. This payload is then sent to the
responder end for further processing. This payload must be sent as
argument to the function, however, it must not be encoded
already, it is done by this function. The caller must not free
the `start_payload' since the SKE library will save it.
Before calling this function application calls the
silc_ske_assemble_security_properties which returns the `start_payload'
which application must provide for this function.
After calling this function the application must wait for reply
from the responder.
|