]> git.baikalelectronics.ru Git - kernel.git/commit
xfrm: Use the user specified truncation length in ESP and AH
authorMartin Willi <martin@strongswan.org>
Wed, 25 Nov 2009 00:29:53 +0000 (00:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Nov 2009 23:48:41 +0000 (15:48 -0800)
commit95ad2ef6bd747fff2e918886d82f961e3ec2abb0
treed5b81f8d1cc22d3fffbcb049c55dcc9499eb4e04
parent787675bba5e32e7666b264403b456c2a1d6bd986
xfrm: Use the user specified truncation length in ESP and AH

Instead of using the hardcoded truncation for authentication
algorithms, use the truncation length specified on xfrm_state.

Signed-off-by: Martin Willi <martin@strongswan.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ah4.c
net/ipv4/esp4.c
net/ipv6/ah6.c
net/ipv6/esp6.c