aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet6
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2003-11-15 06:02:09 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2003-11-15 06:02:09 +0000
commitdd0495c9c30d7ec60a90a7e7c7e680ed661fe554 (patch)
tree1870116a05d4e4cdf57714c2c66b416836e485bf /sys/netinet6
parentbfcc4df579a7f627c60229969add3fad7fef6e35 (diff)
downloadsrc-dd0495c9c30d7ec60a90a7e7c7e680ed661fe554.tar.gz
src-dd0495c9c30d7ec60a90a7e7c7e680ed661fe554.zip
increase AH_MAXSUMSIZE for hmac-sha2-512
Obtained from: KAME
Notes
Notes: svn path=/head/; revision=122740
Diffstat (limited to 'sys/netinet6')
-rw-r--r--sys/netinet6/ah.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet6/ah.h b/sys/netinet6/ah.h
index 24cca8dcaa4e..fcca11b4cb75 100644
--- a/sys/netinet6/ah.h
+++ b/sys/netinet6/ah.h
@@ -1,5 +1,5 @@
/* $FreeBSD$ */
-/* $KAME: ah.h,v 1.16 2001/09/04 08:43:19 itojun Exp $ */
+/* $KAME: ah.h,v 1.20 2003/08/05 12:21:15 itojun Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -77,6 +77,7 @@ struct ah_algorithm {
void (*result) __P((struct ah_algorithm_state *, u_int8_t *, size_t));
};
+#define AH_MAXSUMSIZE (512 / 8)
#define AH_MAXSUMSIZE 16
extern const struct ah_algorithm *ah_algorithm_lookup __P((int));