#define SILC_PACKET_PADLEN ...
Returns the length of the padding in the packet. This is used by various library routines to determine needed padding length.
#define SILC_PACKET_PADLEN(__packetlen, __blocklen) \ SILC_PACKET_DEFAULT_PADLEN - (__packetlen) % \ ((__blocklen) ? (__blocklen) : SILC_PACKET_DEFAULT_PADLEN)