]> git.baikalelectronics.ru Git - kernel.git/commit
xfrm: Define new XFRM netlink auth attribute with specified truncation bits
authorMartin Willi <martin@strongswan.org>
Wed, 25 Nov 2009 00:29:51 +0000 (00:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Nov 2009 23:48:37 +0000 (15:48 -0800)
commitef551d034a69497fe06bc04dfb3f73e00290c99c
tree9dbfba661b5a5466da155f6f25fc9c30513e801b
parent8b7c87097f7e0d223c37d0c9f34d4f910921c4a0
xfrm: Define new XFRM netlink auth attribute with specified truncation bits

The new XFRMA_ALG_AUTH_TRUNC attribute taking a xfrm_algo_auth as
argument allows the installation of authentication algorithms with
a truncation length specified in userspace, i.e. SHA256 with 128 bit
instead of 96 bit truncation.

Signed-off-by: Martin Willi <martin@strongswan.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/xfrm.h