aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Klassert <steffen.klassert@secunet.com>2009-10-07 22:47:16 +0000
committerDavid S. Miller <davem@davemloft.net>2009-10-18 21:31:58 -0700
commit49cbf952488e7fa2f1160c80016e09e6c2854b24 (patch)
treeef83643af4a84531bc09807172879e11d64a2da0
parentcosa: Kill off the use of the old ioctl path (diff)
downloadlinux-dev-49cbf952488e7fa2f1160c80016e09e6c2854b24.tar.xz
linux-dev-49cbf952488e7fa2f1160c80016e09e6c2854b24.zip
ah: Add struct crypto_ahash to ah_data
To support for ahash algorithms, we add a pointer to a crypto_ahash to ah_data. Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--include/net/ah.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/ah.h b/include/net/ah.h
index ae1c322f4242..7ac52214ba0f 100644
--- a/include/net/ah.h
+++ b/include/net/ah.h
@@ -14,6 +14,7 @@ struct ah_data
int icv_trunc_len;
struct crypto_hash *tfm;
+ struct crypto_ahash *ahash;
};
static inline int ah_mac_digest(struct ah_data *ahp, struct sk_buff *skb,