netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] xfrm: Custom truncation lengths for authentication algorithms
@ 2009-11-25 10:29 Martin Willi
  2009-11-25 10:29 ` [PATCH 1/3] xfrm: Define new XFRM netlink auth attribute with specified truncation bits Martin Willi
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Martin Willi @ 2009-11-25 10:29 UTC (permalink / raw)
  To: Herbert Xu; +Cc: linux-crypto, netdev

The following patchset adds support for defining truncation lengths
for authentication algorithms in userspace. The main purpose for this
is to support SHA256 in IPsec using the standardized 128 bit
instead of the currently used 96 bit truncation.

Martin Willi (3):
  xfrm: Define new XFRM netlink auth attribute with specified
    truncation bits
  xfrm: Store aalg in xfrm_state with a user specified truncation
    length
  xfrm: Use the user specified truncation length in ESP and AH

 include/linux/xfrm.h  |    8 +++
 include/net/xfrm.h    |   12 ++++-
 net/ipv4/ah4.c        |    2 +-
 net/ipv4/esp4.c       |    2 +-
 net/ipv6/ah6.c        |    2 +-
 net/ipv6/esp6.c       |    2 +-
 net/xfrm/xfrm_state.c |    2 +-
 net/xfrm/xfrm_user.c  |  129 ++++++++++++++++++++++++++++++++++++++++++++++---
 8 files changed, 145 insertions(+), 14 deletions(-)


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-11-25 23:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-25 10:29 [PATCH 0/3] xfrm: Custom truncation lengths for authentication algorithms Martin Willi
2009-11-25 10:29 ` [PATCH 1/3] xfrm: Define new XFRM netlink auth attribute with specified truncation bits Martin Willi
2009-11-25 10:29 ` [PATCH 2/3] xfrm: Store aalg in xfrm_state with a user specified truncation length Martin Willi
2009-11-25 10:29 ` [PATCH 3/3] xfrm: Use the user specified truncation length in ESP and AH Martin Willi
2009-11-25 12:10 ` [PATCH 0/3] xfrm: Custom truncation lengths for authentication algorithms Herbert Xu
2009-11-25 23:48 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).