summaryrefslogtreecommitdiffstats
path: root/include/net/ah.h
diff options
context:
space:
mode:
authorSteffen Klassert <steffen.klassert@secunet.com>2009-10-08 00:47:16 +0200
committerDavid S. Miller <davem@davemloft.net>2009-10-19 06:31:58 +0200
commit49cbf952488e7fa2f1160c80016e09e6c2854b24 (patch)
treeef83643af4a84531bc09807172879e11d64a2da0 /include/net/ah.h
parentcosa: Kill off the use of the old ioctl path (diff)
downloadlinux-49cbf952488e7fa2f1160c80016e09e6c2854b24.tar.xz
linux-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>
Diffstat (limited to 'include/net/ah.h')
-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,