Function silc_ske_set_keys
SYNOPSIS
SilcBool silc_ske_set_keys(SilcSKE ske,
SilcSKEKeyMaterial keymat,
SilcSKESecurityProperties prop,
SilcCipher *ret_send_key,
SilcCipher *ret_receive_key,
SilcHmac *ret_hmac_send,
SilcHmac *ret_hmac_receive,
SilcHash *ret_hash);
DESCRIPTION
This function can be used after successful key exchange to take the
key material `keymat' with security properties `prop' into use.
This will allocate send and receive ciphers, HMACs and hash for the
application. Caller must free the returned contexts. This is an
utility function.
|