MACs
NAME
MAC Algorithms
DESCRIPTION
Supported MAC algorithm names. These names can be given as argument to silc_mac_alloc.
SOURCE
/* HMAC with SHA-256, MAC truncated to 96 bits */ #define SILC_MAC_HMAC_SHA256_96 "hmac-sha256-96" /* HMAC with SHA-512, MAC truncated to 96 bits */ #define SILC_MAC_HMAC_SHA512_96 "hmac-sha512-96" /* HMAC with SHA-1, MAC truncated to 96 bits */ #define SILC_MAC_HMAC_SHA1_96 "hmac-sha1-96" /* HMAC with MD5, MAC truncated to 96 bits */ #define SILC_MAC_HMAC_MD5_96 "hmac-md5-96" /* HMAC with SHA-256 */ #define SILC_MAC_HMAC_SHA256 "hmac-sha256" /* HMAC with SHA-512 */ #define SILC_MAC_HMAC_SHA512 "hmac-sha512" /* HMAC with SHA-1 */ #define SILC_MAC_HMAC_SHA1 "hmac-sha1" /* HMAC with MD5 */ #define SILC_MAC_HMAC_MD5 "hmac-md5"