summaryrefslogtreecommitdiffstats
path: root/lib/md5.h
diff options
context:
space:
mode:
authorFritz Reichmann <fritz@reichmann.nl>2009-08-13 13:32:11 +0000
committerDavid Lamparter <equinox@diac24.net>2010-02-03 05:09:29 +0100
commitbca3bf7f714cc0c6f1a7983a2450df4d76a75207 (patch)
tree1b42eadb8b72803ac3b7371eae184835a4a0c91f /lib/md5.h
parent386b1b80a728f6d02a4de665e8ac3b3163efc0b3 (diff)
downloadquagga-bca3bf7f714cc0c6f1a7983a2450df4d76a75207.tar.bz2
quagga-bca3bf7f714cc0c6f1a7983a2450df4d76a75207.tar.xz
isisd: md5 link authentication
Implement isis circuit md5 authentication * Replace command "isis passwd" with "isis passwd {clear|md5}" * Verify HMAC MD5 on ISIS Hello PDUs * Add HMAC MD5 authentication to md5.h/md5.c from RFC2104
Diffstat (limited to 'lib/md5.h')
-rw-r--r--lib/md5.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/md5.h b/lib/md5.h
index 89b9a320..3ce83a63 100644
--- a/lib/md5.h
+++ b/lib/md5.h
@@ -82,4 +82,7 @@ do { \
md5_result((x), (y)); \
} while (0)
+/* From RFC 2104 */
+void hmac_md5(unsigned char* text, int text_len, unsigned char* key, int key_len, caddr_t digest);
+
#endif /* ! _LIBZEBRA_MD5_H_*/