mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
increase AH_MAXSUMSIZE for hmac-sha2-512
Obtained from: KAME
This commit is contained in:
parent
bfcc4df579
commit
dd0495c9c3
1 changed files with 2 additions and 1 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Reference in a new issue