[IPSEC]: Use HMAC template and hash interface
authorHerbert Xu <herbert@gondor.apana.org.au>
Sun, 20 Aug 2006 04:24:50 +0000 (14:24 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 21 Sep 2006 01:46:18 +0000 (11:46 +1000)
commit07d4ee583e21830ec5604d31f65cdc60a6eca19e
tree32962ef0dd13d0d1f66b143ca5d03a88d8b9f772
parente9d41164e2fdd897fe4520c2079ea0000f6e0ec3
[IPSEC]: Use HMAC template and hash interface

This patch converts IPsec to use the new HMAC template.  The names of
existing simple digest algorithms may still be used to refer to their
HMAC composites.

The same structure can be used by other MACs such as AES-XCBC-MAC.

This patch also switches from the digest interface to hash.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ah.h
include/net/esp.h
include/net/xfrm.h
net/ipv4/ah4.c
net/ipv4/esp4.c
net/ipv6/ah6.c
net/ipv6/esp6.c
net/xfrm/xfrm_algo.c