Skip to content

Commit

Permalink
ipsec: update MAX_AH_AUTH_LEN to support sha512
Browse files Browse the repository at this point in the history
icv_truncbits is set to 256 for sha512, so update
MAX_AH_AUTH_LEN to 64.

Signed-off-by: Nicolas Dichtel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
NicolasDichtel authored and davem330 committed Jan 14, 2011
1 parent 1ac9ad1 commit 78d0736
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/net/ah.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <linux/skbuff.h>

/* This is the maximum truncated ICV length that we know of. */
#define MAX_AH_AUTH_LEN 16
#define MAX_AH_AUTH_LEN 64

struct crypto_ahash;

Expand Down

0 comments on commit 78d0736

Please sign in to comment.