Function silc_channel_message_payload_parse
SYNOPSIS
SilcChannelMessagePayload
silc_channel_message_payload_parse(const unsigned char *payload,
SilcUInt32 payload_len,
SilcCipher cipher,
SilcHmac hmac);
DESCRIPTION
Parses channel message payload returning new channel payload structure.
This also decrypts it and checks the MAC. The `cipher's is used to
decrypt the payload.
If the `hmac' is no provided then the MAC of the channel message is
not verified.
|