summaryrefslogtreecommitdiff
path: root/include
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 /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
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,