SILC_PACKET_PADLEN_MAX
NAME
#define SILC_PACKET_PADLEN_MAX ...
DESCRIPTION
Returns the length of the padding up to the maximum length, which
is 128 bytes. This is used by various library routines to determine
needed padding length.
SOURCE
#define SILC_PACKET_PADLEN_MAX(__packetlen, __blocklen, __padlen) \
do { \
__padlen = (SILC_PACKET_MAX_PADLEN - (__packetlen) % \
((__blocklen) ? (__blocklen) : SILC_PACKET_DEFAULT_PADLEN)); \
} while(0)
|