aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSteffen Klassert <steffen.klassert@secunet.com>2009-10-07 18:47:16 -0400
committerDavid S. Miller <davem@davemloft.net>2009-10-19 00:31:58 -0400
commit49cbf952488e7fa2f1160c80016e09e6c2854b24 (patch)
treeef83643af4a84531bc09807172879e11d64a2da0 /include
parent2395f0e862aadf7d82d5a95cb2e8fdade8d7970d (diff)
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')
-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
14 int icv_trunc_len; 14 int icv_trunc_len;
15 15
16 struct crypto_hash *tfm; 16 struct crypto_hash *tfm;
17 struct crypto_ahash *ahash;
17}; 18};
18 19
19static inline int ah_mac_digest(struct ah_data *ahp, struct sk_buff *skb, 20static inline int ah_mac_digest(struct ah_data *ahp, struct sk_buff *skb,