summaryrefslogtreecommitdiff
path: root/lib/md5.h
diff options
context:
space:
mode:
authorFritz Reichmann <fritz@reichmann.nl>2011-10-01 17:49:48 +0400
committerDenis Ovsienko <infrastation@yandex.ru>2012-02-14 03:06:36 +0400
commite6b03b77766dce8009ad7b4a2392e14addf4ab0f (patch)
treea47466541c8f85e70b228ae4ab3da31af3391507 /lib/md5.h
parentc25eaffdb2190149e768dc4ee4efc913c6d02992 (diff)
isisd: implement MD5 circuit 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_*/